Repository navigation
ci: check PR description for a Phabricator task Git trailer - #1321
outdooracorn wants to merge 1 commit into
Conversation
|
@outdooracorn, please add any related Phabricator tasks as git trailers at the end of the PR description, separated from the text by a blank line. For example (replace the example task IDs with your related tasks): You can also create a new task with the same title and description as this PR using the link below, then add its task ID as a |
|
I'm still a bit curious why we'd do the "Bug: " notation instead of a plain link |
The main reason for me is that it follows the commit message guidelines of the movement:
I don't think we should do something different to what the rest of the community is expecting as it will likely mean we we won't be able to make use of existing tools / scripts / services / libraries / etc. that expect this format, especially if we want to move our repos over to one of the WMF hosted git forge. For example, the wmde-github-phab-bot we use to comment on a Phabricator tasks when a PR is opened. I don't know the exact reason why the "T####" ID was chosen over the URL but some plausible reasons that come to mind:
How come you would rather use URLs over the "T####" ID? There are settings and plugins for IDEs that allow you to define the mapping between "T####" ID and URL. |
And a link just works, anywhere.
Then it still would be dependent on a GitHub feature.
Right, and if we would use GitHub for our tasks or Phabricator for our code, this would work well. That's what we keep working around. |
Check PR description for a Phabricator task Git trailer in the format expected by the community commit message guidelines (
Bug: T####)1Bug: T443397