Hi, I've recently created https://salsa.debian.org/python-team/packages/psrecord following
previous ITP. The main branch was set to main and I'd like to move it
to DEP compliant debian/master and delete the main branch.
(Maybe I screwed up by forgetting to uncheck the Readme.md first commit
?)
I cannot delete the default branch as expected, but Salsa doesn't let
me move it to debian/master either. I think I don't have the required permissions.
remote: GitLab: The default branch of a project cannot be deleted.
To salsa.debian.org:python-team/packages/psrecord.git
! [remote rejected] main (pre-receive hook declined)
error: failed to push some refs to 'salsa.debian.org:python- team/packages/psrecord.git'
On Wed, Aug 07, 2024 at 08:27:33PM +0300, Alexandru Mihail wrote:
Hi, I've recently created
https://salsa.debian.org/python-team/packages/psrecord following
previous ITP. The main branch was set to main and I'd like to move it
to DEP compliant debian/master and delete the main branch.Ā
The candidate DEP-14 (https://dep-team.pages.debian.net/deps/dep14/) currently reads:
In Debian this means that uploads to unstable and experimental
should be prepared either in the debian/latest branch or
respectively in the debian/unstable and debian/experimental
branches.
I'm not sure where you got debian/master from?
The candidate DEP-14 (https://dep-team.pages.debian.net/deps/dep14/) currently reads:
In Debian this means that uploads to unstable and experimental
should be prepared either in the debian/latest branch or
respectively in the debian/unstable and debian/experimental
branches.
I'm not sure where you got debian/master from?
Am 07.08.24 um 22:33 schrieb Julian Gilbey:
The candidate DEP-14 (https://dep-team.pages.debian.net/deps/dep14/) currently reads:
In Debian this means that uploads to unstable and experimental
should be prepared either in the debian/latest branch or
respectively in the debian/unstable and debian/experimental
branches.
I'm not sure where you got debian/master from?
From the Team Policy?
https://salsa.debian.org/python-team/tools/python-modules/blob/master/policy.rst#branch-names
The OP specifically said they got it from DEP-14. Thanks also to
Nicholas for reminding me of the DEP-14 history!
$ 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
$ gbp import-orig --verbose --sign-tags --pristine-tar --upstream-branch=upstream --debian-branch=debian/master ~/Downloads/psrecord-1.4.tar.gz
On 2024-08-08 08:42, Carsten Schoenert wrote:
$ gbp import-orig --verbose --sign-tags --pristine-tar
--upstream-branch=upstream --debian-branch=debian/master
~/Downloads/psrecord-1.4.tar.gz
I suggest to use `upstream/latest` as upstream branch.
It spares you separating upstream/latest, upstream/master,
upstream/whatever later.
Thanks everyone for chiming in !
Debates around the branch name aside, I still can't find out how to
access the Gitlab settings button to change the default to anything.
It's a permissions thing I think. When I access a project under my
personal namespace I see the settings button, all is well. Here, it's
just missing. I was able to create the project, of course.
$ 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, upstream)
| 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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 84:41:04 |
Calls: | 8,091 |
Files: | 13,069 |
Messages: | 5,851,128 |