Skip to content

Commit

Permalink
Merge pull request #144 from matthewrmshin/commit.conf
Browse files Browse the repository at this point in the history
svn-hooks: support commit.conf
  • Loading branch information
benfitzpatrick committed Sep 15, 2014
2 parents a8b6f87 + b8fd755 commit db99680
Show file tree
Hide file tree
Showing 15 changed files with 191 additions and 123 deletions.
4 changes: 2 additions & 2 deletions lib/FCM/Admin/System.pm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ our @EXPORT_OK = qw{

our $NO_OVERWRITE = 1;
our $BUFFER_SIZE = 4096;
our @SVN_REPOS_ROOT_HOOK_ITEMS = qw{svnperms.conf};
our @SVN_REPOS_ROOT_HOOK_ITEMS = qw{commit.conf svnperms.conf};
our %USER_INFO_TOOL_OF = (
'ldap' => 'FCM::Admin::Users::LDAP',
'passwd' => 'FCM::Admin::Users::Passwd',
Expand Down Expand Up @@ -602,7 +602,7 @@ sub housekeep_svn_hook_logs {
}
# Remove logs older than $keep_threshold
for my $path (
glob(catfile($project_path, 'log', $hook_name . '*.log.*'))
sort glob(catfile($project_path, 'log', $hook_name . '*.log.*'))
) {
my ($date, $dot_gz) = $path =~ qr{\.log\.(\d{8}\d*)(\.gz)?\z}msx;
if ( $date && $date <= $date_p4w
Expand Down
2 changes: 1 addition & 1 deletion sbin/fcm-install-svn-hook
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ sub main {
}
option2config(\%option);
my @projects = filter_projects([get_projects_from_svn_live()], \@ARGV);
for my $project (@projects) {
for my $project (sort {$a->get_name() cmp $b->get_name()} @projects) {
install_svn_hook($project, $option{clean});
housekeep_svn_hook_logs($project);
}
Expand Down
46 changes: 26 additions & 20 deletions sbin/post-commit-bg
Original file line number Diff line number Diff line change
Expand Up @@ -101,30 +101,36 @@ main() {
echo "REV_FILE_SIZE=$REV_FILE_SIZE # within $REV_FILE_SIZE_THRESHOLD"
fi

# Install svnperms.conf, if necessary
local CHANGED=$(svnlook changed -r "$REV" "$REPOS")
if grep -q '^....svnperms.conf$' <<<"$CHANGED"; then
# Don't specify revision, so always look at latest.
if svnlook filesize "$REPOS" svnperms.conf >/dev/null 2>&1; then
echo "svnlook cat $REPOS svnperms.conf >$REPOS/hooks/svnperms.conf"
svnlook cat "$REPOS" 'svnperms.conf' >"$REPOS/hooks/svnperms.conf"
else
echo "rm -f $REPOS/hooks/svnperms.conf"
rm -f "$REPOS/hooks/svnperms.conf"
# Install commit.conf and svnperms.conf, if necessary
local CHANGED=$(svnlook changed -r "${REV}" "${REPOS}")
local NAME=
for NAME in 'commit.conf' 'svnperms.conf'; do
if grep -q "^....${NAME}\$" <<<"${CHANGED}"; then
# Don't specify revision, so always look at latest.
if svnlook filesize "${REPOS}" "${NAME}" >/dev/null 2>&1; then
echo "svnlook cat ${REPOS} ${NAME} >${REPOS}/hooks/${NAME}"
svnlook cat "${REPOS}" "${NAME}" >"${REPOS}/hooks/${NAME}"
else
echo "rm -f ${REPOS}/hooks/${NAME}"
rm -f "${REPOS}/hooks/${NAME}"
fi
fi
fi
done

# On commit to a branch, notify the branch owner if author is not him/her
local ADDRS=$(post-commit-bg-notify-who "$REPOS" "$REV" "$TXN")
if [[ -n $ADDRS ]]; then
SUBJECT="-s$(basename $REPOS)@$REV by $AUTHOR"
FROM=
if [[ -n ${FCM_SVN_HOOK_NOTIFICATION_FROM:-} ]]; then
FROM="-r${FCM_SVN_HOOK_NOTIFICATION_FROM:-}"
local COMMIT_CONFIG="${REPOS}/hooks/commit.conf"
if ! grep -q 'no-notify-branch-owner' "$COMMIT_CONFIG" 2>/dev/null; then
local ADDRS=$(post-commit-bg-notify-who "$REPOS" "$REV" "$TXN")
if [[ -n $ADDRS ]]; then
SUBJECT="-s$(basename $REPOS)@$REV by $AUTHOR"
FROM=
if [[ -n ${FCM_SVN_HOOK_NOTIFICATION_FROM:-} ]]; then
FROM="-r${FCM_SVN_HOOK_NOTIFICATION_FROM:-}"
fi
echo -n "svn log -v -r \"$REV\" \"file://$REPOS\""
echo " | mail \"$FROM\" \"$SUBJECT\" \"$ADDRS\""
svn log -v -r "$REV" "file://$REPOS" | mail "$FROM" "$SUBJECT" "$ADDRS"
fi
echo -n "svn log -v -r \"$REV\" \"file://$REPOS\""
echo " | mail \"$FROM\" \"$SUBJECT\" \"$ADDRS\""
svn log -v -r "$REV" "file://$REPOS" | mail "$FROM" "$SUBJECT" "$ADDRS"
fi

# Custom hook
Expand Down
5 changes: 4 additions & 1 deletion sbin/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ main() {
fi

# Verify owner of any new branches, if relevant
pre-commit-verify-branch-owner "$REPOS" "$TXN" || return $?
local COMMIT_CONFIG="${REPOS}/hooks/commit.conf"
if ! grep -q 'no-verify-branch-owner' "$COMMIT_CONFIG" 2>/dev/null; then
pre-commit-verify-branch-owner "$REPOS" "$TXN" || return $?
fi

# Custom checking, if required
local CUSTOM_HOOK="$REPOS/hooks/$THIS-custom"
Expand Down
23 changes: 18 additions & 5 deletions t/fcm-install-svn-hook/00-basic.t
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
if ! which svnadmin 1>/dev/null 2>/dev/null; then
skip_all 'svnadmin not available'
fi
tests 125
tests 149
#-------------------------------------------------------------------------------
FCM_REAL_HOME=$(readlink -f "$FCM_HOME")
TODAY=$(date -u +%Y%m%d)
Expand Down Expand Up @@ -110,22 +110,35 @@ run_tests() {
"$TEST_SOURCE_DIR/$TEST_KEY_BASE/$NAME-2.out" >"$TEST_KEY-2.out.exp"
file_cmp "$TEST_KEY-2.out" "$TEST_KEY-2.out.parsed" "$TEST_KEY-2.out.exp"
}

# New install, single repository
TEST_KEY="$TEST_KEY_BASE-new"
NAME=new run_tests
TEST_KEY="$TEST_KEY_BASE-new-foo"
NAME=new run_tests foo

# Clean install, single repository
TEST_KEY="$TEST_KEY_BASE-clean"
NAME=clean run_tests --clean
TEST_KEY="$TEST_KEY_BASE-clean-foo"
NAME=clean run_tests --clean foo

# New install, single repository, with svnperms.conf
TEST_KEY="$TEST_KEY_BASE-svnperms.conf"
mkdir svn-import
echo '[foo]' >svn-import/svnperms.conf
NAME=conf run_tests
mkdir -p 'svn-import'
echo '[foo]' >'svn-import/svnperms.conf'
NAME='svnperms-conf' run_tests
file_cmp "$TEST_KEY-ls-svnperms.conf" \
svn-repos/foo/hooks/svnperms.conf svn-import/svnperms.conf
'svn-repos/foo/hooks/svnperms.conf' 'svn-import/svnperms.conf'

# New install, single repository, with commit.conf
TEST_KEY="$TEST_KEY_BASE-commit.conf"
{
echo 'no-notify-branch-owner'
echo 'no-verify-branch-owner'
} >'svn-import/commit.conf'
NAME='commit-conf' run_tests
file_cmp "$TEST_KEY-ls-svnperms.conf" \
'svn-repos/foo/hooks/commit.conf' 'svn-import/commit.conf'
#-------------------------------------------------------------------------------
exit
6 changes: 6 additions & 0 deletions t/fcm-install-svn-hook/00-basic/commit-conf-2.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
YYYY-mm-ddTHH:MM:SSZ: copy FCM_REAL_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/foo/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_REAL_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/foo/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_REAL_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/foo/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_REAL_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/foo/hooks/pre-revprop-change
YYYY-mm-ddTHH:MM:SSZ: install PWD/svn-repos/foo/hooks/commit.conf <- ^/commit.conf
YYYY-mm-ddTHH:MM:SSZ: install PWD/svn-repos/foo/hooks/svnperms.conf <- ^/svnperms.conf
10 changes: 10 additions & 0 deletions t/fcm-install-svn-hook/00-basic/commit-conf.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
YYYY-mm-ddTHH:MM:SSZ: copy FCM_REAL_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/foo/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_REAL_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/foo/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_REAL_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/foo/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_REAL_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/foo/hooks/pre-revprop-change
YYYY-mm-ddTHH:MM:SSZ: install PWD/svn-repos/foo/hooks/commit.conf <- ^/commit.conf
YYYY-mm-ddTHH:MM:SSZ: install PWD/svn-repos/foo/hooks/svnperms.conf <- ^/svnperms.conf
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-commit.log.TODAY -> PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-commit.log.TODAY -> PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/pre-revprop-change.log
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions t/fcm-install-svn-hook/01-housekeep-log/0-cmd0.out
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/foo/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/foo/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/foo/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/foo/hooks/pre-revprop-change
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-commit.log.TODAY -> PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-commit.log.TODAY -> PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/bar/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/bar/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/bar/hooks/pre-commit
Expand All @@ -14,3 +6,11 @@ YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-commit.log.TODAY -> PWD/svn-repos/b
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-revprop-change.log.TODAY -> PWD/svn-repos/bar/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-commit.log.TODAY -> PWD/svn-repos/bar/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-revprop-change.log.TODAY -> PWD/svn-repos/bar/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/foo/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/foo/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/foo/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/foo/hooks/pre-revprop-change
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-commit.log.TODAY -> PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-commit.log.TODAY -> PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/pre-revprop-change.log
8 changes: 4 additions & 4 deletions t/fcm-install-svn-hook/01-housekeep-log/0-cmd1.out
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/foo/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/foo/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/foo/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/foo/hooks/pre-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/bar/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/bar/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/bar/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/bar/hooks/pre-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/foo/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/foo/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/foo/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/foo/hooks/pre-revprop-change
36 changes: 18 additions & 18 deletions t/fcm-install-svn-hook/01-housekeep-log/28-cmd.out
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/foo/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/foo/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/foo/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/foo/hooks/pre-revprop-change
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-commit.log.TODAY -> PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/post-commit.log.DATE_P28D.gz
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/post-commit.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/post-revprop-change.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-commit.log.TODAY -> PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/pre-commit.log.DATE_P28D.gz
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/pre-commit.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/pre-revprop-change.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/bar/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/bar/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/bar/hooks/pre-commit
Expand All @@ -34,3 +16,21 @@ YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/bar/log/pre-commit.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/bar/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-revprop-change.log.TODAY -> PWD/svn-repos/bar/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/bar/log/pre-revprop-change.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/foo/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/foo/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/foo/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/foo/hooks/pre-revprop-change
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-commit.log.TODAY -> PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/post-commit.log.DATE_P28D.gz
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/post-commit.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/post-revprop-change.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-commit.log.TODAY -> PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/pre-commit.log.DATE_P28D.gz
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/pre-commit.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/pre-revprop-change.log.DATE_P7D
32 changes: 16 additions & 16 deletions t/fcm-install-svn-hook/01-housekeep-log/7-cmd.out
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/foo/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/foo/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/foo/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/foo/hooks/pre-revprop-change
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-commit.log.TODAY -> PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/post-commit.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/post-revprop-change.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-commit.log.TODAY -> PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/pre-commit.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/pre-revprop-change.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/bar/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/bar/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/bar/hooks/pre-commit
Expand All @@ -30,3 +14,19 @@ YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/bar/log/pre-commit.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/bar/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-revprop-change.log.TODAY -> PWD/svn-repos/bar/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/bar/log/pre-revprop-change.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-commit to PWD/svn-repos/foo/hooks/post-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/post-revprop-change to PWD/svn-repos/foo/hooks/post-revprop-change
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-commit to PWD/svn-repos/foo/hooks/pre-commit
YYYY-mm-ddTHH:MM:SSZ: copy FCM_HOME/etc/svn-hooks/pre-revprop-change to PWD/svn-repos/foo/hooks/pre-revprop-change
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-commit.log.TODAY -> PWD/svn-repos/foo/log/post-commit.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/post-commit.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: post-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/post-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/post-revprop-change.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-commit.log.TODAY -> PWD/svn-repos/foo/log/pre-commit.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/pre-commit.log.DATE_P7D
YYYY-mm-ddTHH:MM:SSZ: removing PWD/svn-repos/foo/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: creating symlink: pre-revprop-change.log.TODAY -> PWD/svn-repos/foo/log/pre-revprop-change.log
YYYY-mm-ddTHH:MM:SSZ: gzip PWD/svn-repos/foo/log/pre-revprop-change.log.DATE_P7D
Loading

0 comments on commit db99680

Please sign in to comment.