Change Logger - Released
by Ben Acord · 12/11/2007 (5:01 am) · 2 comments
The ChangeLogger script is ready for testing and my brain is fried. Tonight was the first I've been able to touch it in about a week. There are some very nice features added that really bring it up a notch.

Features:
* In-browser sortable columns. All care of the "standardista_table_sorting" javascript module which can be found here and will be included with the distro.
* Two new columns to the report body: Flags and Directories.
---- Flags (currently) identify those files that violate the vanilla directory.
---- Directory is the top-level directory that contains the remaining-path file that was modified.
* Alternate row colors and standardized stylesheet; also via standardista table sorting.
* Violations of the vanilla directories now only color code the Flag field and not the entire line.
* Number of Files Searched total is now included in the statistics.
* Two search types:
---- Days, which searches from X number of days back from today (NOTE: Cannot predict future modifications).
---- StartDay/EndDay, performs a date range search. If EndDay is excluded today is the default.
* Speed is priority number one. Both a --day search and a --start/end day search complete in 10 seconds flat. Mileage can, will, and should vary when playing with date ranges.
* New argument, --vanilla, for customizing the violating word string. Going forward this may change to include a comma separated list of strings; but I'll need to see how that affects performance.
* Indie happiness factor increased by at least 10%.
I took a first pass at code clean up and think it's good enough to submit for testing. Common scripts are included in the zip as is a sample report (it will be overwritten if you execute the script).
Download it here.
Hopefully, there will be feedback from the community that will certify it for Vista, Mac, and Linux because then I can upgrade the backup script to utilize the ChangeLogger for incremental backups.

Features:
* In-browser sortable columns. All care of the "standardista_table_sorting" javascript module which can be found here and will be included with the distro.
* Two new columns to the report body: Flags and Directories.
---- Flags (currently) identify those files that violate the vanilla directory.
---- Directory is the top-level directory that contains the remaining-path file that was modified.
* Alternate row colors and standardized stylesheet; also via standardista table sorting.
* Violations of the vanilla directories now only color code the Flag field and not the entire line.
* Number of Files Searched total is now included in the statistics.
* Two search types:
---- Days, which searches from X number of days back from today (NOTE: Cannot predict future modifications).
---- StartDay/EndDay, performs a date range search. If EndDay is excluded today is the default.
* Speed is priority number one. Both a --day search and a --start/end day search complete in 10 seconds flat. Mileage can, will, and should vary when playing with date ranges.
* New argument, --vanilla, for customizing the violating word string. Going forward this may change to include a comma separated list of strings; but I'll need to see how that affects performance.
* Indie happiness factor increased by at least 10%.
I took a first pass at code clean up and think it's good enough to submit for testing. Common scripts are included in the zip as is a sample report (it will be overwritten if you execute the script).
Download it here.
Hopefully, there will be feedback from the community that will certify it for Vista, Mac, and Linux because then I can upgrade the backup script to utilize the ChangeLogger for incremental backups.
Usage: ChangeLogger.pl --help
Optional Arguments:
[ --searchdir=<subdir_name> ]
[ --days=<number> ] | [ --startdate=<mmddyyyy> | [ --enddate=<mmddyyyy> ] ]
[ --vanilla=<violation_word> ]
--help Show this usage text. Also shown for --h and --?.
--searchdir Constrain the search to a specific subdirectory;
just the subdirectory name not a full path.
--days=<number_of_days> Expand the search to include days before the past 24-hours).
--startdate=<mmddyyyy> Set a search start range.
Must be in the form mmddyyyy.
--enddate=<mmddyyyy> Optional: Set a search end range.
Defaults to today.
--vanilla Optional: The word string to be used to flag violations;
Defaults to the string 'vanilla'.About the author
Recent Blogs
• Change Log• Disaster Recovery - for the Enterprise Indie
• Commanding Entrance
• Fun with Caves
• Cave Update
#2
Consider it in your hands. :)
12/11/2007 (11:46 am)
I've updated the .plan with the download link. The Linux common scripts may need to be chmod 755 before executing.Consider it in your hands. :)
Torque Owner James Laker (BurNinG)