Thank you for considering contributing to Search Index Rebuilder (SIR).
Some more general guidelines (not complete yet) are available at https://github.com/metabrainz/guidelines/ too, more particularly about MeB GitHub/Jira workflow and Python programming guidelines.
Please follow the generally accepted seven rules of a great Git commit message:
- Separate subject from body with a blank line
- Limit the subject line to 50 characters
- Capitalize the subject line
- Do not end the subject line with a period
- Use the imperative mood in the subject line
- Wrap the body at 72 characters
- Use the body to explain what and why vs. how
Additionally, start the subject line with a ticket reference if applicable.
If your change is large or relevant to users, it should have a ticket
in our issue tracker.
Create one if necessary, in the component “Indexer”.
Reference it with its key SEARCH-XXX
.
It will be used to follow the progress of the change and to generate
the release notes that are made available to users on the blog.
Untracked changes are typos, comments, coding style changes, automated dependency updates, unnoticeable refactoring, and so on.
Describe your change with a short imperative title, e.g.
Change small unnoticeable bits
If your change resolves a ticket (see above), please make sure you
prefix your pull request title with SEARCH-XXX:
in order for our issue
tracker to link your pull request to that ticket, e.g.
SEARCH-1234567: Change things relevant to users
If it partially resolves a ticket, use parenthesis, e.g.
SEARCH-1234567 (I): Make first part of needed changes
If your change relate to several tickets, separate these with commas, e.g.
SEARCH-1234567, SEARCH-2345678: Change two related things at once
Just follow our pull request template.
If your change relates to a ticket, make sure to mention it in the comment, e.g.
# Summary
Fix SEARCH-1234567: Change things relevant to users