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

CODETOOLS-7903567: JMH: Improve README guidance for archetype bootstrap #123

Closed
wants to merge 3 commits into from

Conversation

abyrne133
Copy link
Contributor

@abyrne133 abyrne133 commented Sep 30, 2023

Attempting to execute the "mvn archetype:generate" command specified in Step 1 of Preferred Usage in the README will result in a maven execution error if you interpret it like I did! In my case I naively interpreted the following text to mean that I could create a sub project within the test folder of my already existing java project. "test" is the default test folder!

_

"Step 1. Setting up the benchmarking project. The following command will generate the new JMH-driven project in test folder:"

_

This resulted in 10-15 minutes of trying to figure out if I needed to install something new to use mvn archetype - as I have not used it before.

This change might make it easier for users to get set up with JMH project templates.


Progress

  • Change must not contain extraneous whitespace
  • Change must be properly reviewed (1 review required, with at least 1 Committer)

Issue

  • CODETOOLS-7903567: JMH: Improve README guidance for archetype bootstrap (Enhancement - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jmh.git pull/123/head:pull/123
$ git checkout pull/123

Update a local copy of the PR:
$ git checkout pull/123
$ git pull https://git.openjdk.org/jmh.git pull/123/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 123

View PR using the GUI difftool:
$ git pr show -t 123

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jmh/pull/123.diff

Webrev

Link to Webrev Comment

Sorry, something went wrong.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Attempting to execute the "mvn archetype:generate" command specified in Step 1 of Preferred Usage in the README will result in a maven execution error.

In my case I naively interpreted the following text to mean that I could create a sub project within the test folder of my already existing java project. "test" is the default test folder!

This resulted in 10-15 minutes of trying to figure out if I needed to install something new to use mvn archetype - as I have not used it before.

This change might make it easier for users to get set up with JMH project templates.
@bridgekeeper bridgekeeper bot added the oca Needs verification of OCA signatory status label Sep 30, 2023
@bridgekeeper
Copy link

bridgekeeper bot commented Sep 30, 2023

Hi @abyrne133, welcome to this OpenJDK project and thanks for contributing!

We do not recognize you as Contributor and need to ensure you have signed the Oracle Contributor Agreement (OCA). If you have not signed the OCA, please follow the instructions. Please fill in your GitHub username in the "Username" field of the application. Once you have signed the OCA, please let us know by writing /signed in a comment in this pull request.

If you already are an OpenJDK Author, Committer or Reviewer, please click here to open a new issue so that we can record that fact. Please use "Add GitHub user abyrne133" as summary for the issue.

If you are contributing this work on behalf of your employer and your employer has signed the OCA, please let us know by writing /covered in a comment in this pull request.

@abyrne133
Copy link
Contributor Author

/signed

@bridgekeeper bridgekeeper bot added the oca-verify Needs verification of OCA signatory status label Sep 30, 2023
@bridgekeeper
Copy link

bridgekeeper bot commented Sep 30, 2023

Thank you! Please allow for up to two weeks to process your OCA, although it is usually done within one to two business days. Also, please note that pull requests that are pending an OCA check will not usually be evaluated, so your patience is appreciated!

Copy link
Member

@shipilev shipilev left a comment

Choose a reason for hiding this comment

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

Thanks, have not realized this is a pitfall. Consider an edit below.

@shipilev shipilev changed the title README Preferred Usage Improvement CODETOOLS-7903567: JMH: Improve README guidance for archetype bootstrap Oct 2, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Copy link
Member

@shipilev shipilev left a comment

Choose a reason for hiding this comment

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

Looks fine. Let's just wait for OCA to clear, after which bots would allow you to integrate.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@bridgekeeper bridgekeeper bot removed oca Needs verification of OCA signatory status oca-verify Needs verification of OCA signatory status labels Oct 20, 2023
@openjdk
Copy link

openjdk bot commented Oct 20, 2023

@abyrne133 This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

7903567: JMH: Improve README guidance for archetype bootstrap

Reviewed-by: shade

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 2 new commits pushed to the master branch:

  • a1ca901: 7903440: JMH: Add automatic module names
  • f1c7092: 7903572: JMH: mempool should capture Direct/Mapped memory pools as well

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
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 (@shipilev) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added ready Pull request is ready to be integrated rfr Pull request is ready for review labels Oct 20, 2023
@mlbridge
Copy link

mlbridge bot commented Oct 20, 2023

Webrevs

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 27, 2023

@abyrne133 This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

@shipilev
Copy link
Member

shipilev commented Jan 4, 2024

@abyrne133 Are you planning to integrate this?

@abyrne133
Copy link
Contributor Author

@abyrne133 Are you planning to integrate this?

Hi @shipilev
It all seems to be in order. Happy for it to be merged. Let me know if anything else needed from my side and I'll sort it out.
Thanks,
Alan

@shipilev
Copy link
Member

shipilev commented Jan 4, 2024

Say /integrate, as per bot comment :)

@abyrne133
Copy link
Contributor Author

/integrate

@shipilev
Copy link
Member

shipilev commented Jan 4, 2024

/sponsor

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Jan 4, 2024
@openjdk
Copy link

openjdk bot commented Jan 4, 2024

@abyrne133
Your change (at version b6f32f0) is now ready to be sponsored by a Committer.

@openjdk
Copy link

openjdk bot commented Jan 4, 2024

Going to push as commit cb3c3a9.
Since your change was applied there have been 2 commits pushed to the master branch:

  • a1ca901: 7903440: JMH: Add automatic module names
  • f1c7092: 7903572: JMH: mempool should capture Direct/Mapped memory pools as well

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Jan 4, 2024
@openjdk openjdk bot closed this Jan 4, 2024
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Jan 4, 2024
@openjdk
Copy link

openjdk bot commented Jan 4, 2024

@shipilev @abyrne133 Pushed as commit cb3c3a9.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

None yet

3 participants