Add configuration.ccl "REQUIRES" information to the auto-generated ThornList
Issue #2269
closed
Currently, the ThornList auto-generated with a new Cactus configuration displays information on how each thorn interacts with/depends on others, based on the content of the thorn’s param.ccl & interface.ccl. I suggest adding the “REQUIRES” information from the thorn’s configuration.ccl to this displayed summary.
I’ve made simple modifications to two Perl scripts in Cactus/lib/sbin that appear to do this satisfactorily. I’d appreciate an evaluation and application to the ETK. For variety, I’ve put the new information in angle brackets <>, but this is obviously an aesthetic choice.
I made a pull request with your patch, and some extra changes (https://bitbucket.org/cactuscode/cactus/pull-requests/61/parse-requires-and-requires-thorns-when/commits). See https://bitbucket.org/cactuscode/cactus/pull-requests/61/parse-requires-and-requires-thorns-when/diff
Please take a look and if you want to review as ok click on the Approve button.
Apparently the syntax described for the configuration.ccl files in the UserGuide is not what the parsers actually support. Namely:
Examples can be obtained from
grep -i requires arrangements/*/*/configuration.ccl
.