1 | | == /var/svn/game == |
| 1 | Repositories with post-commit hook: |
| 2 | * biomed: email |
| 3 | * data: email + svn backup |
| 4 | * datavis: email + svn backup |
| 5 | * downloads: email |
| 6 | * game: email + svn backup + doxygen if it was a trunk commit |
| 7 | * netflow: no hooks |
| 8 | * ogre: email |
| 9 | * orxonox: email + svn backup + doxygen if it was a trunk commit |
| 10 | * orxonox_closed: email + svn backup |
| 11 | * subprojects: email |
| 12 | * vseth_projects: email |
| 13 | * webdev: email + svn backup + svn update |
| 14 | |
| 15 | == biomed == |
| 16 | |
| 17 | Only a ''post-commit'' hook sending an email to the mailing list. |
| 18 | {{{#!sh |
| 19 | REPOS="$1" |
| 20 | REV="$2" |
| 21 | |
| 22 | /var/svn/scripts/commit-email.pl "$REPOS" "$REV" biomed@orxonox.ethz.ch |
| 23 | }}} |
| 24 | |
| 25 | == data == |
| 26 | |
| 27 | Post-commit only: send email to mailing list and |
| 28 | {{{#!sh |
| 29 | REPOS="$1" |
| 30 | REV="$2" |
| 31 | |
| 32 | # Send commit email to mailing list |
| 33 | /var/svn/scripts/commit-email.pl "$REPOS" "$REV" orxonox-commit@orxonox.net -s data |
| 34 | |
| 35 | # Backup repository script |
| 36 | /var/svn/scripts/svnbackup --rep data dump all |
| 37 | |
| 38 | # What are we doing here? |
| 39 | cd /var/www/orxonox/files/data; sudo -u orxonox /usr/bin/svn up |
| 40 | }}} |
| 41 | |
| 42 | == game == |