Skip to content

Return non-zero exitcode if planemo fails to load a xml file due to m…#281

Closed
mvdbeek wants to merge 1 commit intogalaxyproject:masterfrom
mvdbeek:master
Closed

Return non-zero exitcode if planemo fails to load a xml file due to m…#281
mvdbeek wants to merge 1 commit intogalaxyproject:masterfrom
mvdbeek:master

Conversation

@mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Aug 13, 2015

…alformed xml tags.

See #280

jmchilton added a commit to jmchilton/planemo that referenced this pull request Sep 10, 2015
This is work started by @mvdbeek with PR galaxyproject#281.

Refinements include:

 - Using an abstract object instead of simple string for indicating tool failure.
 - Extending shed_lint --tools with the failing behavior.
 - Not having other, non-lint uses the tool directory loading register tool errors.*
 - Adds test cases for both shed_lint and lint.

* It may in fact be the case that these should handle this error, but they weren't really checking for the string "error" so I was worried these would just fail with obtuse error messages. This should be revisited down the road I thin.
@jmchilton jmchilton mentioned this pull request Sep 10, 2015
@jmchilton
Copy link
Member

It is an absolute embarrassment I took so long to get to this @mvdbeek - I am really sorry. Thanks for the fix, I have made some modifications - do you want to take a look at #292 and see if it is okay. The refinements are described in jmchilton@84c70b3.

@mvdbeek
Copy link
Member Author

mvdbeek commented Sep 10, 2015

Thanks @jmchilton , it looks very good!

@mvdbeek mvdbeek closed this Sep 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants