Support loading additional configured dependency data files via commandline switch or kdesrc-build.rc
It may be a good idea to support loading additional configurable dependency data files as configured by the user through either a commandline switch or
This way the user can experiment with restructuring project dependencies, in particular:
- Trimming of dependencies. Many projects have a declared dependency on
kf5umbrellabut do no have a comprehensive set of exclusions set up. A user could opt out of optional or entirely unneeded dependencies explicitly through their own dependency data declarations, without having to get them upstreamed first.
- This same benefit lets maintainers and people who are working on introducing new KDE software experiment more freely without fear of breaking their setup. Or rather: they have a trivial way to back out when they break dependency data, by reverting their local changes.
This feature could be supported through an additional
custom-dependency-data key in the
global section of
kdesrc-build.rc. The option key would take a file path value, with relative file paths resolved against the directory in which the
kdesrc-build.rc file resides. Multiple
custom-dependency-data entries would map to a list of multiple such dependency data files to load.
Maybe require an explicit
--with-custom-dependency-data switch on the command line to enable this experimental mode.
For more context see also the discussion on issue #26 (closed)