On Wed, 11 Sep 2013 21:01:11 +0200, Sönke Ludwig wrote:

What I would like to support at some point, though, would be to
support (semi-)automatic generation of system packages to reduce the
amount of work needed to support different distributions. But I fear
that this will require quite a complex configuration system (and an
accompanying runtime API) due to all the OS specialties (mostly the
differences in the standard file system hierarchy).

It may be an interesting approach to define an API for OS reflection which can be implemented by experienced maintainers of given systems / distributions as a separate module / plugin. Both for package generation and, for example, querying existing installed software. If it is simple enough, dub maintainers on that systems can use own specific implementation when providing dub package. That should be both convenient and hygienic but is damn complicated. For example what shall one do on system with no even slightest idea about packages? (hello, Windows)