Skip to content

VBoyV/gogs_custom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GOG's git server addon


Very Important. There is No WaRRanty

It's my first project on go and can contain errors.



It's contains a custom Webhooks addon.



Patch & Build

  1. doWnload gogs
    git clone --branch=v0.13.0 https://github.com/gogs/gogs.git
  1. dOwnload & cOpy gogs-git.patch
    git apply --ignore-whitespace {PATH_TO}/gogs-git.patch
  1. bUild gogs
  • PS: I'm not familiar with go language, so is better to look at the instruction on gogs homepage.
    go get
    go build


HOWTO:

In app.ini add

[webhook]
TYPES = ... , custom

Choose custom hook

To time it's working with POST, GET, PATCH, DELETE, PUT http-methods.

With RAW json-requests you can trigger systems like Jenkins, TeamCity and so on...

The respOnse that you can see in the next image is just made by a python script that i have wrote for tests.

And there is a simple output in python script.

About

Webhook custom addon for Gogs server

Resources

Stars

Watchers

Forks

Packages

No packages published