From: Grigory Fateyev <greg@anastasia.ru>
To: sysadmins <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] subversion post-commit hook
Date: Fri, 13 Jul 2007 12:57:22 +0400
Message-ID: <20070713125722.3e2367da@greg> (raw)
Здравствуйте!
Установил subversion сервер, теперь хочется чтоб после коммита
автоматом запускалось обновление репозитория. Если скрипт запустить
руками, то отрабатывается нормально, если что-то коммитеть, то письма
уведомления приходят, а svn update не срабатывает. Почему?
#!/bin/sh
## Запуск обновления
cd /var/www/mydomain.ru/dial/ && svn update > /dev/null && cd
## Рассылка уведомлений об коммитах
REPOS="$1"
REV="$2"
/usr/bin/svn-mailer --commit --config /etc/svnmailer.conf --repository
"${REPOS}" --revision "${REV}" &
--
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2007/07/13 12:48
next reply other threads:[~2007-07-13 8:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-13 8:57 Grigory Fateyev [this message]
2007-07-13 11:46 ` Ivan Fedorov
2007-07-13 12:53 ` Grigory Fateyev
2007-08-07 7:55 ` Vladimir V. Kamarzin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070713125722.3e2367da@greg \
--to=greg@anastasia.ru \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git