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


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

Re: Moving default branch after project creation

Path csiph.com!news.mixmin.net!news2.arglkargh.de!news.karotte.org!fu-berlin.de!bofh.it!news.nic.it!robomod
From Carsten Schoenert <c.schoenert@t-online.de>
Newsgroups linux.debian.maint.python
Subject Re: Moving default branch after project creation
Date Thu, 08 Aug 2024 09:00:01 +0200
Message-ID <J95hT-3v72-1@gated-at.bofh.it> (permalink)
References <J8VBT-3p4M-3@gated-at.bofh.it> <J8VBT-3p4M-1@gated-at.bofh.it> <J92tH-3tk7-1@gated-at.bofh.it> <J94lP-3uxT-3@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Aug 8 06:51:27 2024
Old-Return-Path <c.schoenert@t-online.de>
X-Amavis-Spam-Status No, score=-7.897 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -5.5
X-Greylist delayed 535 seconds by postgrey-1.36 at bendel; Thu, 08 Aug 2024 06:51:11 UTC
MIME-Version 1.0
User-Agent Mozilla Thunderbird
Content-Language en-US
Autocrypt addr=c.schoenert@t-online.de; keydata= xsFNBFIDTk4BEACx6disb51q5rTdDmnkOayFDiLgOrZ4InnRmbTsgYJaigcRXjVtjFaxwL0M Qtzrt9srlLBReWD4JvoLP9/8z2C1ORaoOUatApssuKd32Qa80lBlduIQCfaZ6K5Ij0TXeqIb dWXMWSvpaOwt+ecBGSdEepgABtxO9Xel9zqDsAauFxBRHGzJs3bSG8QRtwnQA2+9J8UEtzAc dY69YAkF3Q6HIPP/0mbGiget/1WGR+8tPKlVMYcgZtGIP2J36GkDbfDvdbH5QLn2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iRgxWx5meU9LfZzf8Ijzv6e67q1O G+JAKvitV4UvUo9l05ewadRg53QpWNmmRHSXflpmw0PX5C9TKsyY/Sg4DdBf2NIzktQyOxya T2yHaVuQUUQRQ0248NdA1ql7zV48ZjF1ADhagQ8bgYuGMdOW6upfUBvPqQl0poV8FwjNErex N+CUbA5inlT9oIP03LtwZoKKDuK2PojoTtGp7WZ4ryQX9i9ogUOGknAABxFg4iMBQVkyl9oF QSgHa0HlbjRj8uY1kqsO4FgrcoGiouNzEfhP5zpxvCg3BBuWngo9ApU+MXOAwuq1Gt4dzUg4 7Ir2s32nhiv5TErJzPdNrUSK/tOUZOSkOzXv1kOGbXAlhC/5a5VGfA99uFcYK899gpfB4q64 jrc3wewP0MXjVl8U004Px7sYT4BkAoCupRtmBoRWhttvbcv6T8uFMAF+j91ng0X1+n21fV+O 9wPRnD3/KJThRVMR8poUevmJbFgPfvGGmz1asVIK8tBamAZp5aCeqZ7HVkTmMbj1x07Ry7o0 iWLO
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Toi-Expurgateid 150726::1723099327-80FF6E83-D71A81ED/0/0 CLEAN NORMAL
X-Toi-Msgid 0962afec-7649-4a5e-9754-6669c518dd72
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22231
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/1f650e89-81ab-4ca5-a287-78276be30bc5@t-online.de
Approved robomod@news.nic.it
Lines 116
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 8 Aug 2024 08:42:07 +0200
X-Original-Message-ID <1f650e89-81ab-4ca5-a287-78276be30bc5@t-online.de>
X-Original-References <1d69b72d49000690b5510b224a4b633830de7761.camel@gmail.com> <ZrPaMghVzHHpsfVY@d-and-j.net> <517f1fe1-825a-4bc8-ba8a-b008756b53fc@t-online.de> <ZrRdgWNBg28pdi0o@d-and-j.net>
Xref csiph.com linux.debian.maint.python:16192

Show key headers only | View raw


Am 08.08.24 um 07:54 schrieb Julian Gilbey:
> The OP specifically said they got it from DEP-14.  Thanks also to
> Nicholas for reminding me of the DEP-14 history!

I don't see what makes the difference in the end?

There is a DPT policy that enforces to usage of the branch name 
debian/master for working on versions intended for unstable/sid.

Alexandru has permissions of the group Developer according to the 
members list overview. It might be that this membership is restricted to 
not being able to change the default branch. I haven't looked deeper 
into this.

The current structure of the tree is wrong to me or at least contains a 
useless branch.

> $ git logg
> * commit 4c0b559c9f60321be2fa412d73555ab38c517f16 (origin/pristine-tar)
>   Author: Alexandru Mihail <alexandru.mihail2897@gmail.com>
>   Date:   Wed Aug 7 19:11:03 2024 +0300
>   
>       pristine-tar data for psrecord_1.4.orig.tar.gz
>   
> * commit 1443d1a19aeed367f2f2131757f01e2b9eafcfb4 (tag: upstream/1.4, origin/upstream, origin/debian/master)
> | Author: Alexandru Mihail <alexandru.mihail2897@gmail.com>
> | Date:   Wed Aug 7 18:46:41 2024 +0300
> | 
> |     New upstream version 1.4
> | 
> * commit 4c41bddf5c750a5c694aaba42c8252b444856ff7 (HEAD -> main, origin/main, origin/HEAD)
>   Author: Alexandru Mihail <alexandru.mihail2897@gmail.com>
>   Date:   Wed Aug 7 15:21:38 2024 +0000
>   
>       Initial commit

There is the branch 'main' which contains just one file 'Readme.md'.

That one single commit is the parent for the two branches 'upstream' and 
'debian/master' which includes the upstream source I guess as there is 
also the tag upstream/1.4.

@Alexandru
For starting a packaging the git tree on Salsa is quite the last thing 
you need to deal with (except you need a repo quite early in case of 
needed and wanted collaboration with others).

I guess you did something like this at the start, if not you could do it 
this way.

$ # get the upstream tarball e.g. into ~/Downloads
$ mkdir python-psrecord
$ cd python-psrecord
$ $ git init
$ $ gbp import-orig --verbose --sign-tags --pristine-tar 
--upstream-branch=upstream --debian-branch=debian/master 
~/Downloads/psrecord-1.4.tar.gz
$ git branch -a
* debian/master
   pristine-tar
   upstream
$ git logg
* commit 6dc6446feb741badb628632a20a8fd64be3dd98e (HEAD -> 
debian/master, tag: upstream/1.4, upstream)
   Author: Carsten Schoenert <c.schoenert@t-online.de>
   Date:   Thu Aug 8 08:17:32 2024 +0200

       New upstream version 1.4

* commit a309926d28d52527e88e3c96c7d2ec2c4b74347d (pristine-tar)
   Author: Carsten Schoenert <c.schoenert@t-online.de>
   Date:   Thu Aug 8 08:17:32 2024 +0200

       pristine-tar data for psrecord_1.4.orig.tar.gz

Or you create the folder debian/ and here a file gbp.conf with this 
minimal content:

[DEFAULT]
pristine-tar = True
compression = gz
debian-branch = debian/master
upstream-branch = upstream

and use than for importing this command

$ gbp import-orig --verbose --sign-tags ~/Downloads/psrecord-1.4.tar.gz


If you are not that familiar with the GitLab/Salsa UI I strongly suggest 
you start the packaging in your own namespace and ask for reviewing, the 
git tree can later be easily moved into the DPT namespace!
In your name space you can do e.g. force pushing, branch and tag 
deleting that are not allowed normally if you use the official DPT 
namespace.

For now I suggest to delete all content in 
https://salsa.debian.org/python-team/packages/psrecord so an empty 
repository is left.

Also add please some more information into the field of the project 
description e.g. what the upstream url of the project is.

If you not able to delete the now existing stuff please raise your 
hands. The repo could also moved into your namespace so you would have 
full access rights.

BTW: Within the ITP #1075810 you stated you want to maintain this 
package on your own, did you changed your minds?

And please use python-psrecord as source package name, psrecord is quite 
generic. A name python-psrecord would show it is a Python related package.

-- 
Regards
Carsten

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


Thread

Re: Moving default branch after project creation Julian Gilbey <julian@d-and-j.net> - 2024-08-07 22:40 +0200
  Re: Moving default branch after project creation Nicholas D Steeves <sten@debian.org> - 2024-08-08 01:00 +0200
  Re: Moving default branch after project creation Carsten Schoenert <c.schoenert@t-online.de> - 2024-08-08 06:00 +0200
    Re: Moving default branch after project creation Julian Gilbey <julian@d-and-j.net> - 2024-08-08 08:00 +0200
      Re: Moving default branch after project creation Carsten Schoenert <c.schoenert@t-online.de> - 2024-08-08 09:00 +0200
        Re: Moving default branch after project creation Martin <debacle@debian.org> - 2024-08-08 09:50 +0200
          Re: Moving default branch after project creation Carsten Schoenert <c.schoenert@t-online.de> - 2024-08-08 13:10 +0200
      Re: Moving default branch after project creation Carsten Schoenert <c.schoenert@t-online.de> - 2024-08-12 08:20 +0200
        Re: Moving default branch after project creation Alexandru Mihail <alexandru.mihail2897@gmail.com> - 2024-08-12 09:40 +0200

csiph-web