GitHunt
UR

Urethramancer/triggerwarning

Pull Git repositories and notify watchers on trigger.

Trigger Warning Build Status

Pull Git repositories and notify watchers on trigger.

Who or what is this for?

This is an internal utility I use to keep repositories up to date on a server whenever I check in elsewhere.

Requirements

  • github.com/Urethramancer/cross
  • github.com/Urethramancer/slog
  • github.com/fsnotify/fsnotify
  • github.com/gorilla/mux
  • github.com/jessevdk/go-flags
  • golang.org/x/crypto/sha3
  • golang.org/x/crypto/ssh
  • gopkg.in/src-d/go-git.v4
  • gopkg.in/src-d/go-git.v4/plumbing/transport/ssh

These should be fetched automatically.

Status

Currently it runs as a web server and accepts HTTP or HTTPS requests to the /trigger endpoint, which takes a nameparameter to select a repository to update (either internal pull or external command git pull).

Features

Currently users can be added and trigger pulls.

Unimplemented features

  • Add users as watchers of specific repositories.
  • Notify watchers.

Licence

MIT.

Languages

Go99.5%Shell0.5%

Contributors

MIT License
Created May 29, 2017
Updated July 20, 2023
Urethramancer/triggerwarning | GitHunt