WIP: Switch default Debian branch to 'debian/latest' (Closes: #829444)
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
Salsa-CI running at https://salsa.debian.org/otto/git-buildpackage/-/pipelines
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.
This work continues in https://salsa.debian.org/agx/git-buildpackage/-/merge_requests/1, so I am closing this GitHub PR.