examples: match 'commit <hash>'

Change-Id: I833e37a60b93b23124f127b5639ab210fd12fa63
This commit is contained in:
Dmitry Tantsur 2021-07-06 13:11:30 +02:00
parent cd60a82f6a
commit c1202c7c63
1 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,12 @@ commentlinks:
- link:
text: "{bug_str}"
url: "https://storyboard.openstack.org/#!/task/{bug_id}"
# Match phrases containing "commit <commit ID>", e.g. in cherry picks
- match: "(?P<full_str>commit +(?P<id>[0-9a-f]{40}))"
replacements:
- search:
text: "{full_str}"
query: "commit:'{id}'"
# This is the query used for the list of changes when a project is
# selected. The default is "status:open". If you don't want to see