Ian Jackson writes ("Re: Bug#908417: dgit does not handle debian/.gitignore 
missing from source package"):
> I will file a bug against dpkg requesting a command line option which
> resets the tar-ignore list.

I've just filed
  #908742 Want way to reset tar-ignore list

> Even if and when that is all done, you will still have the problem
> that source packages built in whatever way generated the errors above
> will still be wrong: they will wrongly lack debian/.gitignore.

It occurs to me that I think you can give a value for the tar-ignore
option.  So maybe you can say   tar-ignore=.git  ?

Probably, then, you want to put into debian/source/options the output
from
  dgit print-dpkg-source-ignores
which is currently
  -i(?:^|/)\.git(?:/|$) -I.git
It might change if we find bugs in it.  That has happened once
already.  But if your package doesn't contain files for which that
rune is buggy, I think you should be OK.

HTH.

I hvae also filed
  Bug#908747  Default -I and -i option should not exclude .<vcs>ignore
about the root cause of all of this.  I expect that to be
controversial and slow to fix.

Regards,
Ian.

-- 
Ian Jackson <ijack...@chiark.greenend.org.uk>   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.

Reply via email to