galaxyproject / galaxyproject/planemo

Refine exit code for shed_update

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

Description

I believe `shed_update` returns a non-zero exit code if `--check_diff` detects no difference even if the shed metadata has been modified. Currently planemo doesn't even check if the metadata is different - it always just does a PUT and doesn't inspect the results. I think the whole thing should be refined to deal with these limitations.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the shed_update command and its --check_diff handling, then inspect where the PUT request is made and how its result is used. Clarify the expected exit code when metadata changes without a code difference, and define completion by checking both metadata differences and the update response.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.