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

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Julian Gilbey <julian@d-and-j.net>
Newsgroups linux.debian.maint.python
Subject Re: Moving default branch after project creation
Date Wed, 07 Aug 2024 22:40:01 +0200
Message-ID <J8VBT-3p4M-1@gated-at.bofh.it> (permalink)
References <J8VBT-3p4M-3@gated-at.bofh.it>
X-Original-To Alexandru Mihail <alexandru.mihail2897@gmail.com>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Aug 7 20:34:12 2024
Old-Return-Path <julian@d-and-j.net>
X-Amavis-Spam-Status No, score=-7.2 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, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
Content-Type text/plain; charset=iso-8859-1
Content-Disposition inline
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22227
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/ZrPaMghVzHHpsfVY@d-and-j.net
Approved robomod@news.nic.it
Lines 35
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Wed, 7 Aug 2024 21:33:54 +0100
X-Original-Message-ID <ZrPaMghVzHHpsfVY@d-and-j.net>
X-Original-References <1d69b72d49000690b5510b224a4b633830de7761.camel@gmail.com>
Xref csiph.com linux.debian.maint.python:16188

Show key headers only | 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