Open
Description
This issue tracks the exploration of three options to prevent incorrect URLs from slipping into configuration files like setup.cfg:
- Static analysis or linting to check for valid URLs.
- CI validation to verify the correctness of URLs.
- Centralized configuration using the remote URL from Git's fetch configuration.
Considerations:
- Define the valid URL as the remote URL from the git fetch configuration.
- Explore the use of Git attributes (e.g.,
$ID$ ) to reference the correct URL in configuration files. - Investigate the use of a Git hook to replace tokens in configuration files with the correct URL.
- Check the compatibility of non-HTTP schemas in setup.cfg and other configuration files.
Related PR: #71
Related comment: #71 (comment)