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
fix(datasource): trim trailing slash in registry url #11392
Conversation
Most datasources are already handling trailing slashes, so after this pr we should refactor them, so we know we don't have any trailing slash |
Questions, not suggestions: Why strip trailing slash and not enforce? Why manual URL construction using string templates instead of URL.join type of joining? |
🤷♂️ Looks cleaner to me when joining via strings, but we can also enforce them if you prefer.
|
Looks like url-join would do right things here too. |
I'm ok with trimming the slash. Less chance we have duped cache entries. Would prefer we didn't do raw URL concatenation ourselves, or at least centralised it |
Ok, will Push the changes later |
Any change this gets merged any-time soon? Thank you |
@aslafy-z have you been able to run and verify this branch locally? |
|
@rarkins I've run this on some different repos and didn't found any issue. So i'm 95% sure it's save to merge |
🎉 This PR is included in version 26.13.6 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes:
gitlab-tags
datasourcerepology
datasourceContext:
closes #11254
Documentation (please check one with an [x])
How I've tested my work (please tick one)
I have verified these changes via: