Sean Whitton writes ("Bug#886625: push-source should be usable no matter the
state of the working tree"):
> Package: dgit
> Version: 4.2
> Severity: wishlist
...
> It would be better if `dgit push-source` could operate on HEAD alone, no
> matter the state of the working tree. That would render it closer to
> pure `git push`. Perhaps build_source() could set up a private git
> worktree and invoke dpkg-source on that.
Yes. All the necessary infrastructure exists, I think.
I think we should probably retain the current checks that the working
tree is up to date, to avoid accidents. But would could avoid running
clean. So we should check there are no un-ignored untracked files,
but not mind ignored ones.
> -- though we need to think about
> whether `dgit build-source` too should operate only on HEAD, rather than
> the working tree as at present.
Maybe. I think build-* are for the old package-ish workflow. (Now
that push-source exists I'm not sure why you would build-source,
really.)
Ian.
--
Ian Jackson <[email protected]> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.