Our goal is to provide high-quality names that make intuitive sense. In our experience, this goal is best achieved through contribution of original names, rather than copying names from other mappings projects. While we believe that discussions relating to the names used by other mappings projects can be useful, those names must stand up to scrutiny on their own - we won't accept names on the grounds that they're present in other mappings projects.
We recommend discussing your contribution with other members of the community - either directly in your pull request, or in our other community spaces. We're always happy to help if you need us!
- Before you start changing or adding mappings, please have a look at the naming conventions; you don't have to memorize them, and you can always review them at any time, but you should apply them when possible. Be sure to talk to us about any questions you might have (either through an issue or on Discord).
-
Using the
mappings
ormappingsUnpicked
tasks with Gradle, you can open up a Minecraft jar with Enigma and start to map it. Have a look at the mapping guide for more information on how to use Enigma! Once you're done, save your mappings and commit them to a fork of QM. - Next, submit your pull request on GitHub and wait for people to review it. When you get reviews, try to thoughtfully address any concerns other people have. If you get confused, be sure to ask questions!
- Once your PR has no "changes requested" reviews, the minimum number of approvals for its triage category, and nobody has their review requested, it is eligible to enter a Final Comment Period (FCP). An FCP is a last call for any reviewers to look at your PR before it is merged. The minimum length of your PR's FCP is determined by its triage category, but if any further changes are requested, the FCP might be lengthened, or if the concerns are significant, the FCP cancelled until the concerns are addressed and resolved.
- Once the minimum time on the Final Comment Period has passed, and you have resolved any concerns reviewers have raised during that time, leave a comment on your PR requesting for it to be merged. A Mappings team member will take a final look over your PR, and, if everything looks good, merge it!
There are two main reasons the build may fail on your pull request, which are listed here. If you have another issue you don't understand, feel free to ask the QM team for help, either on your pull request or through Discord.
-
A spellcheck failure gives the error
entry name contains unknown/misspelled word: YourEntryName
. There are two ways to fix this:- If your word is misspelled, you can simply fix the error.
-
This can happen in a few cases.
The most common is that the word is a valid word in the context of Minecraft, but is not in the normal english dictionary, such as "prismarine". In this case, you can add the word to QM's Minecraft dictionary under the corresponding category, which in this case would beitems
.
Another possibility is that you have written the word in British English, which is invalid since QM uses American English exclusively. Here, just change the word to its American English equivalent.
After performing any of these fixes, run
./gradlew mappingLint
to check that the error is fixed. -
A javadoc failure will occur when you rename a class or method that a piece of javadoc points to. It gives the error
error: reference not found * {@link TheOldName}
. To fix this, you need to change the javadoc to point to the new name. Simple! You can open the javadoc editor in Enigma by right-clicking the entry and selecting theEdit Javadoc
option, or by pressingCtrl + D
by default. Run./gradlew build javadocJar
to check your new mapping.
Triage categories ensure that important, but small PRs--like bugfixes--are merged quickly, while large changes--like a naming refactor--are thoroughly reviewed before they are merged.
Aside from the main triage categories, QM also divides its PRs by the type of Minecraft version they target: releases and snapshots, with the former having longer review times and aiming for more stability.
- Release PRs are those that target a release of Minecraft, such as
1.17
,1.17.1
or1.18
- Snapshot PRs are those that target a snapshot of Minecraft, such as
21w44a
,1.17.1-pre1
or1.18-rc4
Everything within this section is the definitions for the actual PR policy followed by the Mappings team, in accordance with RFC 39
To avoid conflicts and make the process faster, the FCP may be ended early when a new Minecraft version is released and QM is updated.
Note
These number of required approvals has been temporarily lowered to compensate for a lack of reviewers. If you'd like to help us keep our mappings high-quality and reduce the burden on our team, feel free to start reviewing and contact us on Discord to become an official triage team member. Thank you!
Description: Used for pull requests that focus mainly on adding new mappings.
Required Approvals: 1
- At least 1 approval must come directly from a Mappings team member.
Final Comment Period: 2 days (1 day for snapshots if the PR has 3+ approvals)
Special cases:
- If the PR adds new mappings needed by QSL, the Final Comment Period is shortened to 12 hours, and it can be skipped if it receives 3 approvals or more.
Description: Used for pull request that focus mainly on changing the names of existing mappings.
Required Approvals: 2
- At least 1 approval must come directly from a Mappings team member.
Final Comment Period:
S: small
and below: 2 daysS: medium
: 3 daysS: large
and above: 4 days
Description: Used for pull requests that focus mainly on adding or changing documentation.
Required Approvals: 1
- At least 1 approval must come directly from a Mappings team member.
Final Comment Period: 2 days (1 day for snapshots if the PR has 3+ approvals)
Description: Used for pull requests that focus mainly on changes to the QM toolchain, including the buildscript, and/or tools used.
Required Approvals: 2
- Only members of the Mappings Team count for approvals in PRs targeting the toolchain.
Final Comment Period: 2 days
If the determined FCP length is judged to be inadequate for one or more PRs, at least three members of the Mappings team may agree to either shorten, extend, or skip them, provided that all Mappings team members had a reasonable chance to respond. This applies to both PRs that are yet to begin its FCP and to PRs whose FCP is already in motion.
Trivial fixes that do not require review (e.g. typos) are exempt from this policy. Mappings team members should double-check with other members of the team on Discord before pushing a commit or merging a PR without going through this process.
PRs that do not fit under any of these categories but are not "trivial fixes" are merged at the consensus of the Mappings team, using whatever criteria they determine to be appropriate.
This is only a summary of QM's PR process and an explanation of QM-specific exceptions to it. For exact definitions and more information, see RFC 39.