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


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

Re: morph's abandoned packages (list)

From Bo YU <tsu.yubo@gmail.com>
Newsgroups linux.debian.maint.python
Subject Re: morph's abandoned packages (list)
Date 2024-03-30 02:10 +0100
Message-ID <Invol-2E27-1@gated-at.bofh.it> (permalink)
References (2 earlier) <Iicw1-gQif-3@gated-at.bofh.it> <InqRH-2Bh4-11@gated-at.bofh.it> <InqRH-2Bh4-13@gated-at.bofh.it> <InqRH-2Bh4-9@gated-at.bofh.it> <Invol-2E27-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


hi!

On Sat, Mar 30, 2024 at 8:20 AM Thomas Goirand <zigo@debian.org> wrote:
>
> On 3/29/24 21:18, Timo Röhling wrote:
> > Hi Thomas,
> >
> > * Thomas Goirand <zigo@debian.org> [2024-03-17 23:09]:
> >> Anyone is welcome to join, it's just that I'm using git tag workflow,
> >> so it doesn't fit in the DPT, but that's the only thing.
> > I am not familiar with that workflow and could not find any
> > documentation. Can you give me a quick overview what I should do
> > differently from the "regular" DPT workflow?
> >
> > Cheers
> > Timo
>
> I'm not using pristine-tar, or gbp import-orig, and don't use upstream
> tarballs, but git only. Everything is done in a single (debian) branch.
Just share the workflow of DPT I always follow[0]:
```
$ uscan   # Download your package's upstream original tarball
$ tar -xvf srcpkgname_1.0.orig.tar.gz
$ cd srcpkgname_1.0
$ git init
$ git checkout -b upstream
$ git add .
$ git commit -m "import srcpkgname_1.0.orig.tar.gz"
$ git tag -s upstream/1.0
$ pristine-tar commit ../srcpkgname_1.0.orig.tar.gz upstream
$ git checkout -b debian/master
```
And upgrade upstream release[1]. These should be enough.
If given team maintenance, I would like to suggest to follow this.

[0]: https://wiki.debian.org/Python/GitPackaging#Creating_a_new_package
[1]: https://wiki.debian.org/Python/GitPackaging#New_upstream_release

> The only thing that needs to be done, is to push upstream tags to the
> Debian repository. The git history contains all upstream commits then,
> because the workflow is to merge upstream tag.
>
> To upgrade to a newer upstream tag, simply do:
>
> ./debian/rules fetch-upstream-remote
> git merge -X theirs <TAG>
> dch --newversion <TAG> -m "New upstream release."
>
> Then simply generate the upstream tarball from the git tag:
> ./debian/rules gen-orig-xz
>
> The fetch-upstream-remote and gen-orig-xz are from the
> openstack-pkg-tools package, though I heard others in Debian have
> standardized on something else. But who cares what wrapper one is using,
> really. The point is to fetch upstream tags, merge them, and use "git
> archive" to generate an orig tarball before building and uploading to
> Debian.
>
> If the upstream release was already uploaded to Debian, best is to
> download it instead of generating it, as (like with pristine-tar)
> regenerating it may (in some cases) lead to a different checksum.
>
TIL also, thanks.

BR,
Bo
> Cheers,
>
> Thomas Goirand (zigo)
>

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


Thread

morph's abandoned packages (list) Julian Gilbey <julian@d-and-j.net> - 2024-03-14 07:30 +0100
  Re: morph's abandoned packages (list) Andreas Tille <andreas@an3as.eu> - 2024-03-14 11:40 +0100
  Re: morph's abandoned packages (list) Thomas Goirand <thomas@goirand.fr> - 2024-03-15 08:30 +0100
    Re: morph's abandoned packages (list) Andreas Tille <andreas@an3as.eu> - 2024-03-15 11:00 +0100
  Re: morph's abandoned packages (list) Timo Röhling <roehling@debian.org> - 2024-03-15 10:00 +0100
    Re: morph's abandoned packages (list) Andreas Tille <andreas@an3as.eu> - 2024-03-15 11:00 +0100
      Re: morph's abandoned packages (list) Timo Röhling <roehling@debian.org> - 2024-03-29 21:20 +0100
        Re: morph's abandoned packages (list) Bo YU <tsu.yubo@gmail.com> - 2024-03-30 02:10 +0100
          Re: morph's abandoned packages (list) Julian Gilbey <julian@d-and-j.net> - 2024-03-31 13:40 +0200
            Re: morph's abandoned packages (list) thomas@goirand.fr - 2024-03-31 14:20 +0200
              Re: morph's abandoned packages (list) Julian Gilbey <julian@d-and-j.net> - 2024-03-31 15:20 +0200
  Re: morph's abandoned packages (list) Julian Gilbey <julian@d-and-j.net> - 2024-03-15 11:30 +0100
    Re: morph's abandoned packages (list) Jelmer Vernooij <jelmer@jelmer.uk> - 2024-03-15 12:00 +0100
  Re: morph's abandoned packages (list) Jelmer Vernooij <jelmer@jelmer.uk> - 2024-03-15 11:30 +0100
  Re: morph's abandoned packages (list) Michael Fladischer <michael@fladi.at> - 2024-03-15 12:20 +0100
  Re: morph's abandoned packages (list) Andrey Rakhmatullin <wrar@debian.org> - 2024-03-15 13:30 +0100
    Re: morph's abandoned packages (list) Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-03-15 14:30 +0100
      Re: morph's abandoned packages (list) Martin <debacle@debian.org> - 2024-03-15 15:40 +0100
        Re: morph's abandoned packages (list) Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-03-16 01:20 +0100
      Re: morph's abandoned packages (list) Nilesh Patra <nilesh@debian.org> - 2024-05-11 20:50 +0200
        Bug#1065325: morph's abandoned packages (list) Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-05-12 00:00 +0200
          Bug#1065325: morph's abandoned packages (list) Nilesh Patra <nilesh@debian.org> - 2024-05-12 16:00 +0200
  mkautodoc adopted Antonio Terceiro <terceiro@debian.org> - 2024-03-15 20:20 +0100
  colorspacious adopted Étienne Mollier <emollier@debian.org> - 2024-03-16 18:50 +0100
  Bug#1066146: morph's abandoned packages (list) Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-03-16 18:50 +0100
    #1066146 RM: flask-basicauth (Re: morph's abandoned packages (list)) Carsten Schoenert <c.schoenert@t-online.de> - 2024-03-17 08:20 +0100
      Re: #1066146 RM: flask-basicauth (Re: morph's abandoned packages  (list)) Andreas Tille <andreas@an3as.eu> - 2024-03-18 21:20 +0100
        Re: #1066146 RM: flask-basicauth (Re: morph's abandoned packages  (list)) Carsten Schoenert <c.schoenert@t-online.de> - 2024-03-19 07:10 +0100
          Re: #1066146 RM: flask-basicauth (Re: morph's abandoned packages  (list)) Andreas Tille <andreas@an3as.eu> - 2024-03-19 08:50 +0100
    Bug#1066146: morph's abandoned packages (list) Daniele Tricoli <eriol@mornie.org> - 2024-04-08 19:00 +0200
  Updated package list with packages open for adoption (Was: morph's  abandoned packages (list)) Andreas Tille <andreas@an3as.eu> - 2024-03-28 10:30 +0100
    Re: Updated package list with packages open for adoption (Was:  morph's abandoned packages (list)) Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-03-28 12:00 +0100
    Re: Updated package list with packages open for adoption (Was:  morph's abandoned packages (list)) Andreas Tille <andreas@an3as.eu> - 2024-03-28 23:10 +0100

csiph-web