Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement shed_update to upload & update repo metadata. #216

Merged
merged 2 commits into from
May 21, 2015

Conversation

jmchilton
Copy link
Member

This should replace shed_upload in many potential workflows - but this does require a .shed.yml file with all metadata populated so shed_upload is still useful for directly uploading custom tar files for instance. I have filled out the documentation on shed_upload and shed_update to reflect this.

Additionally, for consistency with the new shed_update operation - shed_create now also performs an upload in addition to simply populating the metadata for a new remote repository. The old behavior of shed_create can be obtained by supplying a new --skip_upload flag. shed_create can also take in a -m/--message option now as well to reflect this new behavior.

Updated publish.rst to reflect these simplifications (instructions now easier).

Closes #199.

@hexylena
Copy link
Member

+1!

@hexylena
Copy link
Member

@jmchilton what's the timeline for the next planemo release? You've added a LOT of great shed interactivity lately

"--check_diff",
is_flag=True,
help="Skip uploading if the shed_diff detects there would be no "
"'difference' (only attributes populated by the shed would would "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: double would

@bgruening
Copy link
Member

Wonderful!

This should replace ``shed_upload`` in many potential workflows - but this does require a ``.shed.yml`` file with all metadata populated so ``shed_upload`` is still useful for directly uploading custom tar files for instance. I have filled out the documentation on ``shed_upload`` and ``shed_update`` to reflect this.

Additionally, for consistency with the new ``shed_update`` operation - ``shed_create`` now also performs an upload in addition to simply populating the metadata for a new remote repository. The old behavior of ``shed_create`` can be obtained by supplying a new ``--skip_upload`` flag. ``shed_create`` can also take in a ``-m/--message`` option now as well to reflect this new behavior.

Updated ``publish.rst`` to reflect these simplifications (the instructions are now easier).
@jmchilton
Copy link
Member Author

@erasche new planemo release should happen today or tomorrow.

jmchilton added a commit that referenced this pull request May 21, 2015
Implement ``shed_update`` to upload & update repo metadata.
@jmchilton jmchilton merged commit 4cdc641 into galaxyproject:master May 21, 2015
@jmchilton jmchilton deleted the update_metadata branch May 21, 2015 14:36
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.

planemo shed_upload fails if only trying to change metadata
4 participants