Simon McVittie <s...@debian.org> writes:

> Here's a maybe-stupid idea: use http://dep.debian.net/deps/dep14/ branch
> naming (debian/master, debian/experimental) for that branch, and switch to
> it as the default branch (edit foo.git/HEAD on alioth) when unfreezing
> and "officially" switching to gbp-pq?

One thing we could do right now, for selected packages, is create a
debian/experimental branch, switch to gbp-pq, update to latest upstream,
and upload to experimental. This will not interfere in any way to do
updates to unstable/testing - which still use the master branch, and
similarly won't cause any confusion which branch to use.

These packages that we do this to probably should be excluded from any
post-freeze automatic bulk switch to gbp-pq however. As the procedure is
likely to different (unless there are changes in the master branch, this
probably just involve creating a new debian/master branch from
debian/experimental and deleting the old master branch).

It might pay to have a list somewhere of packages that have already been
converted to gbp-pq, and what branches. Of course it is easy to
autodetect this too, just look for the presence of a debian/.git-dpm
file in that selected branches.

Before doing any automated conversion, we should make the following
checks on the following branches:

* master: exists and has debian/.git-dpm file
* debian/master: this branch should not exist - no DPMT package should
  be using this branch name yet.
* debian/experimental: if this exists it should have a debian/.git-dpm

If any of these checks fails, the respository should be converted
manually. Or it might be an indication that the repository is already in
the required format.

Any other branches are probably not that important for the initial
conversion and can be done manually as required.

Assuming at the moment, that only few packages would require manual
processing, otherwise this may require a rethink.
-- 
Brian May <b...@debian.org>

Reply via email to