Package: src:kgb-bot
Version: 1.55-2
Severity: normal
Tags: upstream

Hey,

In the GNOME team we're going to start hosting Ubuntu's packaging
branches on salsa soon.

To avoid spamming #debian-gnome with Ubuntu notifications, I'd like to
make KGB notify only on git commits to branches matching `debian/*`,
`upstream/*` and `pristine-tar` to OFTC, and `ubuntu/*`, `upstream/*`
and `pristine-tar` to Freenode. (possibly in future also doing this for
merge request target branches too - maybe just extending `only_branch`
to be considered for MRs as well)

It seems that `only_branch` matches exactly (with `eq`) the branches
that are given, though - this would mean that I have to list all
possible `debian/foo` resp. `ubuntu/foo` branches in the corresponding
webhooks and keep updating those as the distros create new releases.

I think it'd be cool if this were instead to support globbing. If I were
to propose a merge request which changes this into a glob (Text::Glob?),
would you merge that?

Cheers,

-- 
Iain Lane                                  [ i...@orangesquash.org.uk ]
Debian Developer                                   [ la...@debian.org ]
Ubuntu Developer                                   [ la...@ubuntu.com ]

Reply via email to