Fixed the "Too Much Deletion" bug.
Problem was in CalculateTurmoilOnFileList, the parameters passed to MetricsEngine were backwards.
42 lines of code changed in:
Fixed the "File not found" output bug and updated the task list.
40 lines of code changed in:
Added global variable versionNumberString
4 lines of code changed in:
changes:
directory not specified message removed from console output
changed file list output format
the -n (non-recursive) option now can only be on or off (preparation for smarter downloading)
the debug option can now be accessed with -ddd or with --debug 3 or --debug=3
added --use-case size, it will generate a raw-style measurement where its lines of will be appended to the end of the .raw file. If two revisions are specified than ONLY the old revision will be measured.
To Do:
verbose conditions need to be clarified and cleaned up.
add in list generation option/function
replaced old svn export with new "only download changed"
smarter directory exporting even smarter: don't download it if you already have it
67 lines of code changed in:
Code formatting and comments
129 lines of code changed in:
Added defects sheet to the docs folder. Will add it to the website next.
3 lines of code changed in:
changes:
tools always go into the log file
external commands are only printed if there was an error or if debug is on
fixed ExecuteExternalCommand, it now catches errors
made default directory $product_$newRevisionNumer. this is still a bit dodgy on windows.
changed ignore-filesBetweenLabels to ignore-filesBetweenRevisions
we now catch "svn: URL '<file>' doesn't exist". We were handling it, but the message was still being displayed.
added --leave-files option. if you give it any non-null value it will keep the files.
.filelist now generates a list compatible with historical lists. Unversioned sources may contain errors.
To Do:
verbose conditions need to be clarified and cleaned up.
add in list generation option/function
add in smarter directory exporting
Defects:
stderr not catching errors. (run the tool on an unrevisioned directory to get them). (resolved).
windows/linux line endings
creating a .log file when no -l is used
total turmoil numbers not adding up (resolved)
124 lines of code changed in:
Release 2
0 lines of code changed in:
4 lines of code changed in:
20 lines of code changed in:
3 lines of code changed in:
1 lines of code changed in:
35 lines of code changed in:
139 lines of code changed in:
Added --use-case option ("cat" or "raw")
Added category type output (.tbl file)
Added path to ignore-files and ignore-filesBetweenLabels
273 lines of code changed in:
Use arrays instead of files for most lists (internally)
Can run with or without arrays
Added --output-format option, but haven't implemented Turmoil Between Labels condition
214 lines of code changed in:
verbosity/debug levels - determines how much is put into the log files:
level 0 - when the program was run, version of tool, revisions measured, external commands + errors, when the program finished
level 1 - level 0, tools/paths used
level 2 - level 1, entry/exit of all functions except those in MetricsEngine() and StripComments()
level 3 - level 2, entry/exit of all functions including MetricsEngine() and StripComments()
log files-
generate log files for single file flag
200 lines of code changed in:
Added comments
Fixed revision ordering problem where old revisions with high numbers were being treated as the new revision.
70 lines of code changed in:
To Do:
Make a flag to tell the program NOT to replace modified files. For when you want to measure your working Copy.
Can't handle single files without single file flag
Did:
Modified export to deal with local and remote files simultaneously
Changed format of lists to contain absolute local references to the files they represent
Changed CalculateTurmoilOnFileList to handle the new file list
Fixed a couple of stray bugs with the recursion system
Improved some compatibility errors with windows (added paths for sort and scs)
Removed Utility command line arguements
Check for modified local files and download (individually if there is less than 5% of total list, batch otherwise)
302 lines of code changed in:
Fixed non-distinct options
Simplified options
19 lines of code changed in:
Fixed output redirection to STDERR. This fixed a problem that was causing the tool not to run properly and give errors saying "The process cannot access the file because it is being used by another process."
2 lines of code changed in:
Changed first default location of perl.exe to the Cygwin path. Changed function names of FileListFilter to FilterFileList and FileListTurmoil to CalculateTurmoilOnFileList.
19 lines of code changed in: