Nick Hall
2017-06-17 00:51:22 UTC
Devs,
I have now got the Mantis bug tracker GitHub source integration working.
To use this we need to make a slight change to our commit messages.
The first line should contain a short summary of the change (70
characters or less), but it should no longer contain a reference to a
bug report.
This should be separated by a blank line from a longer description, if
required.
Finally, also separated by a blank line, you need to put special
keywords which either link to, or resolve, bug reports.
To resolve a bug or bugs use:
Fixes #12345
Fixed #12345
Resolves #12345
Resolved #12345
Fixes #12345, #67890
Fixed #12345, #67890
Resolves #12345, #67890
Resolved #12345, #67890
To link to a bug or bugs use:
Bug #12345
Issue #12345
Report #12345
Bugs #12345, #67890
Issues #12345, #67890
Reports #12345, #67890
You will also need Mantis to recognise your git commit. To do this either:
1. Set your Mantis real name to your git name.
2. Set your Mantis email to your git email.
If your Mantis user name is the same as your git name, I think you may
also be recognised.
Let me know if you have any problems.
Regards,
Nick.
I have now got the Mantis bug tracker GitHub source integration working.
To use this we need to make a slight change to our commit messages.
The first line should contain a short summary of the change (70
characters or less), but it should no longer contain a reference to a
bug report.
This should be separated by a blank line from a longer description, if
required.
Finally, also separated by a blank line, you need to put special
keywords which either link to, or resolve, bug reports.
To resolve a bug or bugs use:
Fixes #12345
Fixed #12345
Resolves #12345
Resolved #12345
Fixes #12345, #67890
Fixed #12345, #67890
Resolves #12345, #67890
Resolved #12345, #67890
To link to a bug or bugs use:
Bug #12345
Issue #12345
Report #12345
Bugs #12345, #67890
Issues #12345, #67890
Reports #12345, #67890
You will also need Mantis to recognise your git commit. To do this either:
1. Set your Mantis real name to your git name.
2. Set your Mantis email to your git email.
If your Mantis user name is the same as your git name, I think you may
also be recognised.
Let me know if you have any problems.
Regards,
Nick.