I think it is correct to move src.rpms and debuginfo out of the
default
path. Instead of moving this to the user to enable/disable it, I thought
to use differently named files within the repodata.
All information about src.rpms goes to new filenames and you can trigger
reading in the debuginfo files if a "*-debuginfo" package name is needed.
This puts the namespace question to the repodata and is adding special
interpretation to rpm package names ("*-debuginfo"), but tries to get
all this more transparent to the user compared to offering this via
configured repo locations.
?? Both ways have their pros and cons.
The con of doing it the way you're describing is that it implicitly
dictates something about the repository structure. Not sure I like that.
But i see your point about having them magically enabled. The only
problem is that for depsolving it doesn't make it much easier.
-sv