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


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

Re: Guidence regarding package testing and patching

Path csiph.com!xmission!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From Jai kadam <jaivkadam@gmail.com>
Newsgroups linux.debian.maint.python, linux.debian.devel.mentors
Subject Re: Guidence regarding package testing and patching
Date Fri, 05 Dec 2025 19:30:01 +0100
Message-ID <LYIJ3-C52-5@gated-at.bofh.it> (permalink)
References <LYg0p-iyc-3@gated-at.bofh.it> <LYHMZ-Bth-1@gated-at.bofh.it> <LYIpH-BY1-3@gated-at.bofh.it> <LYIzn-C1N-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Dec 5 18:29:11 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; AJvYcCUMlBp/1UHjRuqLCtrvbnNq1CM3mWnrQnmawa9FaETepXy/oRxkpy+R57mYMib+vbNYgvW6xJosaw51KAtL@lists.debian.org
X-Gm-Message-State AOJu0Yyb0aSedKQZs5qwpzLGBxxSA8fP+326w6n9EIiyjT2eIo4OsKz7 BvZKA83gzRhFwo9P+6vcGGNHYDj3Ua6UEclCW0dSmG9QghsGvVTY4mDl6sLBQJ9Ypm4FnNCJQmv eDAzhY09nObCfMW4lZ63C2T/UB2fQjvs=
X-Gm-Gg ASbGnctj2K5P0noT7xZkLbPLKWQX/JdeVKEMvYp6HT/pv9NqP59UxQ6CLt5tZCBOKq0 mzr1Z3U6I3KmS5AcBiC3OHXJk91xxG6Uit0Y7rjsz1ChqJS4DFryG1hJfaHCAbu1gLrfn8SM7fD yIAZ39NTuvZ78ueDdSP+8lmJKnfj3gl6nleDWf7C0whQ3wkwSUr8XQiKK9dgkAvMiDsHp3XWUwB oC4Tff34bDWPpGxV0rDGSDdZr7Oxp/EI4LWVdIcSEDCdu913WDLNLk6EwIgmzPgPhfjNs4BqQbz BcmGSabM/aNW7hTJ+xCgp34=
X-Google-SMTP-Source AGHT+IFkp3Ji8MQ7xleNvSqNZic5ochPaub6EhVJARpw97sWugmeEbcygCNLgW7FPyHsHgPccJXkI+7+JiEwYGs2t/I=
X-Received by 2002:a05:701a:c967:b0:11b:9152:b3ad with SMTP id a92af1059eb24-11e0329e413mr23388c88.31.1764959329599; Fri, 05 Dec 2025 10:28:49 -0800 (PST)
MIME-Version 1.0
X-Gm-Features AWmQ_blCqXaYlq5n14M1snitGc8dbV8yiUAX197FH2TaL62kXViFLMphmxRfMYE
Content-Type multipart/alternative; boundary="000000000000e244c60645389d41"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/23477
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAJcuXADa+3O7UzxZYkNSGnNHXUEXs9NdrerhVF=USSQKonk-SA@mail.gmail.com
Approved robomod@news.nic.it
Lines 280
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 5 Dec 2025 23:58:38 +0530
X-Original-Message-ID <CAJcuXADa+3O7UzxZYkNSGnNHXUEXs9NdrerhVF=USSQKonk-SA@mail.gmail.com>
X-Original-References <914e4295e638fb478a4d450df243fb876f72c22d.camel@gmail.com> <1835172.cot9YJUmRx@soren-desktop> <CAJcuXACgzfxCkgH1Y6EVaTi7KFcpKNc+fxB+0txjDUJZygboOg@mail.gmail.com> <16652957.1uztYCDPK9@soren-desktop>
Xref csiph.com linux.debian.maint.python:17243 linux.debian.devel.mentors:48189

Cross-posted to 2 groups.

Show key headers only | View raw


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

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

> Resending as I realized I had accidentally dropped the debian-python list.
>
> On Friday, December 5, 2025 11:07:44 AM Mountain Standard Time you wrote:
> > 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
>
> Yes, “dch -r” and “dch --release” are the same.
>
> > 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?
>
> No, you also use “gbp push” in step 3.e above.  Otherwise, you need to use
> multiple git commands to do the same things, which would be to push the
> pristine-tar branch (if in use), the upstream branch, and the upstream
> tag.
> If these things are not done at this step, other people who clone the
> repository cannot build the changes you have just made.  When reviewing
> packages that other people have submitted to mentors I do the following.
>
> 1.  gbp clone (if I haven’t already cloned the repository).
> 2.  gbp pull (this pulls all three branches and the tags, so that I can
> review
> the most recent changes).
> 3.  gbp buildpackage.
>
> If you don’t get step 3.e and 3.f right, "gbp buildpacakge" will fail for
> me.
>
Oh i see cause debian-branch will have the previous version of code cause
gbp never uploads it while in unreleased state and we only do dch -r when
we get a green flag from a mentor or maintianer of the package which then
sets it to unstable and then when we run gbp tag and gbp push all work is
done.

Is my understanding rigth ?

> --
> Soren Stoutner
> soren@debian.org
>

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next 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