* git tag expiry?
@ 2011-11-29 18:22 Joe Perches
2011-11-29 21:27 ` Stephen Rothwell
0 siblings, 1 reply; 2+ messages in thread
From: Joe Perches @ 2011-11-29 18:22 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next
Hi Stephen.
In order to keep the next git repository size down,
are you going to continue to expire and delete older
next-<date> tags after some number of months/days/weeks?
I think it'd be sensible to keep a maximum of 2 months
of tags and once a month expire out the oldest tags
followed by a repack.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: git tag expiry?
2011-11-29 18:22 git tag expiry? Joe Perches
@ 2011-11-29 21:27 ` Stephen Rothwell
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2011-11-29 21:27 UTC (permalink / raw)
To: Joe Perches; +Cc: linux-next
[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]
Hi Joe,
On Tue, 29 Nov 2011 10:22:52 -0800 Joe Perches <joe@perches.com> wrote:
>
> In order to keep the next git repository size down,
> are you going to continue to expire and delete older
> next-<date> tags after some number of months/days/weeks?
>
> I think it'd be sensible to keep a maximum of 2 months
> of tags and once a month expire out the oldest tags
> followed by a repack.
Currently, there should be 90 tags in the linux-next tree. This should
easily cover a whole release cycle (and a bit extra). Each day, I remove
the oldest one. Apparently "git gc" is run automatically on kernel.org
every so often. I don;t think that the "git gc" should affect how much
is downloaded (very much), though.
Also, if you fetch the tree, you should only get the latest version as I
also removed the "history" branch that was stiching all the tags
together. So to get an older tag, you need to explicitly fetch it (or
use --tags on the fetch - unless you mirror the tree, in which case you
will get the whole lot). If you fetch each day, you should only be
downloading a few MB ...
The linux-next history tree has all the tags just in case anyone wants an
older one.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-29 21:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-29 18:22 git tag expiry? Joe Perches
2011-11-29 21:27 ` Stephen Rothwell
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).