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