hooker

command module
v0.0.0-...-12cdf8b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2018 License: MIT Imports: 13 Imported by: 0

README

Hooker

Hooker is a tool to automatically update git repositories using a POST Webhook.

The master branch (fetched from refs/remotes/origin/master) gets updated only.

Supported Git Services

  • GitLab
  • Bitbucket Server

Configuration

The configuration is a simple toml file (config.toml by default, can be overriden using the --config=PATH flag).

Adding Hooks

Just put a symlink to the repository (parent folder where the .git folder lies in) into the hooks path.

Assuming you have a repository named test, you would create a symlink named test into your hooks folder (config: HookPath). In the settings for the repository, you would then add a POST Hook to http://host:port/test.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL