[Debian-med-packaging] Please always use `gbp import-orig --pristine-tar` for new upstream versions (Was: [Git][med-team/invesalius] Pushed new tag upstream/3.1.99991)

Thiago Franco de Moraes thiago.moraes at cti.gov.br
Fri Aug 24 14:50:23 BST 2018


Hi Andreas,

On Mon, Aug 20, 2018 at 12:35 PM Andreas Tille <tille at debian.org> wrote:
>
> On Mon, Aug 20, 2018 at 11:14:42AM -0300, Thiago Franco Moraes wrote:
> > I haven't used gbp with --pristine-tar option. I tried to rerun gbp with
> > the pristine-tar option but it didn't work,
>
> What errors?  The only error I would expect is that upstream/VERSION
> tag is just set.  You can remove this tag and than it should work.
>
> > it gives me some errors. Is
> > there a way to create the pristine-tar branch by myself?
>
> I think there is but you need to read the docs.  I never ever had any
> need to do that manually and I simply don't know, sorry.

I managed to create pristine-tar branch using gbp pristine-tar:

gbp pristine-tar commit ../invesalius_3.1.99991.orig.tar.gz [1]
Yes, they are the same. I teste here diffing the source code from the
tarball against the one from salsa master:

LC_ALL=C diff invesalius invesalius3-3.1.99991
Only in invesalius: .git
Common subdirectories: invesalius/contrib and invesalius3-3.1.99991/contrib
Only in invesalius: debian
Common subdirectories: invesalius/docs and invesalius3-3.1.99991/docs
Common subdirectories: invesalius/icons and invesalius3-3.1.99991/icons
Common subdirectories: invesalius/invesalius and
invesalius3-3.1.99991/invesalius
Common subdirectories: invesalius/locale and invesalius3-3.1.99991/locale
Common subdirectories: invesalius/navigation and
invesalius3-3.1.99991/navigation
Common subdirectories: invesalius/po and invesalius3-3.1.99991/po
Common subdirectories: invesalius/presets and invesalius3-3.1.99991/presets
Common subdirectories: invesalius/samples and invesalius3-3.1.99991/samples

invesalius folder is the salsa invesalius repo and
invesalius3-3.1.99991 is the unpacked folder of the tarball obtained
using uscan --verbose --force-download. The only differences are the
presence of debian and .git folder.

> Kind regards
>
>       Andreas.
>
> [1] https://med-team.pages.debian.net/policy/#git-tips

Best regards

[1] - https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/man.gbp.pristine.tar.html



More information about the Debian-med-packaging mailing list