Gentoo Archives: gentoo-scm

From: Arun Raghavan <ford_prefect@g.o>
To: gentoo-scm@l.g.o
Subject: [gentoo-scm] Updated upload-pack patches
Date: Sat, 30 Oct 2010 06:11:30
Message-Id: AANLkTikFHvTpB7hiUsBFF+ikzkJUQrvCskYFKNwjVX8z@mail.gmail.com
Hey folks,
Robin asked me to mail in the current set of patches (updated with a
--allow-insecure-hooks argument to upload-pack up). I've not been able
to actually test with this new argument, but it should work just fine.

Pending items:

1. Decide whether we want to drop the ALLOW_INSECURE_HOOKS define and
just let this be an off-by-default option that you worry about in
git-daemon/gitosis/gitolite config. I vote for extra paranoia, but the
git ML is probably the best place to get an answer to this.
2. Add support to gitosis/gitolite to pass in the option to upload-pack and test
3. Update the automated tests to also use the hooks somehow (I've yet
to figure out how to do this)

Cheers,
-- 
Arun Raghavan
http://arunraghavan.net/
(Ford_Prefect | Gentoo) & (arunsr | GNOME)

Attachments

File name MIME type
0001-upload-pack-Reinstate-the-post-upload-pack-hook.patch application/octet-stream
0002-upload-pack-Add-a-pre-upload-pack-hook.patch application/octet-stream