-
Notifications
You must be signed in to change notification settings - Fork 853
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
Upgrading Apache Ant, Commons Compress, Commons IO and Maven, FlexMark and Guava #6480
Conversation
great job! Are you using scripts/tooling for this or was this manual work?
|
Agreed. And we should also keep an eye open for 3.9.5, which seems to have been delayed but still might be available before freeze. |
The approach to update commons-io looks sane to me. It seems cleaner than the alternative suggestion in #3794, where I overlooked, that supporting "-" in the module name would need further work. A test build seems to work ok (build maven project, modified maven dependencies, used update version hint in pom). I see sometimes flaky behavior in this area, but that is not tied to this change. The change was tested together with the JDOM update in #6478. The change to the binaries-list:
seems ok. But has drawbacks. For maven central the CDN backing it is pretty good in my experience. We need to see how stable the netbeans archive server is. |
c4da5b2
to
6382d54
Compare
Might be worth double checking this with infra@ before making this change. I wish there were proper permalink support for releases that didn't bypass the release CDN. Mind you, searching "archive.apache.org" across ASF repos shows a bunch of use. |
The thing to note is that this is not really replacing references to maven central with an URL to the Apache archives. If it would be that case, I would not do it. The actual real change and motivation is to change the URL to our "legacy" server:
to the Apache archives. Note the ant-misc-1.10.8.zip is downloaded from: |
100% agree with this - I noticed that file was off of osuosl, and I do think we need to migrate. It's a shame that the full zip distribution isn't on Maven Central. btw - I'm not saying don't do this, just be aware of the restrictions on use of archive.a.o - with caching should hopefully not be an issue. |
@lahodaj sorry for the noise, I overlooked the non maven central reference. With that in mind, it is indeed undoubfully an improvement. |
just as sidenote: the dependencies are all in the cache and CI is set up to build only in one primary job, the secondary jobs do hopefully not a lot of building (there are exceptions). So I hope the load on the apache server from our side should be minimal. Although we do have #4206 which we should probably merge. |
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.
changes look good to me
manually tested maven:
- local/remote index scan/download
- output window behavior with
mvn
andmvnd
- SMO and some queries
- checked log
@lkishalmi since you wrote the markup preview feature, could you check flexmark? PR has a devbuild.
@matthiasblaesing can we merge this? Maven 3.9.5 is released and I have an update prepared locally. |
actually. going to merge now. Lets get some PRs in. Thanks for updating the libs @lahodaj! |
Upgrading a handful of libraries to new versions:
Notes:
ant-misc.zip
to the NB dependency server, but I don't quite see the need to do that anymore. We can just download the full binary distribution, from Apache servers, no?org.apache.commons.commons-io
- note the-
. The NetBeans module system dislikes dashes in the module names. Every OSGi bundle with a dash in the name I was able to find inside NB is actually using a module wrapper, and has the dash replaced with an underscore. Which I think is a convention understood by the NB-OSGi bridge. So, I've changes theplatform/o.apache.commons.io
toplatform/o.apache.commons.commons_io
, and made that a NetBeans module wrapper. I believe the NB-OSGi bridge works in both directions, so this might work, hopefully.failureaccess
(which is a separate jar, but conceptually part of Guava, AFAIK), so adding that as well.Please let me know what you think.
Thanks!
^Add meaningful description above
By opening a pull request you confirm that, unless explicitly stated otherwise, the changes -
Please make sure (eg.
git log
) that all commits have a valid name and email address for you in the Author field.If you're a first time contributor, see the Contributing guidelines for more information.
If you're a committer, please label the PR before pressing "Create pull request" so that the right test jobs can run.