Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inverse of Source.translate_url for more user friendly bst source track #1967

Open
sam-leonard-ct opened this issue Nov 7, 2024 · 0 comments

Comments

@sam-leonard-ct
Copy link

While using the cargo2 plugin to track a git dependency I came across an issue where I had to manually fix the tracked Cargo.lock contents to change the URLs to aliased ones.
IMO having a method that takes an unaliased URL and returns one aliased with the most specific alias from project.conf would be incredibly helpful for implementing something like this as currently it is not possible to implement this without accessing private parts of the Source class from a plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant