get all tools when searching for tool ids for testing (get_tools instead of get_tool_panel)#159
Conversation
|
Thanks, this looks good, but could you you make this a non-default option please ? |
|
Hi @mvdbeek, thanks for reviewing. What is meant by 'make this a non-default option'? That instead of |
|
Yes, if you can add something like ephemeris/src/ephemeris/shed_tools_args.py Line 204 in 69c0537 |
|
Hi @mvdbeek, I've added this as boolean The expected behaviour is that if the user has specified the revisions that they want to test, the For example, if the tool has two revisions, |
…s are tested if no revision is specified
8ff1630 to
b98faae
Compare
mvdbeek
left a comment
There was a problem hiding this comment.
Thanks so much, looks very good!
When shed-tools looks for tests, it looks for tool ids within the output of get_tool_panel. There is generally only one version of a tool in the panel but there could be several versions of the tool installed. I'd like to be able to run tests for older revisions of tools. Currently if the --revisions arg does not correspond to the version in the panel, no tests are run.
My proposed change is to look in the output of get_tools instead of get_tool_panel if the revision is provided.
I'm not sure what should happen when there is no changeset revision - I've defaulted using get_tool_panel in this case to look for what is usually the most recent version, but I could change this so that it runs tests from all versions.
Catherine, Galaxy Australia