On Thu, 2011-03-10 at 19:40 +0100, Denis Barbier wrote: > On 2011/3/10 Denis Barbier wrote: > > On 2011/3/10 Adam C Powell IV wrote: > >> On Thu, 2011-03-10 at 15:15 +0100, Denis Barbier wrote: > >>> Hi again, > >>> > >>> I just found that current tree does not compile because of one of my > >>> patches, I do not know why I did not detect this problem earlier. > >>> Here is a fix I am currently testing and will commit later today, feel > >>> free to commit it if you want. > >>> > >>> Denis > >> > >> Thanks again Denis. > >> > >> BTW, the tarball I make with tar cjf is about 1.8 MiB larger than yours, > >> with the .bak files removed. Is there a way to pass --best to bzip2 > >> using tar? I don't see it in the tar manpage. > > > > Mathieu already answered, but please do not run tar directly, use instead > > git archive --prefix=opencascade-6.5.0.dfsg/ upstream \ > > | bzip2 --best > ../opencascade_6.5.0.dfsg.orig.tar.bz2 > > > > This will preserve file attributes, and the tarball will be identical > > whether you or me (or anyone else) generate it, it will only depend on > > the commit 'upstream' is pointing to. > > Update: back on the machine I use to hack on this package, history > shows that I ran > git-buildpackage --pristine-tar --git-verbose --git-ignore-new > to generate my tar.bz2. I do not remember where I found the > --pristine-tar option, it is not documented. Anyway it generates the > exact same tarball as 'git archive' above.
This works fine, but there's no tag for this version (or you may have forgotten to push tags), so I just generated one (from your latest without the .bak files) and pushed it. > I just removed .bak files from 'upstream', and pushed 'master', > 'upstream' and 'pristine-tar' branches on Alioth. As an alternative, > you may now generate a tar.bz2 by running > pristine-tar checkout ../opencascade_6.5.0.dfsg.orig.tar.bz2 > > My new one contains 40389652 bytes and: > $ md5sum opencascade_6.5.0.dfsg.orig.tar.bz2 > 537699c4d4018c118dd1ca306bdd9861 opencascade_6.5.0.dfsg.orig.tar.bz2 Hmm, checked out the pristine-tar branch, but the pristine-tar command failed with: $ pristine-tar checkout ../opencascade_6.5.0.dfsg.orig.tar.bz2 fatal: Path 'opencascade_6.5.0.dfsg.orig.tar.bz2.delta' exists on disk, but not in 'refs/remotes/alioth/pristine-tar'. /usr/bin/pristine-tar: git show refs/remotes/alioth/pristine-tar:opencascade_6.5.0.dfsg.orig.tar.bz2.delta failed -Adam -- GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6 Engineering consulting with open source tools http://www.opennovation.com/
signature.asc
Description: This is a digitally signed message part