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

fix: Respect custom repositories when checking transitive deps #232

Merged
merged 1 commit into from
Aug 12, 2023

Conversation

marcobiscaro2112
Copy link
Contributor

Previously we were hardcoding the standard maven repositories when checking for outdated transitive dependencies, which means that it didn't work in projects that use custom maven repositories.

This change preserves the original repositories from the project when checking for transitive dependencies. We fallback to standard repositories (Maven Central and Clojars) if the project doesn't specify any repositories.

Fixes #230.

Previously we were hardcoding the standard maven repositories when
checking for outdated transitive dependencies, which means that it
didn't work in projects that use custom maven repositories.

This change preserves the original repositories from the project
when checking for transitive dependencies. We fallback to standard
repositories (Maven Central and Clojars) if the project doesn't
specify any repositories.

Fixes liquidz#230.
Copy link
Owner

@liquidz liquidz left a comment

Choose a reason for hiding this comment

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

@marcobiscaro2112 Thank you for your contribution!
Great work. This PR looks good to me :)

@liquidz liquidz merged commit 361c88c into liquidz:main Aug 12, 2023
1 check passed
@marcobiscaro2112 marcobiscaro2112 deleted the mb/transitive-custom-repo branch August 14, 2023 22:18
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

Successfully merging this pull request may close these issues.

Transitive check doesn't support custom repositories
2 participants