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 kdesrc-build.rc
.
This way the user can experiment with restructuring project dependencies, in particular:
-
Trimming of dependencies. Many projects have a declared dependency on
kf5umbrella
but 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 feature could be supported through an additionalcustom-dependency-data
key in theglobal
section ofkdesrc-build.rc
. The option key would take a file path value, with relative file paths resolved against the directory in which thekdesrc-build.rc
file resides. Multiplecustom-dependency-data
entries would map to a list of multiple such dependency data files to load. -
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.
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)