8300997: Add curl support to createJMHBundle.sh#12164
8300997: Add curl support to createJMHBundle.sh#12164eirbjo wants to merge 3 commits intoopenjdk:masterfrom
Conversation
Add support for fetching JMH dependencies using curl instead of wget. This allows the script to run on MacOS without installing wget.
|
👋 Welcome back eirbjo! A progress list of the required criteria for merging this PR into |
|
@eirbjo This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be: You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 21 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@erikj79) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
|
/integrate |
|
@erikj79 Thanks for your review and help with the JBS, much appreciated! Will you also be willing to sponsor? |
|
/sponsor |
|
Going to push as commit 61775c8.
Your commit was automatically rebased without conflicts. |
Please review this PR which updates make/devkit/createJMHBundle.sh to add support for curl instead of wget when downloading JMH dependencies.
This would reduce friction for MacOS devs who would like to run micros without installing wget first.
File download is extracted to a function taking the Maven directory, artifactId and version as input. The function builds the correct download URL and checks which of curl / wget is available.
Tested on MacOS 12.6.2 and Ubuntu 20.
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/12164/head:pull/12164$ git checkout pull/12164Update a local copy of the PR:
$ git checkout pull/12164$ git pull https://git.openjdk.org/jdk pull/12164/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 12164View PR using the GUI difftool:
$ git pr show -t 12164Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/12164.diff