bug? package update does nothing for filesystem versioner

1 view
Skip to first unread message

Nathan Schneider

unread,
Mar 13, 2013, 2:29:39 PM3/13/13
to ducttap...@googlegroups.com

Hi,

I have a package called scripts which points to a filesystem directory (which happens to be within the same git repository as the workflow file). Adding an executable to the directory and then asking for an update seems to have no effect on ducttape's package directory. Shouldn't a symlink be added for the new executable (spell-diff.pl)?

[nschneid@compute-1-28 dtsystem]$ cat config.tape 
global {
    ducttape_experimental_imports=true
    ducttape_experimental_packages=true
    datadir=../NLI_2013_Training_Data
}

package scripts :: .versioner=disk .path=/home/nschneid/l1id/system/src {}

package pyutil :: .versioner=git .repo="git://github.com/nschneid/pyutil.git" .ref=HEAD { }

package pos_tagger :: .versioner=disk .path=/home/nschneid/stanford-postagger-full-2012-11-11 {}

package creg :: .versioner=git .repo="git://github.com/redpony/creg.git" .ref=HEAD {
    module load clab-gcc
    module load clab-boost
    ./bjam
}
[nschneid@compute-1-28 dtsystem]$ ll /home/nschneid/l1id/system/src
total 516
-rwxrwxr-x 1 nschneid nschneid      0 Feb  4 14:18 __init__.py
-rwxrwxr-x 1 nschneid nschneid   7070 Mar 11 22:44 collect_results.py
-rwxrwxr-x 1 nschneid nschneid   3222 Mar  7 09:27 extract_instances.py
-rwxrwxr-x 1 nschneid nschneid   3069 Feb  4 14:18 feature_extractor.py
-rw-rw-r-- 1 nschneid nschneid   3097 Mar  4 00:12 feature_extractor.pyc
drwxrwxr-x 2 nschneid nschneid   4096 Mar 13 14:15 feature_extractors
-rwxrwxr-x 1 nschneid nschneid   1272 Feb  4 14:18 generate_fold.py
-rwxrwxr-x 1 nschneid nschneid 104236 Feb  4 14:18 gflags.py
-rw-rw-r-- 1 nschneid nschneid  95168 Mar  4 00:12 gflags.pyc
-rwxrwxr-x 1 nschneid nschneid   6977 Feb  4 14:18 gflags_validators.py
-rw-rw-r-- 1 nschneid nschneid   7467 Mar  4 00:12 gflags_validators.pyc
-rwxrwxr-x 1 nschneid nschneid    319 Mar 12 13:16 insert-first.pl
-rwxrwxr-x 1 nschneid nschneid   2225 Mar 12 13:16 run_cross_validation.sh
-rwxrwxr-x 1 nschneid nschneid    457 Feb  4 14:18 run_pos_tagger.sh
-rwxrwxr-x 1 nschneid nschneid   2651 Mar 13 14:01 spell-diff.pl
-rw-rw-r-- 1 nschneid nschneid 111324 Mar 11 22:44 word_ranks.py
-rw-rw-r-- 1 nschneid nschneid 143760 Mar 11 22:44 word_ranks.pyc
[nschneid@compute-1-28 dtsystem]$ ducttape config.tape update  
ducttape 0.3
by Jonathan Clark
Found 4 packages
Checking for new versions of packages...

[nschneid@compute-1-28 dtsystem]$ ll /home/nschneid/l1id/dtsystem/./.packages/scripts/VERSIONING_UNSUPPORTED/
total 8
lrwxrwxrwx 1 nschneid nschneid 42 Mar  4 00:12 __init__.py -> /home/nschneid/l1id/system/src/__init__.py
-rw-rw-r-- 1 nschneid nschneid  1 Mar  4 00:12 build_exit_code.txt
-rw-rw-r-- 1 nschneid nschneid  0 Mar  4 00:12 build_stderr.txt
-rw-rw-r-- 1 nschneid nschneid  0 Mar  4 00:12 build_stdout.txt
-rw-rw-r-- 1 nschneid nschneid 10 Mar  4 00:12 checkout_exit_code.txt
-rw-rw-r-- 1 nschneid nschneid  0 Mar  4 00:12 checkout_stderr.txt
-rw-rw-r-- 1 nschneid nschneid  0 Mar  4 00:12 checkout_stdout.txt
lrwxrwxrwx 1 nschneid nschneid 49 Mar  4 00:12 collect_results.py -> /home/nschneid/l1id/system/src/collect_results.py
lrwxrwxrwx 1 nschneid nschneid 51 Mar  4 00:12 extract_instances.py -> /home/nschneid/l1id/system/src/extract_instances.py
lrwxrwxrwx 1 nschneid nschneid 51 Mar  4 00:12 feature_extractor.py -> /home/nschneid/l1id/system/src/feature_extractor.py
lrwxrwxrwx 1 nschneid nschneid 49 Mar  4 00:12 feature_extractors -> /home/nschneid/l1id/system/src/feature_extractors
lrwxrwxrwx 1 nschneid nschneid 47 Mar  4 00:12 generate_fold.py -> /home/nschneid/l1id/system/src/generate_fold.py
lrwxrwxrwx 1 nschneid nschneid 40 Mar  4 00:12 gflags.py -> /home/nschneid/l1id/system/src/gflags.py
lrwxrwxrwx 1 nschneid nschneid 51 Mar  4 00:12 gflags_validators.py -> /home/nschneid/l1id/system/src/gflags_validators.py
lrwxrwxrwx  1 nschneid nschneid 54 Mar  4 00:12 run_cross_validation.sh ->  /home/nschneid/l1id/system/src/run_cross_validation.sh
lrwxrwxrwx 1 nschneid nschneid 48 Mar  4 00:12 run_pos_tagger.sh -> /home/nschneid/l1id/system/src/run_pos_tagger.sh

Nathan

Reply all
Reply to author
Forward
0 new messages