-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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: #2470 Use mirror to download dependencies if applicable #2617
Conversation
@jycr wouldn't this change aloubyansky@e5a1bac be enough? |
I think there still little problems with your proposal:
|
I hope It is not too late for this PR for 0.16.0 release ? |
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.
No, it's not too late. I've added a few remarks, could you please address those? Please avoid lambdas when they are not necessary. Thanks!
...otstrap/core/src/main/java/io/quarkus/bootstrap/resolver/maven/ProxyAwareMirrorSelector.java
Outdated
Show resolved
Hide resolved
...otstrap/core/src/main/java/io/quarkus/bootstrap/resolver/maven/ProxyAwareMirrorSelector.java
Outdated
Show resolved
Hide resolved
...otstrap/core/src/main/java/io/quarkus/bootstrap/resolver/maven/ProxyAwareMirrorSelector.java
Outdated
Show resolved
Hide resolved
...s/bootstrap/core/src/main/java/io/quarkus/bootstrap/resolver/maven/MavenRepoInitializer.java
Outdated
Show resolved
Hide resolved
I have simplified implementation and move proxy setup (and NULL_PROXY_SELECTOR) into ProxyAwareMirrorSelector (see: jycr@a7c7d079801d935439e540d0ad06d2a2dd83e50a) |
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.
A few minor remarks. Thanks a lot, @jycr !
...s/bootstrap/core/src/main/java/io/quarkus/bootstrap/resolver/maven/MavenRepoInitializer.java
Outdated
Show resolved
Hide resolved
...otstrap/core/src/test/java/io/quarkus/bootstrap/resolver/maven/MavenRepoInitializerTest.java
Outdated
Show resolved
Hide resolved
...otstrap/core/src/test/java/io/quarkus/bootstrap/resolver/maven/MavenRepoInitializerTest.java
Outdated
Show resolved
Hide resolved
...otstrap/core/src/test/java/io/quarkus/bootstrap/resolver/maven/MavenRepoInitializerTest.java
Outdated
Show resolved
Hide resolved
...otstrap/core/src/test/java/io/quarkus/bootstrap/resolver/maven/MavenRepoInitializerTest.java
Outdated
Show resolved
Hide resolved
@aloubyansky I let you drive this one home before the release? Thanks! |
Ok, given that we don't have time, let's merge it and I'll follow up with adjustments. |
@aloubyansky we have time. See my email on the list. I'll release tomorrow or Friday. |
Yes, just saw it. Ok. I'll wait a bit for @jycr to respond. |
@aloubyansky : I do not see what remains to be done. |
Oh, you've already pushed! Sorry, I missed it. Merging... Thanks! |
well, waiting for the CI first |
The CI has just finished 🙂 |
fix: #2470 Use mirror to download dependencies if applicable.
And ensure that proxy config is setup if needed