Hi all,The same scripts attached: Small changes, few bugs fixed, some error handling added.
Description ------------------- fsvs-prop-list.sh: execute 'svn proplist' and generate report Output fields:<file name> <svn:special> <svn:text-time> <svn:unix-mode> <svn:owner> <svn:group>
fsvs-prop-diff.sh: execute fsvs-prop-list.sh and generate two reports, then execute fsvs-prop-file.sh
fsvs-prop-file.sh: accept reports from fsvs-prop-list.sh and generate 'diff' report
Output fields:#line 1 for first rev parameter, line 2 for second. Eight flags: [ <>=][01][02][03][04][05][06][07] #First flag show: 'time_rev_1 is less or great than time_rev_2'. And seven flags for every column ('0'=not changed)
1234567 <file name>1234567 <svn:special> <svn:text-time> <svn:unix-mode> <svn:owner> <svn:group> 1234567 <svn:special> <svn:text-time> <svn:unix-mode> <svn:owner> <svn:group>
fsvspropdiff.sh:Execute fsvs-prop-file.sh if you provide two files as command line arguments.
Execute fsvs-prop-diff.sh if you provide two revisions as arguments.If repository URL is missing, will try to 'cd /' and get url from 'fsvs urls dump'.
(Note: you could change script and customize 'var_working_copy') -------------------Not sure, that flags are good/nice or needed, but for me they are useful. Note: the output below does not have first flag [ <>=].
My ubuntu installation is undef fsvs and scripts are working. I compared (a) head revision and (b) first revision which is: 'ubuntu installed from live CD (before restart, before first run, before boot the installed ubuntu)'. If you are interested in results, I will be glad to head why/who did these changes (are they ok/safe). And few questions below:
question: Why properties of link (not a linked file) are missing? (bug?)Was 'file'; now it is 'link'; link 'mode'=777; linked file 'mode'=444 (check below)
0234567 /dev/sndstat 0234567 *0234567 * 2007-10-15T23:17:30.000000Z 0660 0 root 29 audio
# ls /dev/sndstat -lalrwxrwxrwx 1 root root 24 2008-08-23 10:50 /dev/sndstat -> /proc/asound/oss/sndstat
# ls /proc/asound/oss/sndstat -la -r--r--r-- 1 root root 0 2008-08-23 15:53 /proc/asound/oss/sndstat question: Anything suspicious in next entries? Must be 'ubuntu auto updates' who did these changes. single case: was 'file'; now it is 'directory'; changed 'mode' 0230000 /dev/shm0230000 2008-08-17T21:30:02.855486Z 01777 0 root 0 root 0230000 2007-10-15T23:17:35.000000Z 0755 0 root 0 root
single case: changed 'owner' 0204500 /dev/tty10204500 * 2008-08-18T17:49:00.609657Z 0600 1000 ububam 5 tty 0204500 * 2007-10-15T23:18:07.000000Z 0600 0 root 5 tty
single case: changed Sticky and SetGID 0030067 /usr/share/ppd/custom0030067 2007-10-15T11:13:29.000000Z 03775 0 root 108 lpadmin 0030067 2007-10-15T11:13:29.000000Z 0755 0 root 0 root
single case: changed 'mode' and Sticky and 'owner' 0234500 /var/lib/gdm0234500 2008-08-18T05:39:59.000000Z 01770 0 root 118 gdm 0234500 2007-10-15T10:41:51.000000Z 0750 108 gdm 118 gdm
single case: changed 'mode' and Sticky and 'group' 0230067 /var/spool/cups/tmp0230067 2008-07-24T12:40:01.000000Z 01770 0 root 7 lp 0230067 2007-10-15T11:13:29.000000Z 0755 0 root 0 root
single case: changed 'mode' and 'time' was Feb; now it is Jan 0230000 /home/plamen/.config/tracker/tracker.cfg0230000 2008-01-31T04:03:25.000000Z 0644 1000 ububam 1000 ubugrp 0230000 2008-02-10T12:42:27.000000Z 0600 1000 ububam 1000 ubugrp
changed 'group' (and 'time): 0200067 /dev/console0200067 * 2008-08-21T04:36:30.670906Z 0600 0 root 0 root 0200067 * 2007-10-15T23:29:33.000000Z 0600 0 root 5 tty
0200067 /dev/ptmx0200067 * 2008-08-21T12:34:01.803641Z 0666 0 root 0 root 0200067 * 2007-10-03T08:23:56.000000Z 0666 0 root 5 tty
0200067 /dev/tty0200067 * 2008-08-21T12:33:52.303100Z 0666 0 root 0 root 0200067 * 2007-10-15T23:17:29.000000Z 0666 0 root 5 tty
0200067 /dev/tty20200067 * 2008-08-18T05:39:48.530080Z 0600 0 root 0 root 0200067 * 2007-10-15T23:18:07.000000Z 0600 0 root 5 tty
0200067 /dev/tty30200067 * 2008-08-18T05:39:48.530080Z 0600 0 root 0 root 0200067 * 2007-10-15T23:18:07.000000Z 0600 0 root 5 tty
0200067 /dev/tty40200067 * 2008-08-18T05:39:48.530080Z 0600 0 root 0 root 0200067 * 2007-10-15T23:18:07.000000Z 0600 0 root 5 tty
0200067 /dev/tty50200067 * 2008-08-18T05:39:48.530080Z 0600 0 root 0 root 0200067 * 2007-10-15T23:18:07.000000Z 0600 0 root 5 tty
0200067 /dev/tty60200067 * 2008-08-18T05:39:48.530080Z 0600 0 root 0 root 0200067 * 2007-10-15T23:18:07.000000Z 0600 0 root 5 tty
0200067 /etc/cups0200067 2008-08-15T19:11:32.000000Z 0755 0 root 7 lp 0200067 2007-10-15T23:23:18.000000Z 0755 0 root 0 root
0200067 /etc/cups/ppd0200067 2008-08-15T19:11:27.000000Z 0755 0 root 7 lp 0200067 2007-10-15T11:13:30.000000Z 0755 0 root 0 root
changed 'mode' (and 'time'): 0230000 /dev/sg00230000 * 2008-08-18T00:29:40.320133Z 0660 0 root 0 root 0230000 * 2007-10-15T23:26:29.000000Z 0600 0 root 0 root
0230000 /dev/sg20230000 * 2008-08-17T21:30:04.355572Z 0660 0 root 0 root 0230000 * 2007-10-15T23:26:29.000000Z 0600 0 root 0 root
0230000 /proc0230000 2008-08-18T00:29:37.000000Z 0555 0 root 0 root 0230000 2007-10-08T10:47:33.000000Z 0755 0 root 0 root
0230000 /usr/share/rdesktop0230000 2007-10-15T23:22:56.000000Z 0755 0 root 0 root 0230000 1970-01-01T00:00:00.000000Z 0700 0 root 0 root
changed 'mode' and 'group' (and 'time'): 0230067 /dev/loop00230067 * 2008-02-29T18:59:31.000000Z 0600 0 root 0 root 0230067 * 2007-10-15T23:17:29.000000Z 0660 0 root 6 disk
0230067 /dev/ppp0230067 * 2008-02-29T18:59:31.000000Z 0600 0 root 0 root 0230067 * 2007-10-15T23:28:09.000000Z 0660 0 root 30 dip
0230067 /dev/sg10230067 * 2008-08-18T00:29:40.320133Z 0660 0 root 24 cdrom 0230067 * 2007-10-15T23:26:29.000000Z 0600 0 root 0 root
0230067 /dev/tty00230067 * 2008-08-18T00:29:38.540062Z 0660 0 root 0 root 0230067 * 2007-10-15T23:17:29.000000Z 0600 0 root 5 tty
0230067 /dev/tty70230067 * 2008-08-18T00:29:38.540062Z 0660 0 root 0 root 0230067 * 2007-10-15T23:17:30.000000Z 0600 0 root 5 tty
0230067 /dev/tty80230067 * 2008-08-18T00:29:38.540062Z 0660 0 root 0 root 0230067 * 2007-10-15T23:17:30.000000Z 0600 0 root 5 tty
0230067 /dev/tty90230067 * 2008-08-18T00:29:38.820076Z 0660 0 root 0 root 0230067 * 2007-10-15T23:17:30.000000Z 0600 0 root 5 tty
0230067 /etc/cups/ssl0230067 2008-08-17T14:43:44.000000Z 0700 0 root 7 lp 0230067 2007-10-15T23:19:25.000000Z 0755 0 root 0 root
0230067 /etc/wvdial.conf0230067 2008-04-30T10:10:33.000000Z 0644 0 root 0 root 0230067 2007-10-15T23:30:36.000000Z 0640 0 root 20 dialout
0230067 /var/cache/cups0230067 2008-08-15T10:27:40.000000Z 0775 0 root 7 lp 0230067 2007-10-15T23:19:20.000000Z 0755 0 root 0 root
0230067 /var/spool/cups0230067 2008-07-31T05:25:53.000000Z 0710 0 root 7 lp 0230067 2007-10-15T23:19:15.000000Z 0755 0 root 0 root
0230067 /var/log/cups/access_log0230067 2008-08-01T16:18:59.000000Z 0640 0 root 108 lpadmin 0230067 2008-02-10T17:11:45.000000Z 0644 0 root 7 lp
changed was 'link'; now it is 'file': 1234567 /usr/share/gnome/help/evolution/fr/figures/evo_calstatus_a.png1234567 2008-06-06T15:15:47.000000Z 0644 0 root 0 root
1234567 * 1234567 /usr/share/gnome/help/evolution/fr/figures/evo_gwstatustrack.png1234567 2008-06-06T15:15:48.000000Z 0644 0 root 0 root
1234567 * 1234567 /usr/share/gnome/help/evolution/fr/figures/evo_sendstatus_a.png1234567 2008-06-06T15:15:50.000000Z 0644 0 root 0 root
1234567 * regards, Plamen.
fsvspropdiff.sh
Description: application/shellscript
fsvs-prop-diff.sh
Description: application/shellscript
fsvs-prop-file.sh
Description: application/shellscript
fsvs-prop-list.sh
Description: application/shellscript
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
