galaxyproject / galaxyproject/planemo

planemo shed_update should abort if uploading no files

Open
#625 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
110
Forks
102
Avg merge
4d 21h
Merged PRs (30d)
13

Description

In general, I think attempting to upload zero files to the Tool Shed with ``planemo shed_update`` ought to be an error.

In the specific case of a ``tool_dependency_definition`` (as in example below), if the upload bundle is not exactly one file named ``tool_dependencies.xml`` then ``planemo shed_update`` ought to abort with an error.

Background: I think that #624 aka https://github.com/galaxyproject/galaxy/issues/3546 came about due to me having accidentally upload an empty bundle to the (Test) Tool Shed. Due to a human error, I ran planemo shed_update on https://github.com/peterjc/pico_galaxy (rather than https://github.com/peterjc/galaxy_mira where the code has moved), but still had orphan .shed.yml files present for the MIRA packages - now fixed peterjc/pico_galaxy@65b8925

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.