Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11771

Re: Git, gbp blues

From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Git, gbp blues
Date 2019-09-08 16:20 +0200
Message-ID <yE6cN-5zL-11@gated-at.bofh.it> (permalink)
References (3 earlier) <yz79v-362-1@gated-at.bofh.it> <yzjkl-2rm-13@gated-at.bofh.it> <yzl2O-3zJ-19@gated-at.bofh.it> <yDCHL-2Rv-3@gated-at.bofh.it> <yDQUp-3FE-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Sep 07, 2019 at 11:57:42PM +0200, Guðjón Guðjónsson wrote:
> Hi again
>
> One more question.
> If I have updated the sources with uscan and when running lintian I
> find out that
> there is an unwanted file in the upstream sources.
>
> How can I remove the file from the upstream tarball after it has been
> imported into upstream and pristine-tar?

If the tarball was not previously repacked, then you need to use a different
version number (e.g. +dfsg or +repack). List the file in Files-Excluded in
debian/copyright and add repack options to debian/rules (e.g.
opts=dversionmangle=s/\+dfsg//,repacksuffix=+dfsg — see pyqt5 for example).

After that, you have a new upstream version so you can import the tarball
using the normal procedure (gbp import-orig --uscan --pristine-tar).

Although, this depends on how much unwanted the file is. If it does not
violate DFSG and is not large, then it may be better to leave the tarball
as is and add that file to debian/clean.

If the tarball is already repacked, and you need to exclude one more file
(and you have not yet uploaded the current version to archive), then I would
suggest you to manually remove the files from upstream branch, and run
pristine-tar commit after generating the new tarball.

--
Dmitry Shachnev

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Git, gbp blues Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2019-08-25 21:50 +0200
  Re: Git, gbp blues Andrey Rahmatullin <wrar@debian.org> - 2019-08-25 22:00 +0200
    Re: Git, gbp blues Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2019-08-25 22:10 +0200
      Re: Git, gbp blues Dmitry Shachnev <mitya57@debian.org> - 2019-08-25 22:20 +0200
        Re: Git, gbp blues Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2019-08-26 08:30 +0200
          Re: Git, gbp blues Andrey Rahmatullin <wrar@debian.org> - 2019-08-26 08:40 +0200
        Re: Git, gbp blues Raphael Hertzog <hertzog@debian.org> - 2019-08-26 11:20 +0200
          Re: Git, gbp blues Dmitry Shachnev <mitya57@debian.org> - 2019-08-26 13:10 +0200
            Re: Git, gbp blues Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2019-09-07 08:50 +0200
              Re: Git, gbp blues Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2019-09-08 00:00 +0200
                Re: Git, gbp blues Dmitry Shachnev <mitya57@debian.org> - 2019-09-08 16:20 +0200
              Re: Git, gbp blues Dmitry Shachnev <mitya57@debian.org> - 2019-09-08 16:20 +0200
      Re: Git, gbp blues Andrey Rahmatullin <wrar@debian.org> - 2019-08-25 22:20 +0200

csiph-web