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

Versioned import statements #226

Open
cjllanwarne opened this issue Jul 6, 2018 · 2 comments
Open

Versioned import statements #226

cjllanwarne opened this issue Jul 6, 2018 · 2 comments

Comments

@cjllanwarne
Copy link
Contributor

cjllanwarne commented Jul 6, 2018

NB this is not about WDL 1.0 vs draft-2 etc. It's about versioning of WDL files within a repo.

As I understand things, TRS repos (amongst others) will allow people to have multiple versions available for the same workflow and task and responsible WDL authors will presumably want to be able to choose which version to import (to avoid things changing underneath them when a new update is added, for example)

To support this - and to avoid having to work out a complex or repo-specific URL structure, I'd like to suggest we allow embedding the version to import into the import statement.

Maybe something like:

version ... # I'm NOT talking about THIS version :)

import "tools/published_tool" @ "v1.0"
import "tools/new_tool_version" @ "v11.3"
import "structs/alpha_struct_defs" @ "v0.5"
@jayrbolton
Copy link

Has there been any discussion around package management, dependency resolution, and registry hosting for WDLs?

This is very related to an import syntax, but I realize this is a big outward spiral, so feel free to move me elsewhere.

@geoffjentry
Copy link
Member

@jayrbolton I haven't come across anything but agree. If you have thoughts I'd encourage you to bring up the topic on the mailing list. I'd normally suggest a PR but that doesn't seem to make sense here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants