[Pkg-clamav-devel] OK, is it just me?
Stephen Gran
sgran at debian.org
Fri Sep 5 09:33:49 UTC 2008
This one time, at band camp, Scott Kitterman said:
> On Thursday 04 September 2008 14:50:53 Stephen Gran wrote:
> > pristine-tar checkout clamav_0.94.dfsg.orig.tar.gz
>
> It's probably just because it's late and I'm really tired, but that didn't
> work for me:
>
> clamav/git/clamav$ pristine-tar checkout clamav_0.94.dfsg.orig.tar.gz
> fatal: not a tree object
> tar: This does not look like a tar archive
> tar: Error exit delayed from previous errors
> pristine-tar: command failed: git archive --format=tar
> 21ea5fbc87f321345486232ed65a25d12b6fc1d4 | (cd '/tmp/pristine-tar.hxSFffOpsj'
> && tar x)
>
> Maybe it will be obvious tomorrow, but advice appreciated ...
I think I see what went wrong. I probably screwed up generating the ref
for pristine-tar. What I did was clone the 0.94 head to a new branch,
then cherry-pick only the commit that made it match the tarball. Then I
used the head of that branch to generate the xdelta for pristine-tar,
and deleted the branch before pushing.
It worked here, so I thought it was OK, but in retrospect, of course git
is clever enough to delete objects that are no longer referenced, so it
threw away the commit that pristine-tar needs before uploading. It only
works locally because I have garbage collected my local git tree. I've
regenerated the bits pristine-tar needs, and this time I'll leave the
temporary branch around. That'll teach me to try to be clever :)
Sorry about that.
--
-----------------------------------------------------------------
| ,''`. Stephen Gran |
| : :' : sgran at debian.org |
| `. `' Debian user, admin, and developer |
| `- http://www.debian.org |
-----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20080905/88647aa4/attachment-0001.pgp
More information about the Pkg-clamav-devel
mailing list