Hi,
as the official tarballs still missing, here some instructions to
archive a tarball from GIT repository.
[ Checkout linux-2.6 (aka linux-3.0) ]
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
( NOTE: Users from EU zone: Use <git.us.kernel.org>... it's faster for
checkouts. )
cd linux-2.6
[ gzip ]
git archive --format=tar --prefix=linux-3.0-rc2/ v3.0-rc2 | gzip -9c >
../linux-3.0-rc2.tar.gz
[ bzip2 ]
git archive --format=tar --prefix=linux-3.0-rc2/ v3.0-rc2 | bzip2 -9c
> ../linux-3.0-rc2.tar.bz2
[ xz ]
git archive --format=tar --prefix=linux-3.0-rc2/ v3.0-rc2 | xz -9c >
../linux-3.0-rc2.tar.xz
A good compromise between decompression-speed and file-size is:
[ xz -2e ]
git archive --format=tar --prefix=linux-3.0-rc2/ v3.0-rc2 | xz -2ec >
../linux-3.0-rc2.tar.xz-2e
[ Filesizes ]
$ du -h linux-3.0-rc2.tar.*
74M linux-3.0-rc2.tar.bz2
93M linux-3.0-rc2.tar.gz
61M linux-3.0-rc2.tar.xz
65M linux-3.0-rc2.tar.xz-2e
Thanks to friends from #quassel.de (git archive) and #mirbsd (xz -2e)
for the hints.
Thanks to Linus for not providing tarballs...
As I used to say... Still learning from git usecase to git usecase.
- Sedat -
On Tue, Jun 7, 2011 at 2:14 PM, Sedat Dilek <[email protected]> wrote:
> Thanks to Linus for not providing tarballs...
Read: https://lkml.org/lkml/2011/6/6/235
--
Thanks,
//richard
On Tue, Jun 7, 2011 at 2:56 PM, richard -rw- weinberger
<[email protected]> wrote:
> On Tue, Jun 7, 2011 at 2:14 PM, Sedat Dilek <[email protected]> wrote:
>> Thanks to Linus for not providing tarballs...
>
> Read: https://lkml.org/lkml/2011/6/6/235
>
I know he is travelling, in my words there is no sarcasm BTW.
...was a nice short trip with git-archive and currently playing with
XZs compression-levels and decompression-speed.
- Sedat -
On Tue, Jun 7, 2011 at 3:09 PM, Sedat Dilek <[email protected]> wrote:
>
> I know he is travelling, in my words there is no sarcasm BTW.
> ...was a nice short trip with git-archive and currently playing with
> XZs compression-levels and decompression-speed.
>
Ok, please tell us when you find another nice git command. ;-)
--
Thanks,
//richard