Problem summary
If the timestamp (here meaning the time that the file was created, not the timecode start of footage) exists in the footage or script 's (.nk) filename, then versioning won't pick up new versions of the same script/footage for other timestamps.
Internal acceptance criteria:
timestamps should be ignored in all version searching code for all file types, including:
.nk files
.dpx files
.mov files
etc. etc.
no extra denotation of timestamp is required i.e. similar to "V" we should not add some tag such as "T", "TS" or simialr to denote timestamp sections.
the assumption is that timecode values will never appear in the filenames (see Juan for clarification).
no error handling for situations where you have the same file at the same version with different timestamps, outside of what STUDIO already does for multiple duplicate version detection (again see Juan for clarification)
filenames of the following format should work:
chars_v001_####.ext
chars_v001_timecode_####.ext
\(string\)\([vV]d\+\)O_grs080_v001_2016-07-27_09:09:46_####.dpx
Customer reported version
nuke.n/a
Customer reported platform
n/a
Steps to reproduce
Create V1 (at 09:09:46)
Open nuke and create checkerboard
Create write node and set write path to:
/temp/26/O_grs080_v001_2016-07-27_09:09:46_####.dpx IMPORTANT: Notice the timestamp is 09:09:46 not 10:09:59
Save script as:
/temp/26/O_grs080_v001_2016-07-27_09:09:46.nk
Create V2 (at 10:09:59)
Modify checkerboard
Change write node path to:
/temp/26/O_grs080_v001_2016-07-27_10:09:59_####.dpx
NOTE: ensure this write path versions up to 002
Save script as new comp and save name as:
/temp/26/O_grs080_v002_2016-07-27_10:09:59.nk
Import the following script into nukestudio:
/temp/26/O_grs080_v001_2016-07-27_09:09:46.nk
Attempt to version up Result: no version found
Workaround
In Nuke open script:
/temp/26/O_grs080_v001_2016-07-27_09:09:46.nk
modify checkerboard
Change write path to:
/temp/26/O_grs080_v001_####.dpx
Save script as:
/temp/26/O_grs080_v001.nk
Open New NukeStudio project and import the following script:
/temp/26/O_grs080_v001.nk
Scan for versions Result: the versions with differing timestamp in the names and write paths will now pick up
Reproduced by support
OSX 10.11.3 NukeStudio 10.0v3, 9.0v1
Unable to repro on windows 8 as the script file name would not accept colons
Expected behaviour
versions to be picked up even though timestamp in name were different
Actual behaviour
versions were not being picked up as the change in timestamp caused the file path to differ