Contro: severity -1 normal
Control: tags -1 + newcomer

Hi.  Thanks for the report.

Simon McVittie writes ("Bug#1111194: git-debpush: please upload without 
tripping submodule check if .gitmodules is empty"):
...
> git-debpush: check failed: git submodule(s) detected; these are not supported 
> ('submodule' check)
> git-debpush: proceed anyway? (y/N) y
> git-debpush: fetching from https://salsa.debian.org/gnome-team/gnome-desktop 
> to check existing state
> ...
> 
> everything seems to have gone well, uploading version 44.3-4 via 
> tag2upload job ID 500.

Right.  Good, I'm glad it worked for you.  That's what I would have
hoped.  You were right to override this check.

> Would it be possible to skip this check if .gitmodules is completely 
> empty (0 bytes)?
> 
> (Perhaps even if it exists but contains only whitespace? But that's 
> probably harder to achieve, since it would require dgit/git-debpush to 
> actually look at and understand the file contents, not just the 
> filesystem metadata.)

At least one of these ideas ought to be doable, yes.  Only whitespace
should be easy.

It's also possible that we could use git-submodule(1) to parse the
file but that would depend on someone knowing how to drive it.  Maybe
"git-submodule foreach" is the right thing.

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