-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Apply minor improvements to CONTRIBUTING.md #29347
Merged
+7
−8
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,12 +73,12 @@ what you would expect to see. Don't forget to indicate your Quarkus, Java, Maven | |
## Checking an issue is fixed in main | ||
|
||
Sometimes a bug has been fixed in the `main` branch of Quarkus and you want to confirm it is fixed for your own | ||
application. Testing the `main` branch is easy and you have two options: | ||
application. There are two simple options for testing the `main` branch: | ||
|
||
* either use the snapshots we publish daily on https://s01.oss.sonatype.org/content/repositories/snapshots | ||
* or build Quarkus all by yourself | ||
* or build Quarkus locally | ||
|
||
This is a quick summary to get you to quickly test main. If you are interested in having more details, refer to | ||
The following is a quick summary aimed at allowing you to quickly test `main`. If you are interested in learning more details, refer to | ||
the [Build section](#build) and the [Usage section](#usage). | ||
|
||
### Using snapshots | ||
|
@@ -134,14 +134,13 @@ You can check the last publication date here: https://s01.oss.sonatype.org/conte | |
|
||
Just do the following: | ||
|
||
``` | ||
```sh | ||
git clone [email protected]:quarkusio/quarkus.git | ||
cd quarkus | ||
export MAVEN_OPTS="-Xmx4g" | ||
./mvnw -Dquickly | ||
MAVEN_OPTS="-Xmx4g" ./mvnw -Dquickly | ||
``` | ||
|
||
Wait for a bit and you're done. | ||
Building can take a few minutes depending on the hardware being used. | ||
|
||
**Note** For Apple Silicon computer, Rosetta must be installed. It can be done using `softwareupdate --install-rosetta` | ||
|
||
|
@@ -162,7 +161,7 @@ To contribute, use GitHub Pull Requests, from your **own** fork. | |
|
||
Also, make sure you have set up your Git authorship correctly: | ||
|
||
``` | ||
```sh | ||
git config --global user.name "Your Full Name" | ||
git config --global user.email [email protected] | ||
``` | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We did use an
export
on purpose. This way you don't have to do it every time you build the tree.But I won't fight for it if you think this is better in this context.
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.
But the export only survives the current terminal session, no?
I usually find that when that is done, the next time someone tries to execute the command that follows the
export
, it will fail and people don't know why.On the other hand, when using the syntax I propose, you get the entire command in the shell history