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


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

Re: Moving default branch after project creation

From Julian Gilbey <julian@d-and-j.net>
Newsgroups linux.debian.maint.python
Subject Re: Moving default branch after project creation
Date 2024-08-07 22:40 +0200
Message-ID <J8VBT-3p4M-1@gated-at.bofh.it> (permalink)
References <J8VBT-3p4M-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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?

> (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'

Have you tried using the web interface to change the default?
(Settings > Repository) Create a new branch called debian/latest,
branched from master, then set the default branch to debian/latest
(and perhaps unprotect the master branch on the same page).

Best wishes,

   Julian

Back to linux.debian.maint.python | Previous | NextNext 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