git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: The Anarcat <anarcat@koumbit.org>
To: git@vger.kernel.org
Subject: "archive on tag" hook
Date: Thu, 28 Jan 2010 00:39:06 -0500	[thread overview]
Message-ID: <20100128053906.GH28798@anarcat.ath.cx> (raw)

[-- 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 --]

                 reply	other threads:[~2010-01-28  5:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100128053906.GH28798@anarcat.ath.cx \
    --to=anarcat@koumbit.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).