https://bugzilla.wikimedia.org/show_bug.cgi?id=35876

Krinkle <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
            Summary|logmsgbot/Morebots should   |Labslogbot should auto-link
                   |create links to Gerrit for  |git hashes and Gerrit
                   |"g1234" format              |change-ids

--- Comment #2 from Krinkle <[email protected]> ---
It should link Git hashes and gerrit change-id hashes, those are recommended
form for identifiers of changes. During deployment a git hash is most precise
(not ambiguous between different branches and usable in Git outside Gerrit
context).

Regexes for these can be found in the Gerrit configuration and Bugzilla
configuration, which already have these.

Should probably be added to the syntax morebots already has for expanding "bug
123" to {{bug|123}} which displays [[bugzilla:123|bug 123]].

I updated the {{Gerrit}} template on wikitech to also take git hashes and
gerrit change-ids, so it should be easier to expand for more bots.

It only has to expand the matched hashes to {{Gerrit|<match>}}.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to