packit / hardly

Project is archived since Packit team agreed on prioritising work with more benefits and bigger user base.
https://packit.dev/source-git/status
MIT License
0 stars 7 forks source link

Convert 'Bugzilla' references to the standard format #72

Closed csomh closed 2 years ago

csomh commented 2 years ago

In virt team, contributors use

Bugzilla: <bzid OR bzlink>

in the MR message to reference bugs in Red Hat's Bugzilla.

This format, though, is different from the one required by BZ checks in dist-git commit messages, which is (among others):

Resolves: bz#<bzid>

Do a multiline substitution, to convert the former to the later, and use this string as the message for the dist-git MR and the commit message.

Signed-off-by: Hunor Csomortáni csomh@redhat.com

softwarefactory-project-zuul[bot] commented 2 years ago

Build succeeded.

:heavy_check_mark: pre-commit SUCCESS in 2m 08s :heavy_check_mark: hardly-tests SUCCESS in 2m 45s

csomh commented 2 years ago

@LaneWolf, please take a look on the test if this covers all the use cases you need.

softwarefactory-project-zuul[bot] commented 2 years ago

Build succeeded.

:heavy_check_mark: pre-commit SUCCESS in 1m 30s :heavy_check_mark: hardly-tests SUCCESS in 2m 34s

softwarefactory-project-zuul[bot] commented 2 years ago

Build succeeded (gate pipeline).

:heavy_check_mark: pre-commit SUCCESS in 1m 37s