1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
USE
changetrack is a program to monitor changes to a bunch of files. If files
are modify one day, and the machine start working incorrectly some days
later, changetrack can provide information on which files were
modified, and help locate the problem. Changetrack will also allow recovery
of the files from any stage.
This program makes human-readable output, and also uses RCS to allow
recovery of any stage of revision.
NEW
2.0.2 adds the "-u" switch to use unified diffs. It has been tested with
the GNU version of diff.
2.0.1 makes the default setup have emailing disabled but not require
Mail::SendMail.
2.0.0 has enhanced emailing capabilities added. Changes to
each file can be emailed to a list of email addresses. Email is sent using
Mail::SendMail, available from CPAN. Please note: if Mail::SendMail is
not installed, the 'use Mail::SendMail' line _must_ be commented out.
changeweb is a CGI script to give a web interface for changetrack. It is
recommended for security reasons that this program be in a directory to
only allow local users to connect. changeweb must be downloaded separately.
INSTALLATION REQUIREMENTS
This program works on UNIX-type systems. It has been successfully used
with Perl 5.004_01 and 5.002.
You should just be able to type './install' to install this program.
To use the email capabilities, you must install Mail::SendMail and
modify a comment from the changetrack file. The modification is
around line 340.
MAINTENANCE
It probably would be a good idea to go through and delete extremely out of
date changes, to prevent confusion and excessive disk usage.
SCHEDULE
Changetrack is generally run from the crontab. If you are just worried
about occassional changes, running it daily should be sufficient. If you
are doing very intense modifications, it might be reasonable to run it
every hour (or even more frequently).
To keep track of shutdowns and reboots, and especially unplanned reboots
(crashes), run changetrack with the option "-m shutdown" in a shutdown
script, and with a "-m startup" in a startup script. This will put the
shutdown/startup message in each file, after any other changes have been
listed. Any "startup" message without a preceding "shutdown" message
indicates that the machine was not properly shut down. (This may be more
annoyance than help on any machine which is frequently shut down.)
TODO
* Automate removal of out-of-date changes, to save disk space and clarify
the important changes.
* Fix any bugs (see the manual).
GETTING CHANGETRACK
Changetrack is available at
http://www.eng.uwaterloo.ca/student/cjmorlan/changetrack/
To use the email functionality, changetrack requires Mail::SendMail,
available from CPAN.
|