Skip to content

steveworkman/gitosis-webhook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

gitosis-webhook

GitHub style post-receive webhooks for gitosis.

Requirements

To run this script on your server, you will need to have your own installation of gitosis.

Installation

This script is designed to be run on a private installation of gitosis as a post-receive hook for your repositories. To install this on your own server, simply drop the post-receive file into the hooks directory of your repository. You will need to give your gitosis user full read, write, and execute permissions on this file, which you can do by running chmod 777 post-receive from your terminal.

Usage

The first line of this script allows you to specify a URL to which a JSON payload containing information about your commits is will be delivered via HTTP POST after each successful push to your repository. The format of this JSON payload matches the format used by GitHub's post-receive webhooks.

Disclaimer

Use this script at your own risk. While this script has been tested thoroughly, on the above requirements, your mileage may vary. I take no responsibility for any harmful actions this script might cause.

License

This software, and its dependencies, are distributed free of charge and licensed under the GNU General Public License v3. For more information about this license and the terms of use of this software, please review the LICENSE.txt file.

About

GitHub style post-receive webhooks for gitosis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published