**commitchk** =====Objective===== A grade not-Z script to check wiki edits and repository commits during a given timeframe. =====TODO===== * implement proper error checking (especially on the command-line arguments) * might be interesting having course profiles * more integration with the attendance system * consider creating a subversion repository to place this (and my other scripts) within =====Prerequisites===== In order to use **commitchk**, the following conditions need to be met: * An accessible wiki site. * A working repository. * User running the script needs permissions to access wiki, repository, and write appropriate student files. =====Usage===== To use **commitchk**, it requires a minimum of **5** arguments, and an optional //sixth// for debug mode, as follows: lab46:~$ commitchk data 20101116 20101118 2 1 A common deployment is via an **at**(**1**) job: lab46:~$ at -t 201011301012.00 warning: commands will be executed using /bin/sh at> /home/wedge/bin/commitchk data 20101118 20101130 4 2 at> job 91 at Tue Nov 30 10:12:00 2010 lab46:~$ Parameters are as follows: - class designator ("data" for Data Structures, "unix" for UNIX/Linux Fundamentals, etc.) - starting date in YYYYMMDD format - ending date in YYYYMMDD format - minimum number of repository commits required - minimum number of wiki edits required - optional: debug mode If ANY sixth argument is supplied, the script will operate in debug mode- no generated data will be written to any files, so it is great for testing modifications without concern of incorrect or undesired data being written. =====Script===== extern> http://lab46.corning-cc.edu/haas/content/scripts/commitchk