Bug#1112325: line indentation silently breaks debian.sources

Harald Dunkel <[email protected]>
Newsgroups gmane.linux.debian.apt.devel
Message-ID <uzdplcfinpv.fsf__27459.4818636373$1756387644$gmane$org@dpcl082.ac.aixigo.de>
Package: apt
Version: 3.0.3

if *all* lines in /etc/apt/sources.list.d/myrepo.sources are
indented by a few space chars, then these lines are silently
ignored. This is unexpected. deb822(5) mentions lines starting
with # are ignored, but leading space chars are only documented 
for continuation lines in folded fields. If the very first line 
is indented it is obviously not a continuation line.

I would suggest to show at least a warning, or (even better)
drop this weird format altogether in favour of standard yaml
or json files.

Regards
Harri
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.