newsSavannah Administration - News

 
 

git post-receive UDP syndication

Item posted by Corwin Brust <carlc> on Thu 31 Aug 2023 11:57:10 PM UTC.

A new commit-hook is available to install for git repositories that will send a single Datagram via UDP after each successful commit.  This can be useful for continuous integration (CI) schemes and elsewise when a push driven model is prefered to (e.g) regularly repolling upstream when changes may or may not have occured. 

To request installation please open a ticket with the Savannah Administration project:

  https://sv.gnu.org/task/?group=administration&func=additem

To install the new git-udp-syndicate.post-receive hook for one (or more!) of your git repositories you must you must provide a destination host and port.  We can install multiple copies of the script per git repo, if necessary, to send multiple hosts/ports.

The (sh, GPLv3+) post-receive script source, detail on how the Datagram is structured, and example "receiver" scripts (in perl) can be found here:

  https://git.sr.ht/~mplscorwin/git-udp-syndicate

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code