Bug#977174: vcswatch: web hook for changed repositories
Re: Jelmer Vernooij
> It would be great if vcswatch could call a webhook whenever a packaging
> repository changed.
Hi,
currently repository information is extracted from the Sources files
in unstable and experimental, i.e. vcswatch doesn't follow changes in
Vcs-* inside the repository.
While in theory possible, it could mean that we'd have to chase a
non-trivial list of redirects if the other repository points elsewhere
as well. Not sure we'd want to go that route.
Would the from-Sources-only repo information still be valuable for you
to have?
> This could be triggered whenever repositories are found to be different
> at poll time, but e.g. for salsa this could be triggered by a server side hook
> (https://docs.gitlab.com/ee/administration/server_hooks.html#create-a-global-server-hook-for-all-repositories)
I'm not sure I follow, do you want a general webhook in salsa that
would call out *to* vcswatch, or do you want a webhook *from* vcswatch
to elsewhere?
> This would be helpful for scheduling in the Janitor, being able to trigger
> runs as soon as packaging repositories change.
That part I understood.
Christoph
Reply to: