[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#977174: vcswatch: web hook for changed repositories



On Thu, Dec 17, 2020 at 06:39:28PM +0100, Christoph Berg wrote:
> Re: Jelmer Vernooij
> > My bad, the word "changed" in my original bug was ambiguous. I'm
> > interested in notifications when there are new commits to the
> > packaging repository - rather than changes to the packaging repository URLs.
> Ah ok.
> 
> > For salsa repositories specifically, it may be possible to improve the
> > reponsiveness of vcswatch by installing a server-side hook that
> > notifies vcswatch whenever a salsa repository has changed.
> 
> That's actually already in place. We can proxy that to you I think,
> and/or write the info to some place. See
> 
> https://salsa.debian.org/qa/qa/-/blob/master/cgi-bin/vcstrigger
> https://qa.debian.org/cgi-bin/vcstrigger

Ah, awesome. :-)

Do you have any preference on how vcswatch could call a
janitor-related webhook? For the moment, I can just add a list of
webhook endpoints in vcswatch, prepopulate that with just the
janitor webhook URL and have vcswatch send a POST request inline
whenever a repository has seen new commits. Does that seem reasonable?

Jelmer


Reply to: