git-buildpackage icon indicating copy to clipboard operation
git-buildpackage copied to clipboard

WIP: Switch default Debian branch to 'debian/latest' (Closes: #829444)

Open ottok opened this issue 1 year ago • 2 comments

As defined by DEP14, the default Debian packaging branch name should be 'debian/latest' instead of 'master.

https://dep-team.pages.debian.net/deps/dep14/

Closes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829444

ottok avatar Jan 05 '24 04:01 ottok

Salsa-CI running at https://salsa.debian.org/otto/git-buildpackage/-/pipelines

ottok avatar Jan 05 '24 04:01 ottok

I understand the tests and the git/repository.py class enough so that I got all tests passing at https://salsa.debian.org/otto/git-buildpackage/-/jobs/5147497 (however CI fails on packaging step on seemingly unrelated issue). As a side effect of testing running tests in isolated container locally I also wrote #95.

However, this is far from complete. As discussed in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829444#45 we need to figure out how to detect new repositories and only apply the default new branch name debian/latest on new repositories, along with an extension to the test suite to verify that old repositories will continue to work with zero changes.

ottok avatar Jan 12 '24 05:01 ottok

This work continues in https://salsa.debian.org/agx/git-buildpackage/-/merge_requests/1, so I am closing this GitHub PR.

ottok avatar Jan 07 '25 04:01 ottok