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


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

Re: Guidence regarding package testing and patching

Path csiph.com!weretis.net!feeder8.news.weretis.net!srl.newsdeef.eu!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Jai kadam <jaivkadam@gmail.com>
Newsgroups linux.debian.maint.python
Subject Re: Guidence regarding package testing and patching
Date Fri, 05 Dec 2025 19:10:01 +0100
Message-ID <LYIpH-BY1-3@gated-at.bofh.it> (permalink)
References <LYg0p-iyc-3@gated-at.bofh.it> <LYnuV-nBX-3@gated-at.bofh.it> <LYnuV-nBX-1@gated-at.bofh.it> <LYHMZ-Bth-1@gated-at.bofh.it>
X-Original-To Soren Stoutner <soren@debian.org>, debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Dec 5 18:08:15 2025
Old-Return-Path <jaivkadam@gmail.com>
X-Amavis-Spam-Status No, score=-5.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no
X-Policyd-Weight using cached result; rate: -5.5
X-Forwarded-Encrypted i=1; AJvYcCWsLHnTNeT3PIbPaxvxnk1HAWka1B66og+4Mqh87SImPSTilbp/7rNtxhfMn9j2XxsecKJ0dnpZQFDf1EHT@lists.debian.org
X-Gm-Message-State AOJu0Yxr/ywX4J1acR9P4pDg1JKZqyKTk/JuvixxEQUc/+snOY0O+Ut4 OSKhhD0C3dmYqcIntr7rEcp9V/SAc12KXcPDDVZ/zuNiIj4F5JhdyhhZVTkichsBYQ7Ix21XM6h m/kNXHfsE1rIYHElbRV2I06H2+7Ct27s=
X-Gm-Gg ASbGncuwveu8w6lBDOapF1VpcLiYZQLlNbU4G0phgQEdR624rGBCVn6Zsl3vOsj+qgy hAppt/TTuArZK0f0cPYV4UKcj0lTb7Y1+JBXrHgI4Ks0w2Y8kUvbAJ8lK9QMuoQpRNrw54Q3KdC TiGLTd9PaXZyJXyOL3Rf6j9lrZ67sklgGqJrEoHasTcZ1UnLmzMpjaPiJqaIejUcBPkWie2+Y5z 0raJSx8u6d2tRs2JmBW2KfnaVYvzoF0kyR/snwufcBysj90tdd1E/2cs/MC3Ey5MvAVW8GOG6pe CrI5onG/AqnwvvbMHDEtBw4=
X-Google-SMTP-Source AGHT+IHDw8M4yV/JU9hJNrEclP70HRwFA95TaAzmLuuZk+2/1DS5+Z031/twArp8MvpzFhkCTgXQRoSJFJxVwEauqMg=
X-Received by 2002:a05:7022:688:b0:11b:2138:476a with SMTP id a92af1059eb24-11df0c3b09dmr8297712c88.27.1764958076668; Fri, 05 Dec 2025 10:07:56 -0800 (PST)
MIME-Version 1.0
X-Gm-Features AWmQ_blG01zJJTKz_JVugyUKK2KAMEAZFHHzgzqdPQCPKUj5Emh4ek06HC1W91I
Content-Type multipart/alternative; boundary="000000000000340e910645385300"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/23475
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAJcuXACgzfxCkgH1Y6EVaTi7KFcpKNc+fxB+0txjDUJZygboOg@mail.gmail.com
Approved robomod@news.nic.it
Lines 210
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 5 Dec 2025 23:37:44 +0530
X-Original-Message-ID <CAJcuXACgzfxCkgH1Y6EVaTi7KFcpKNc+fxB+0txjDUJZygboOg@mail.gmail.com>
X-Original-References <914e4295e638fb478a4d450df243fb876f72c22d.camel@gmail.com> <CAJcuXACaoMwu5qv8ZyF0vtEs8Bg91E1XJtJw-U9eo1Bv7gTfTg@mail.gmail.com> <aTHk2t1A3itaOV0g@belkar.wrar.name> <1835172.cot9YJUmRx@soren-desktop>
Xref csiph.com linux.debian.maint.python:17241

Show key headers only | View raw


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

On Fri, 5 Dec, 2025, 10:59 pm Soren Stoutner, <soren@debian.org> wrote:

> On Thursday, December 4, 2025 12:45:30 PM Mountain Standard Time Andrey
> Rakhmatullin wrote:
> > On Fri, Dec 05, 2025 at 01:12:14AM +0530, Jai kadam wrote:
> > >> >> You can also consult its manpage to learn what does it do.
> > >> >
> > >> >I see, I read the man page just now after your suggestion it's not
> > >>
> > >> detailed.
> > >>
> > >> It's very detailed
> > >
> > >By manual you mean "man gbp" or something else?
> >
> > I mean gbp-push(1), you could learn that it exists from "SEE ALSO" of
> > gbp(1).
>
> To add a bit more information about the behavior of "gbp push” and “git
> push”
> and when to use them and mix their uses:
>
> 1.  The key to understanding this is that “gbp push” will push the
> following
> things:
>
> a.  The pristine-tar branch (if in use).
> b.  The upstream branch.
> c.  Any new tags on the upstream branch.
> d.  The debian branch, but only if the changelog does not target
> UNRELEASED.
> e.  Check for a new tag in the debian branch for the latest changelog
> entry
> and push it, but only if the changelog does not target UNRELEASED.
>
> 2.  What we want to avoid is pushing a debian/X.Y-Z tag on the debian
> branch
> before X.Y-Z has actually been accepted into Debian.
>
> 3.  The following workflow accomplishes this:
>
> a.  gbp import-orig --uscan (this updates pristine-tar if used, the
> upstream
> branch, the debian branch, and creates a new upstream tag).
> b.  dch  (adjust the changelog version number accordingly, but leave the
> target as UNRELEASED).
> c.  gbp buildpackage (make sure the package builds).
> d.  <Fix any problems>.
> e.  gbp push (this pushes pristine-tar if in use, the upstream branch, and
> the
> new upstream branch tag, but not the debian branch because the changelog
> targets UNRELEASED).
> f.  git push (this pushes the debian branch).
>
Noted! :)

>
> 4.  When ready to release:
>
> a.  dch -r (this changes the target from UNRELEASED to unstable, edit to
> experimental if desired).
>
This is same as dch --release rigth ? Si it also adds the commit messages

b.  gbp buildpackage (build the package with the final changelog).
> c.  Upload the package.
> d.  gbp tag (this creates the debian/X.Y-Z tag, typically one only does
> this
> after the package has been accepted into Debian).
> e.  gbp push (this pushes the debian/X.Y-Z tag).
>
That is use gbp push only once at the very end , right?

>
> Note that it is possible to do all of this using a plethora of git
> commands.
> gbp simply makes it easier.
>
> On a side note, "gbp clone” is just like “git clone” except that it
> automatically clones the pristine-tar branch (if used), the upstream
> branch,
> and the debian branch, whereas “git clone” just clones the default branch
> and
> requires extra commands to populate the other ones.
>
> --
> Soren Stoutner
> soren@debian.org

Thank you!

Back to linux.debian.maint.python | Previous | NextNext in thread | Find similar


Thread

Re: Guidence regarding package testing and patching Jai kadam <jaivkadam@gmail.com> - 2025-12-05 19:10 +0100
  Re: Guidence regarding package testing and patching Soren Stoutner <soren@debian.org> - 2025-12-05 19:20 +0100
    Re: Guidence regarding package testing and patching Jai kadam <jaivkadam@gmail.com> - 2025-12-05 19:30 +0100
      Re: Guidence regarding package testing and patching Soren Stoutner <soren@debian.org> - 2025-12-05 19:50 +0100

csiph-web