r20806 - meta/hooks - Update post-commit hooks to tickle server to update github

Derek Atkins warlord at code.gnucash.org
Mon Jun 27 17:13:21 EDT 2011


Author: warlord
Date: 2011-06-27 17:13:21 -0400 (Mon, 27 Jun 2011)
New Revision: 20806
Trac: http://svn.gnucash.org/trac/changeset/20806

Modified:
   meta/hooks/post-commit
Log:
Update post-commit hooks to tickle server to update github


Modified: meta/hooks/post-commit
===================================================================
--- meta/hooks/post-commit	2011-06-27 18:17:16 UTC (rev 20805)
+++ meta/hooks/post-commit	2011-06-27 21:13:21 UTC (rev 20806)
@@ -78,6 +78,16 @@
     ( "${REPOS}"/hooks/update-website-beta ; \
       cd /home/nmz/nmz-beta && svn update && make nmz URLBASE=/beta )
 
+# 2011-06-27: jralls + warlord: Tickle Server to update the Github mirror.
+[ `${SVNLOOK} changed "${REPOS}" -r "${REV}" | ${EGREP} -c "^....htdocs"` != 0 ] && \
+    "${REPOS}"/hooks/update-github gnucash-htdocs
+
+[ `${SVNLOOK} changed "${REPOS}" -r "${REV}" | ${EGREP} -c "^....docs"` != 0 ] && \
+    "${REPOS}"/hooks/update-github gnucash-docs
+
+[ `${SVNLOOK} changed "${REPOS}" -r "${REV}" | ${EGREP} -c "^....gnucash"` != 0 ] && \
+    "${REPOS}"/hooks/update-github gnucash
+
 # 2006-07-14 warlord: check the log looking for backport requests
 # - If we find a log with 'BP' then send another email to gnucash-devel
 #[ `${SVNLOOK} info "${REPOS}" -r "${REV}" | ${EGREP} -c '^BP$'` != 0 ] && \



More information about the gnucash-changes mailing list