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


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

Re: Upload request: psrecord (NEW)

From Peter Wienemann <wiene@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Upload request: psrecord (NEW)
Date 2024-12-01 17:50 +0100
Message-ID <JOViV-d1FM-7@gated-at.bofh.it> (permalink)
References (2 earlier) <JMo7L-bhbj-7@gated-at.bofh.it> <JMCDL-bqol-15@gated-at.bofh.it> <JNwcW-c3lM-9@gated-at.bofh.it> <JOruy-cIUu-9@gated-at.bofh.it> <JOViV-d1FM-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Alexandru,

On 2024-11-30 14:00:19, Alexandru Mihail wrote:
> Yes, there were some rogue commits in [upstream], I reimported upstream
> tar.gz and redone the whole process, it seems to build fine for me now
> in an empty sbuild.
> Seems fine now, thanks for the time; upload when you think OK.

I still see contents in the "upstream" branch which does not belong 
there, namely the "debian" directory containing your packaging files.

How do you manage the "upstream" and the "pristine-tar" branches? Those 
branches are somewhat special. There is usually no reason to touch those 
branches by hand. If you use "gbp import-orig", it takes care of those 
branches for you (see "man gbp import-orig"). It also automatically 
creates an upstream release tag for you (I do not see any in your 
repository).

An initial upstream code import could look like this:

$ mkdir psrecord && cd $_
$ git init
$ gbp import-orig --debian-branch=debian/master 
https://github.com/astrofrog/psrecord/archive/refs/tags/v1.4.tar.gz

This results in:

$ git branch
* debian/master
   pristine-tar
   upstream

$ git tag
upstream/1.4

The work on packaging the upstream code happens in the "debian" 
directory which must only be committed to the "debian/master" branch. 
Neglecting more complicated cases (uploads to distributions different 
from "unstable", handling patches, etc.) you always commit to the 
"debian/master" branch. The next commits to the "pristine-tar" and the 
"upstream" branches are added when you run "gbp import-orig" the next 
time to import a new upstream release. Again those commits to 
"pristine-tar" and "upstream" (and a new upstream release tag) are 
handled by "gbp import-orig". Importing new upstream releases can be 
done e. g. by running

$ gbp import-orig --uscan

provided you have a correctly set up gbp.conf and watch file.

I hope this clarifies the gbp workflow a bit. Sorry for not providing 
more in-depth information in my previous comments.

Best regards

Peter

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


Thread

Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-11-24 18:00 +0100
  Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-11-27 20:50 +0100
    Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-11-30 10:00 +0100
      Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-12-01 17:50 +0100
        Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-12-07 22:10 +0100
          Re: Upload request: psrecord (NEW) weepingclown <weepingclown@disroot.org> - 2024-12-08 18:00 +0100
            Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-12-08 18:40 +0100
              Re: Upload request: psrecord (NEW) weepingclown <weepingclown@disroot.org> - 2024-12-08 19:50 +0100
          Re: Upload request: psrecord (NEW) Peter Wienemann <wiene@debian.org> - 2024-12-08 18:20 +0100

csiph-web