[aur-dev] AUR 4 and licensing
david at davidmanouchehri.com
Mon Apr 13 14:46:59 UTC 2015
Lukas Fleischer <lfleischer at archlinux.org> wrote:
> In order to `git push` a package repository, you need to add your SSH
> public key to the AUR profile which means you need to log into the web
> interface and accept the ToS. No need for something complicated
> involving Git hooks and email address filters.
You're right, I forgot about that. The only real purpose of having a hook
would just be to serve as a reminder.
Johannes L?thberg <johannes at kyriasis.com> wrote:
> This is Git, not SVN.
Sorry, I mixed my hooks up. Didn't mean to start a fight with that one.
Both Johannes and Dan are right; it's impossible to have a pre-commit hook
on the server side, but it's entirely possible to have a pre-receive hook
on the server side. I believe both would have the same result if you put
`exit 1` in them though (failing to apply commit).
More information about the aur-dev