I know this question has been asked before, but I do not accept the answer, "you can clearly see custom additions". When I add ppa's (which I have not done in years), I hit a key on my keyboard labeled "Enter" which allows me to add an empty line before the new entry (I would even add an explanatory comment, but I am a tech writer, so ....). I like my sources.conf
clean and neat.
/etc/apt/sources.d
Means I have half a dozen files to parse instead of just one.
AFAIK, there is "absolutely" no advantage in having one configuration file vs 6 (for sake of argument, maybe you have 3 or even 2, doesn't matter ... 1 still beats 2).
Can somebody please come up with a rational advantage, "you can clearly see custom additions" is a poor man's excuse.
I must add, I love change, however, ONLY when there are benefits introduced by the change.
Edit after first response:
It allows new installations that need their own repos to not have to search a flat file to ensure that it is not adding duplicate entries.
Now, they have to search a directory for dupe's instead of a flat file. Unless they assume admin's don't change things ...
It allows a system administrator to easily disable (by renaming) or remove (by deleting) a repository set without having to edit a monolithic file.
Admin has to grep directory to find appropriate file to rename, before, he would search ONE file and comment out a line, a sed one-liner for "almost" any admin.
It allows a package maintainer to give a simple command to update repository locations without having to worry about inadvertently changing the configuration for unrelated repositories.
I do not understand this one, I "assume" package maintainer knows the URL of his repository. Again, has to sed
a directory instead of a single file.