Re: Unexpected workflow

Soren Stoutner <[email protected]> Fri, 05 Dec 2025 12:27:12 -0700
Newsgroups gmane.linux.debian.devel.mentors,gmane.linux.debian.devel.python
Organization Debian
Message-ID <2057075.ZEGd2ZCEzU@soren-desktop>
On Friday, December 5, 2025 12:16:54 PM Mountain Standard Time jvk wrote:
> First of all thank you for addressing my confusions and helping me.
> There is this last thing which i didnt understand
> 
> So i deleted the repo again and made a new one to redo and understand
> the work flow better .
> https://salsa.debian.org/jvk_here/python-playwright/
> 
> I executed the following commands
> 
> history :-
>  mkdir maintain_playwright
>   847  cd maintain_playwright/
>   848  gbp clone
> https://salsa.debian.org/jvk_here/python-playwright.git --pristine-tar
>   849  cd python-playwright/
>   850  gbp import-orig --uscan --pristine-tar
> 
>   852  gbp import-orig --uscan --pristine-tar
> 
> 
> 
> 
>   857  dch
>   858  gbp buildpackage --git-pristine-tar --git-color=on --git-verbose
> --git-notify=on --git-pbuilder
>   859  gbp buildpackage --git-pristine-tar --git-color=on --git-verbose
> --git-notify=on --git-pbuilder --git-ignore-new
> 
> 
> 
>   863  cd python-playwright/
>   864  gbp push
>   865  git push
> (removed useless cmds such as ls,cd)
> 
> i explecitly mentioned in import-orig and in build to handel the
> pristine-tar branch but if you check the repo there is no pristine tar,
> why?

I think the problem is that you haven’t included “--pristine-tar” in “gbp 
push”.  However, if you want to use pristine-tar (which I highly recommend 
because it makes sure that everyone working on a package has the same version 
of the .orig.tar.gz, so that when different people upload -X revisions they 
don’t fails because the .orig.tar.gz is subtly different), I would recommend 
it add it to debian/gbp.conf.  When you do this, you don’t need to add "--
pristine-tar" to any of the commands because it is added automatically.  For 
example, see:

https://salsa.debian.org/python-team/packages/python-electrum-ecc/-/blob/
debian/master/debian/gbp.conf?ref_type=heads

-- 
Soren Stoutner
[email protected]
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEJKVN2yNUZnlcqOI+wufLJ66wtgMFAmkzMhAACgkQwufLJ66w
tgPShxAAscb8KK9/SyvkYVIIo8ppaB9KX9OsmlXqV+S9K1oTfXW42R+ILk189D/L
rvf89mhwq0DRxTVDFncFC8q1U/w0tcBPuihfgN40QGj1Nk0VRf+t8HNPgXSz1TiF
SfNnGDJQ+veGTo9XSGUlsUpWgc1+3kpjQpdgAgQ3ZaBi0bW0zWJEOIvICN34/edv
4NCqRfnm4E98v9KLkmd8gyuFTIByrw8y4GjQSyP31njc2qbXoP6YtFqlD5R6KcZj
2IaLac/eG+MjsIy2sJlo5MNYWkmS/LfCpc7TnZLYkw/HJ19zl88+q/dik7b7yw40
Uq1wUGisrvMUuFW60QEqb+vjPMwHhUfLf6OGOKersR4fT+DllL6qEQknRIMOnCKJ
GTl7RPcv20I2SUySo26mWPoApDPgtVTQrHRsq+sXKW/X72b06To1EXrp0PHx/NVm
JefPGOjCxWh4ckX6uaqmyeL+k+HDKUyecFHzg1d3PULdMAO5ovigaPrQZpKEgiVP
NMYeifG6L5OKiMSzN0l8XtQp1EUpjnkidS+4qkembZGayrIY/bNUeh1Gm7xNvk7b
EI9ORbxYDGxtKxoJP8ZdL7oBJ5XmS9i5hXEHYdwBCD3wuxqz55Z+Av8DndQ0wMeG
xrs1Iyst765E2tNlFNIY7DshvGWJskh6x0pxwQqoM21aotKxy4c=
=dQ4B
-----END PGP SIGNATURE-----