Package: dgit-infrastructure
Version: 13.12

Suppose the .orig does not correspond to git, with --gbp.  The report
from the service says something like this:

dgit (build host): error: --quilt=gbp specified, implying patches-unapplied git 
tree
dgit (build host):  but git tree differs from orig in upstream files.
dgit (build host): For full diff showing the problem(s), type:
dgit (build host):  git diff 3dc896d3ad928ebe52de591f7c8038f5899fad3a HEAD -- 
:/ ':!debian' ':!/.gitignore' ':!*/.gitignore'
dgit (build host): 
dgit (build host): base trees orig=3dc896d3ad928ebe52de 
o+d/p=d925b4301af2132664e5
dgit (build host): quilt differences: src:  ## orig ##     gitignores:  == orig 
==
dgit (build host): quilt differences:      HEAD ## o+d/p               HEAD == 
o+d/p

But this instruction to the user is completely useless to them,
because the referenced git objects include the .orig import performed
by dgit and therefore in only exist (briefly) in the tag2upload
builder VM.

firstly, we should definitely print a diffstat in t2u mode.

Secondly, we could give the user a repro instruction that will
actually work.  That instruction would have to involve the user
running dgit download-unfetched-origs, or equivalent.  We might want
to provide a bespoke repro script.  But there are difficulties: the
user may not have dgit.deb installed, or may be on a different suite.

Ian.

-- 
Ian Jackson <[email protected]>   These opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.

Reply via email to