git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "archive on tag" hook
@ 2010-01-28  5:39 The Anarcat
  0 siblings, 0 replies; only message in thread
From: The Anarcat @ 2010-01-28  5:39 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

Hi,

After looking in a few places for a tool to create an archive when
pushing tags to a central repository, I have given up and wrote my own.

It's grown into a fairly complete perl script that runs either as a
post-receive or update hook and creates a tarball (or zip file) using
git-archive in a specific directory. It can also optionnally generate an
MD5 sum of the tarball.

Part of this work was sponsored by Koumbit[1] and done for the Aegir
project[2].

The code itself is available on our git repository[3]. I will also write
a small subsection in the tools page of the wiki[4].

Comments and improvements welcome.

Enjoy!

A.

[1] http://www.koumbit.org/
[2] http://groups.drupal.org/aegir
[3] http://git.koumbit.net/?p=tools/git-hooks/.git;a=blob;f=archive-tag
[4] http://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools#Hooks

-- 
Antoine Beaupré
Réseau Koumbit Networks
+1.514.387.6262

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-28  5:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-28  5:39 "archive on tag" hook The Anarcat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).