ducttape icon indicating copy to clipboard operation
ducttape copied to clipboard

Allow tasks to use versioners

Open dowobeha opened this issue 12 years ago • 3 comments

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

}

dowobeha avatar Apr 24 '12 15:04 dowobeha

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?

jhclark avatar Jun 07 '12 15:06 jhclark

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.

dowobeha avatar Jun 07 '12 16:06 dowobeha

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.

jhclark avatar Jun 07 '12 16:06 jhclark