[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFH: Generating tars for resfinder




On 7/26/21 12:01 AM, Nilesh Patra wrote:
> Hi,
> 
> I committed a multi-orig tar to resfinder's salsa repository,
> but the checkout does not seem to work as intended.
> 
> As seen in the CI, and I also cloned it in another directory and tried,
> this ends with:
> 
> gbp:error: Error creating resfinder_4.1.5.orig.tar.bz2: Pristine-tar couldn't checkout "resfinder_4.1.5.orig.tar.bz2": fatal: ambiguous argument 'f748891eb3d46653c8b5af7a22683dd3f250dcdd^{tree}': unknown revision or path not in the working tree.
> Use '--' to separate paths from revisions, like this:
> 'git <command> [<revision>...] -- [<file>...]'
> fatal: not a valid object name: f748891eb3d46653c8b5af7a22683dd3f250dcdd^{tree}
> tar: This does not look like a tar archive
> tar: Exiting with failure status due to previous errors
> pristine-tar: command failed: git archive --format=tar f748891eb3d46653c8b5af7a22683dd3f250dcdd\^\{tree\} | (cd '/tmp/pristine-tar.pV0Ht3pLTQ' && tar x)
> 
> I tried to re-create and re-import but that does not work either -- I'm
> not sure how to go about this.
> Please consider taking a look, any help is welcome

$ pristine-tar commit ../resfinder_4.1.5.orig.tar.bz2

This magically seems to work!

Nilesh


Reply to: