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

feat(nuget): allow detecting source URLs via package contents #28071

Merged
merged 14 commits into from
Apr 20, 2024

Conversation

fgreinacher
Copy link
Contributor

@fgreinacher fgreinacher commented Mar 21, 2024

Changes

Adapts the NuGet datasource to determine package source URLs from the nupkg file in cases where the API does not provide the PackageBaseAddress resource

Context

#28041

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

⚒️ with ❤️ by Siemens

@fgreinacher fgreinacher force-pushed the feat/nuget-source-urls branch 2 times, most recently from 1bb8271 to cda4fb5 Compare March 21, 2024 15:50
@fgreinacher
Copy link
Contributor Author

fgreinacher commented Mar 21, 2024

Do you have a preference whether this should be controlled via a proper configuration option or an experimental env var?

@fgreinacher
Copy link
Contributor Author

@rarkins @viceice I have some questions, would be great if you could quickly share your opinions before I continue here 🙇

lib/modules/datasource/nuget/v3.ts Outdated Show resolved Hide resolved
lib/modules/datasource/nuget/v3.ts Outdated Show resolved Hide resolved
lib/modules/datasource/nuget/v3.ts Outdated Show resolved Hide resolved
@fgreinacher fgreinacher force-pushed the feat/nuget-source-urls branch 2 times, most recently from 4b0a1c8 to 95d6c25 Compare March 22, 2024 10:46
@fgreinacher
Copy link
Contributor Author

OK, this is now ready for review. I have verified it with our internal Artifactory and also also using my public test Artifactory: https://github.com/fgreinacher/renovate-artifactory-source-url-fixed/pulls

@fgreinacher fgreinacher marked this pull request as ready for review March 22, 2024 10:47
docs/usage/self-hosted-experimental.md Outdated Show resolved Hide resolved
lib/modules/datasource/nuget/v3.ts Outdated Show resolved Hide resolved
lib/modules/datasource/nuget/v3.ts Outdated Show resolved Hide resolved
lib/modules/datasource/nuget/v3.ts Outdated Show resolved Hide resolved
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM

lib/modules/datasource/nuget/index.spec.ts Outdated Show resolved Hide resolved
lib/modules/datasource/nuget/index.spec.ts Show resolved Hide resolved
lib/modules/datasource/nuget/v3.ts Outdated Show resolved Hide resolved
@fgreinacher fgreinacher requested a review from viceice April 2, 2024 05:03
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see comment

lib/modules/datasource/nuget/v3.ts Show resolved Hide resolved
@fgreinacher fgreinacher requested a review from viceice April 2, 2024 08:17
viceice
viceice previously approved these changes Apr 2, 2024
fgreinacher

This comment was marked as off-topic.

@rarkins rarkins added this pull request to the merge queue Apr 20, 2024
Merged via the queue into renovatebot:main with commit a94466c Apr 20, 2024
35 checks passed
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 37.311.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@fgreinacher fgreinacher deleted the feat/nuget-source-urls branch April 20, 2024 09:44
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants