[aur-dev] AUR 4 and licensing

Gordian Edenhofer gordian.edenhofer at gmail.com
Mon Apr 13 13:49:28 UTC 2015


Sorry, the hook is probably called pre-receive not pre-commit. However
the procdeure stays more or less the same.
Github for examples reminds users if they push to a deprecated url,
which still works but was moved.

On Mon, Apr 13, 2015 at 3:42 PM, Johannes Löthberg
<johannes at kyriasis.com> wrote:
> On 13/04, Dan McGee wrote:
>>
>> On Mon, Apr 13, 2015 at 8:28 AM, Johannes Löthberg
>> <johannes at kyriasis.com> wrote:
>>>
>>> On 13/04, Gordian Edenhofer wrote:
>>>>
>>>>
>>>> Git has a pre-commit hook which is triggered prior to a commit and
>>>> many more. Read
>>>> https://www.kernel.org/pub/software/scm/git/docs/githooks.html for
>>>> more detail.
>>>>
>>>
>>> I'm aware of how git’s hooks work. You do not seem to though. Git is a
>>> DVCS,
>>> unlike SVN. You cannot have a pre-commit hook on the server.
>>
>>
>> You don't sound like you are aware, because you are wrong.
>>
>> http://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks
>> https://www.atlassian.com/git/tutorials/git-hooks/server-side-hooks
>>
>> http://git-scm.com/book/en/v2/Customizing-Git-An-Example-Git-Enforced-Policy
>>
>
> Alas I am not. For one, actually look at your second link where it says that
> there are 3 server-side hooks and note how none of them are pre-commit.
>
>
> --
> Sincerely,
>  Johannes Löthberg
>  PGP Key ID: 0x50FB9B273A9D0BB5
>  https://theos.kyriasis.com/~kyrias/


More information about the aur-dev mailing list