gbp export-orig for multiple source tarballs

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

gbp export-orig for multiple source tarballs

Joao Eriberto Mota Filho-2
Dear mentors,

The airport-utils[1] repository has several .orig.tar.gz files, all
they committed in upstream and pristine-tar branches.

When I run 'gbp export-orig', I got several error messages[2]. So, is
clear for me that it is not the way to export all tarballs. Whats is
the right way?

[1] https://salsa.debian.org/debian/airport-utils

[2]:

gbp:info: Creating /PKGS/airport-utils-10/airport-utils_2.orig.tar.gz
gbp:error: Error creating airport-utils_2.orig.tar.gz: Pristine-tar
couldn't checkout "airport-utils_2.orig.tar.gz": fatal: ambiguous
argument '119526f1d450e90c3a429b81bf6da0f5dabbad3c^{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: 119526f1d450e90c3a429b81bf6da0f5dabbad3c^{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
119526f1d450e90c3a429b81bf6da0f5dabbad3c\^\{tree\} | (cd
'/tmp/pristine-tar.vzFVAF5yCg' && tar x)


Thanks in advance.

Regards,

Eriberto

Reply | Threaded
Open this post in threaded view
|

Re: gbp export-orig for multiple source tarballs

Mattia Rizzolo-5
On Sat, Mar 28, 2020 at 06:11:54PM -0300, Eriberto Mota wrote:
> The airport-utils[1] repository has several .orig.tar.gz files, all
> they committed in upstream and pristine-tar branches.
>
> When I run 'gbp export-orig', I got several error messages[2]. So, is

Please also have a look at https://bugs.debian.org/917789
It seems me (and others) sometimes expect something else.
Honestly, that issue hit me so rarely that I haven't bothered looking
deeper after finding a workaround that works for me (changing the .id).

--
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gbp export-orig for multiple source tarballs

Joao Eriberto Mota Filho-2
In reply to this post by Joao Eriberto Mota Filho-2
Thanks a lot Mattia. I will use 'pristine-tar list' and 'pristine-tar
checkout'[1].

[1] https://salsa.debian.org/debian/airport-utils/-/blob/debian/master/debian/export-orig.sh

Regards,

Eriberto

Reply | Threaded
Open this post in threaded view
|

Re: gbp export-orig for multiple source tarballs

Hugh McMaster
On Sun, 29 Mar 2020 at 12:07, Eriberto Mota wrote:
>
> Thanks a lot Mattia. I will use 'pristine-tar list' and 'pristine-tar
> checkout'[1].

You should also be able to use `gbp export-orig --pristine-tar
--component=foo --component=bar'.

Reply | Threaded
Open this post in threaded view
|

Re: gbp export-orig for multiple source tarballs

Eriberto
Em dom., 29 de mar. de 2020 às 09:24, Hugh McMaster
<[hidden email]> escreveu:
>
> On Sun, 29 Mar 2020 at 12:07, Eriberto Mota wrote:
> >
> > Thanks a lot Mattia. I will use 'pristine-tar list' and 'pristine-tar
> > checkout'[1].
>
> You should also be able to use `gbp export-orig --pristine-tar
> --component=foo --component=bar'.

Yes, in airport-utils case:

gbp export-orig --pristine-tar --component=portinspector
--component=modem --component=linkmon --component=ipinspector
--component=hostmon --component=airportconfig
--component=airport2config

I will adopt this option.

Thanks a lot.

Regards,

Eriberto