ducttape
ducttape copied to clipboard
Allow tasks to use versioners
To allow for the use of highly experimental code such as the tape linked below, allow the following:
https://github.com/jhclark/ducttape/blob/master/syntax/crazy-ideas/lane-advanced-moses-package.tape
task foo :: .versioner=git .url="git://path/to/software.git" .ref=HEAD {
Do something
}
Since tasks carry separate versioning information (the sequential run number of the workflow), I'm not really sure how this versioner information would be incorporated.
I no longer see tasks using versioners in the linked example. Is it safe to close this issue?
I'm not sure. When I opened this issue, my thought was that there would be times when I want to check out something from a git repository directly in a task, without using a package. I still see value in being able to do that.
But if it's infeasible, then I guess you could close the issue. I can reopen it if necessary.
Hm, I suppose there are other use cases such as data repositories, too. For example, if WMT data lives in a repository, and you'll like to know what version of that was used. I'll keep it open.