Add workflow_upload command#1091
Merged
jmchilton merged 8 commits intogalaxyproject:masterfrom Oct 15, 2020
Merged
Conversation
mvdbeek
commented
Oct 5, 2020
|
|
||
| unique_paths = set(os.path.relpath(p, cwd) for p in raw_paths) | ||
| if diff_paths is not None: | ||
| new_unique_paths = [] |
Member
Author
There was a problem hiding this comment.
I don't think I have understood the purpose here. Was this meant to filter our paths in diff_paths that are not within raw_paths ?
Member
There was a problem hiding this comment.
This was (and should remain) the intersection of unique_paths (i.e. the tool or repo specified by path by the user) and diff_paths (the list of files or directories changed in Git).
Sorry I missed this at the time, should be fixed by #1127 .
2068dea to
9c9c639
Compare
``planemo workflow_upload`` will update or create a github repository with the contents of a directory that contains a workflow. Every upload will create a new release. Workflow versions are taken from the workflow files.
8a37d18 to
ac27888
Compare
f584e0e to
c877384
Compare
c877384 to
ef02b90
Compare
Member
Author
|
I think this is ready for review! |
jmchilton
approved these changes
Oct 15, 2020
Member
|
Simply amazing! |
Member
|
Wonderful! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
planemo workflow_uploadwill update or create a github repository with the contents of a directory that contains a workflow.Every upload will create a new release. Workflow versions are taken from the workflow files.
Also moves from
hubtoghand makesplanemo ci_find_reposreturn directories with workflows.TODO:
--forcethat will override existing version