svnnotify配置
来源:互联网 发布:pe pvdc 知乎 保鲜膜 编辑:程序博客网 时间:2024/06/15 19:20
1. 安装svn-notify
$ sudo apt-get install libsvn-notify-perl libnet-smtpauth-perl
2. 修改配置文件
将/path_to_your_svn/hooks/post-commit.tmpl拷贝重命名为post-commit,并设置其为可执行权限,编辑替换post-commit最后一行为以下代码:
/usr/bin/svnnotify --repos-path "$REPOS" /
--revision $REV /
-f "svn@lccbj.com" /
-t "user1@xx.com, user2@yy.com, user3@zz.com" /
--smtp "10.136.35.13" /
--smtp-user "svn" /
--smtp-pass "svn" /
--smtp-authtype "LOGIN PLAIN" /
-a
详细svnnotify的选项请参考svnnotify -h
可以先手动执行该脚本测试, sh post-commit /home/svn 4060
- svnnotify配置
- Windows下的SVN安装配置及SVNNotify邮件通知
- 配置
- 配置
- 配置
- 配置
- [配置]
- 配置
- 配置
- 配置
- 配置
- 配置
- 配置
- 配置
- 配置
- 配置
- 配置
- 配置
- Object-C #import 指令
- Unhandled Exception thrown
- CORBA学习手记3
- oracle存储过程大数据量insert
- Conversion Operators
- svnnotify配置
- 如何删除一个表中重复的记录? 、、游标,存储过程的使用
- 【转】Android JNI 知识简介
- 线程使用
- 实战试用 Android NDK 初见成效
- 【思考】何去何从
- perl正则表达式实现大写字母转小写字母
- 1
- 看书了