Re: Is there any way to make hooks part of the repository?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hilco Wijbenga <hilco.wijbenga@xxxxxxxxx> writes:

> On 1 May 2012 23:38, Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> wrote:
> ...
>> Yes, but at least, you have the opportunity to examine the other places
>> before they are ran. Hooks would be really, really nasty security-wise.
>> For example, "git clone" does a checkout, so should probably run the
>> checkout hooks.
>
> There is (or, rather, should be) absolutely no difference between code
> changes and hook changes. Both would go through the same review
> process.

Matthieu is *not* talking about auditing nastiness going into the
project's repository; he is talking is about a chance to audit whatever
comes from the project's repository that *could* potentially contain some
nastiness before it causes harm to your working environment. In other
words, not *having* to trust what is in the project's repository, but
having a way to verify.

Read what he wrote again with that in mind, and you will understand his
point.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]