Re: git-dpm (was Re: Bug#729956: Forwarded upstream)
On Thursday, September 07, 2017 09:28:11 AM Brian May wrote:
> On 2017-09-07 08:42, Scott Kitterman wrote:
> > Conveniently, we already decided to switch:
> >
> > https://wiki.debian.org/Python/GitPackagingPQ
>
> It was annoying me that these instructions were missing the last steps
> on how to switch the default branch to debian/master and delete the old
> branch.
>
> These steps are very important to:
>
> (a) prevent confusion on which branch to use.
> (b) prevent confusion on qa.debian.org, which uses the default branch to
> check that the git version.
>
> === cut ===
>
> ssh git.debian.org
> cd "/git/python-modules/packages/$1.git"
> git symbolic-ref HEAD refs/heads/debian/master
> exit
>
> cd "$TMP"
> git push origin :master
>
> === cut ===
>
> I also have a script to automate the entire conversion, and assuming the
> git repository is up-to-date and nobody is withholding pushes, it seems
> to work well.
>
> /srv/home/users/bam/convert on git.debian.org
I know this is excessively snarky, but it's the best I can manage late at
night:
It's a wiki. The resolution of your annoyance is within your grasp.
Scott K
Reply to: