TheZ3ro / gogsownz

Gogs CVEs
78 stars 15 forks source link

Some versions of gogs require slightly different git hook URL #3

Open mzpqnxow opened 4 years ago

mzpqnxow commented 4 years ago

FYI, tested this on a system in my lab, it appears some versions of Gogs have a slightly different URL for setting up hooks. I will send a pull request in a moment if you'd like to merge it, I will leave it as an if False: and let you decide if you want to add it to the code properly with a flag or autodetect

mzpqnxow commented 4 years ago

4 puts a simple option for the alternate name to help the clueless (took me almost a half-hour to figure this out on my own system, derp)

TheZ3ro commented 4 years ago

I will leave the issue one until we implement an autodetection mechanism for the correct hook