Fix bug: in special circumstances, it was not possible to write in lock file.
The program was crashing.
To limit future problem with lockers, two things were done:
Remove automatically lock file at the end of the program (See commit 075c5b7074)
Add delay when waiting for locker, to avoid endless loop (See commit cd7fdc0c02 and bd712c97c7)
Code clean up
Add unit tests
Changed tmp file format, the new one would allow to do more things:
Restart edited command (reset number of launch)
Support multiple configuration file
More natural behavior when starting from an empty file. (Don't increment
number of launch when nothing is actually launched)
For the futur : Running infinite, daemon mode...
Improve release script, to enhance contributing experience (making easier to
release source-code, binaries, signing…). TODO Merge name format of
Oinstall.sh and pkg.sh
0.2.x
v0.2.2
Major functionality:
Allow to install from opam throw opam pin add
Allow to set tmp file with environment variable “OC_TMP”. See #9 and #6
Messages displayed with bold, underline and colors.
Add options:
“-v” to set verbosity.
“--no-color” to toggle color off
“--edit” is synonym of “--modify” now
Minor functionality:
Improve resetting: tips, way to roll back
Add unit tests, to improve stability
Clean help
Better display after editing an entry. Ignore empty lines and fix #10
Use lazyness to speed up and lead to less error
Locking tmp file to prevent launching two times the same item
Correct bugs:
When executing oclaunc -r more than once, it tries to delete an
unexisting file and this led to errors.
When some variable like $EDITOR was not set, it was crashing everytime.
Now, it crashes only if there is no other solution.
v0.2.1
Add new command line option:
“-c file” allow to read configuration from custom file.
“-m n” allow to edit and add (simultaneously) items to launch in rc file.
Improve “-l”: now display a “*” next to current state.
Code clean up (Types in records) and code factoring.
When all has been launched, the program explain how to reset.
Better messages on initialisation.
v0.2.0
Add new command line option.
“-r” can now take a number to start from.
“-l” list commands of the configuration file with its number.
“-a” add the command given on stdin to configuration file.
“-d n” remove the nth command from rc file.
“-n” display the current state.
Improve some messages.
Display run commands in title bar of the windows terminal.
New tmp file
Biniou format instead of JSON
Now cached
New default name : /tmp/.oclaunch_trace.dat
Add logo.
Clean up some code.
Improve utility set given with the repository (developer)