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

[gitolite] symlink hooks instead of copying them

From
MKmartin f krafft <madduck@debian.org>
Date
Feb 3, 2010, 20:47 UTC
Message-ID
<20100203204723.GA30157@lapse.rw.madduck.net>
Dear Sitaram, dear Teemo, dear gitolite-fans,

Gitolite currently copies hooks to repositories. For upgrades, it must thus ensure that all hooks are also upgraded.

It occurs to me that this might be easier done using symlinks, or with a file that includes the master hook(s) in ~/.gitolite/src/hooks. Then, the hooks just have to be upgraded in one place.

Do you see a reason not to do this via symlinks?
-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"we are trapped in the belly of this horrible machine,
 and the machine is bleeding to death."
                                        -- godspeed you black emperor!
Next: Sitaram Chamarty
Message 1 of 8 in “[gitolite] symlink hooks instead of copying them”
  1. martin f krafftFeb 3, 2010
  2. Sitaram ChamartyFeb 4, 2010
  3. Sitaram ChamartyFeb 4, 2010
  4. martin f krafftFeb 4, 2010
  5. Sitaram ChamartyFeb 4, 2010
  6. martin f krafftFeb 4, 2010
  7. Bill LearFeb 4, 2010
  8. martin f krafftFeb 4, 2010

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.