Replies: 4 comments 6 replies
-
Solution: PullThis is our ideal, as we (the GTN) wouldn't have to write another line of code. Here the WorkflowHub does like TeSS, and scrapes our And then the WorkflowHub also thus handles things like repeatedly importing an unchanging RO-Crate and just not issuing a new version unless it's changed, and maintaining the mapping of (this url to an ro-crate) → this wfhub workflow id Implementation SuggestionsPerhaps this would be implemented by WFHub allowing you to add a url to a sitemap.xml to your profile, or organisational profile, and then RO-Crates discovered from that URL would be automatically imported and associated with your organisation/profile. |
Beta Was this translation helpful? Give feedback.
-
Solution: PushAlternatively we are looking for an answer on whether or not we can repeatedly upload the same RO-Crate (.zip) without issuing new versions of workflows. i.e. running the following code in a loop, will it generate new versions, or will wfhub (hopefully) reject the duplicate upload and not issue a new version
Then we will just write a loop that attempts uploading repeatedly and we can set that to automate forever and forget about it :) |
Beta Was this translation helpful? Give feedback.
-
Thanks @hexylena 😄 |
Beta Was this translation helpful? Give feedback.
-
galaxyproject/training-material#4271 now merged Some further notes:
|
Beta Was this translation helpful? Give feedback.
-
xref discussions in various channels with @fbacall @supernord Carole across 4 different platforms and private and public channels :)
Our Problem
We want our workflow RO-Crates ingested regularly, kept up to date from their source repository (https://github.com/galaxyproject/training-material) where we generate the crates on the fly from the
.ga
files that are in our repo.I'll put my proposed solutions as threads within this discussion, and anyone can start a thread too of course, or reply to those individual threads of discussion to keep everything organised.
Final Comments
The "push" version in the end would probably take less time to implement, but, we'd rather "pull" because we feel it's a more general slution that would then work for more organisations that could maybe add
sitemap.xml
URLs to their organisational profileBeta Was this translation helpful? Give feedback.
All reactions