-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(go): support self hosted go modules in gitlab #8876
feat(go): support self hosted go modules in gitlab #8876
Conversation
@davidgwcurve Your latest commit includes changes to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert package json changes
af37999
to
457d127
Compare
@@ -216,19 +254,19 @@ describe('datasource/go', () => { | |||
httpMock | |||
.scope('https://some.unknown.website/') | |||
.get('/example/module?go-get=1') | |||
.reply(404); | |||
.reply(200); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is a test that checks for a 404 returned from the specified URL already, this test should actually be checking that the call was successful but the code doesn't know how to handle the dependency (i.e. not github/gitlab.com/not a gitlab hostRules)
@rarkins I've added unit tests now and ran on our own repository, it works as expected. |
🎉 This PR is included in version 24.70.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes:
Fixes issue #8859, #8859.
Also fixes the same logic in the changelog functionality, as after this issue was resolved I got 404's.
Context:
Closes #8859
Documentation (please check one with an [x])
How I've tested my work (please tick one)
I have verified these changes via: