Ian Jackson wrote: > Please go ahead, but into experimental. You will probably want to use > 0.8 which I have just pushed. > > You should be able to make an "empty" NMU by just adding a > debian/changelog entry.
I did this successfully. However, my first build attempt failed because git-buildpackage wanted to be on an experimental branch rather than the sid branch dget clone set up. My next build failed because I ran dpkg-buildpackage in my usual way, which includes -I, and this excluded .gitignore from the tarball. The source consistency check then failed. So then I tried leaving -I off, but of course this included the whole .git directory in the tarball, which was clearly wrong. I then tried dgit build --git-ignore-branch. This built the right tarball, but I was a bit worried that dgit push might push to the sid branch, which I was currently on. I decided to go ahead with the push, on the basis that if I did something wrong you'd have a nice test case to fix in dgit.git. It seems to have done the right thing in the end. The rest of the push succeeded. Seems that some of this could be improved, but I don't know how, other than perhaps passing --git-ignore-branch to git-buildpackage by default. (Probably doesn't help that I have never bothered to learn git-buildpackage, since I considered it a fundamentally wrong approach to the problem, and insanely complicated for what it does. It is thus somewhat disconcerting to see it used in dgit..) -- see shy jo
signature.asc
Description: Digital signature

