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

Re: gbp import-orig: how to choose compression (xz)



On Fri, Jan 27, 2023 at 06:02:34PM +0100, Lorenzo wrote:
> Hello mentors,
> 
> I want to import a new svn snapshot to update a Debian package,
> the salsa git repo is already configured for gbp, so I did
> 
> $ gbp import-orig -u1.5+svn38408 ../upstreamsvn/mplayer
> 
> upstream/mplayer is a directory with the unpacked svn checkout.
> Gbp creates a ../upstreamsvn/mplayer_1.5+svn38408.orig.tar.gz
> archieve (not a tar.xz); it also uses tar.gz in the pristine-tar branch.
As far as I can see this is not configurable, all locally-repacked
tarballs are repacked as .tar.gz.

> One problem with the tar.gz is that debian/gbp.conf has
> compression = xz
So this configuration is wrong ad you need to change it.

> so when I push to salsa the salsa-ci fails because it searches for a
> tar.xz archieve
(I'm still surprised that people apparently don't build locally, only on
salsa-ci)


Reply to: