-
Notifications
You must be signed in to change notification settings - Fork 213
Closed
Milestone
Description
Currently, only the easyconfig parameters that are available from dependency specifications are available for (alternative) module naming schemes (see also #679):
name
version
versionsuffix
toolchain
In order to make all easyconfig parameter available in a consistent way (i.e., also if only the dependency specification is available), we need to pass parsed easyconfigs to the module naming scheme function det_full_module_name
.
For dependencies, we will thus need to implement the following steps:
- try to generate module name from just the dependency specification; if that works, no other parameters other than the ones currently available (see list above) are required
- if that fails, we need a parsed easyconfig file
- the first attempt should be to try and locate the easyconfig file that is installed together with the module that resolves the dependency; the problem here is that we don't know the module name yet (that's exactly what we're trying to generate), so we need to generate an incomplete module name of some kind that can help us to do a directed search for the easyconfig file
- if no installed module is found that matches the dependency specification, we need to resort to easyconfig files that are available in the robot search path(s)
- if a matching easyconfig file was found, parse it and generate the module name with it (which should work, otherwise there a bug in the module naming scheme implementation)
- if no matching easyconfig file was found, we're out of luck, and need to report that the module name could not be generated due to lack of information