-
Notifications
You must be signed in to change notification settings - Fork 87
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
global base path for shed_upload include relative paths #160
Comments
Wouldn't it just be easier to symlink test-data? |
So have
And then use something like this in
That works:
This means a one-off upheaval in the tool history on the Tool Shed (the main files would move, e.g. Essentially this means pushing the directory structure outlined here https://github.com/galaxy-iuc/standards/blob/master/docs/best_practices/repositories.rst (over the approach I'm currently using based on how things were setup back before the Tool Shed existed). I don't like the symlink idea though; but I do have a lot of common test files used in multiple Tool Shed repositories (e.g. |
I guess @erasche was advocating linking in just the test-data needed (there will be an option in planemo to auto-infer the test-data at some point so it would be moot either way). I like the new structure - Greg and Dan always advocated one tool per repository and I think planemo is getting close to making that... well less say a lot less painful for developers. In that world view - I am not sure a That said - I don't want planemo to force a world view - just sort of subtlely hint at it. Would globs have simplified your original include statements?
The glob above should work (let me know if it doesn't) - |
Wait - the tool shed will pick up |
Ah...yeah, I may be overly fond of that directory structure. Symlinking individual files rather than the whole folder is definitely an option. As with @jmchilton, I don't mean to force a particular worldview. |
I'm not too worried about getting My concern is |
Created two issues for test data and tool data specifically. Symoblic links I guess are a work around for custom repository structures - but being able to infer those automatically would be great for tool de-multiplexing as well. |
Thanks John; #162 and #163 look very interesting. There can be other misc files (e.g. helper scripts, tool data files, images for The only other example I have come up with is including a top level file like |
I would like to add the |
@bgruening but that isn't a top level folder (above the
Or do you mean another magic feature to parse the |
@peterjc yes, it would be nice if we can parse the RST and upload those images that are needed. |
Yes, with #185 merged, this alternative mechanism is not needed, and can be closed. Thanks. |
I'm trying to replace a manual process for preparing tar-balls to push to the Tool Shed, however by using a common top level
test-data/
(andtool-data/
) folder this is harder than expected.Current manual process as documented in this tool's README file:
I have been able to get the desired output (ignoring the order, #159) with a complicated
.shed.yml
entry like this:Giving:
I would like to use something along these lines in the
.shed.yml
file:The text was updated successfully, but these errors were encountered: