git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Thomas Rast <trast@student.ethz.ch>
Date
May 3, 2012, 09:00 UTC
Message-ID
<87ipgdskpx.fsf@thomas.inf.ethz.ch>
In-Reply-To
<CAE1pOi1SLU5_eLr3ahiUjzQqPUnVPX70CPq=OW-o-85Lk43GwA@mail.gmail.com>
Hilco Wijbenga <hilco.wijbenga@gmail.com> writes:
Show 13 quoted lines
>> 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.
>
> Perhaps these automatic hooks should only be applicable for "outgoing"
> changes like commit and push? That way you can review the hooks before
> they run but you still have a chance to prevent developer errors from
> getting to the server/other people (which is really all I care about,
> I am looking for a way to protect developers from making silly
> mistakes).
Shouldn't those checks be made server-side with a pre-receive hook?
-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Previous: Hilco WijbengaNext: Hilco Wijbenga
Message 16 of 18 in “Is there any way to make hooks part of the repository?”
  1. Hilco WijbengaMay 1, 2012
  2. Junio C HamanoMay 1, 2012
  3. Randal L. SchwartzMay 1, 2012
  4. Junio C HamanoMay 1, 2012
  5. Hilco WijbengaMay 1, 2012
  6. PJ WeisbergMay 1, 2012
  7. Hilco WijbengaMay 1, 2012
  8. Nathan GrayMay 2, 2012
  9. Hilco WijbengaMay 2, 2012
  10. Hilco WijbengaMay 1, 2012
  11. Hilco WijbengaMay 1, 2012
  12. Matthieu MoyMay 2, 2012
  13. Hilco WijbengaMay 2, 2012
  14. Junio C HamanoMay 2, 2012
  15. Hilco WijbengaMay 2, 2012
  16. Thomas RastMay 3, 2012
  17. Hilco WijbengaMay 3, 2012
  18. Johan HerlandMay 4, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.