這裏顯示兩個版本的差異處。
| Both sides previous revision 前次修改 下次修改 | 前次修改 | ||
|
service:subversion_trac [2009/10/13 23:42] wenpei |
service:subversion_trac [2011/12/05 11:16] (目前版本) wenpei SparkleShare |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| ====== Subversion ====== | ====== Subversion ====== | ||
| + | 設定專用資料夾:http://i.repeat.tw/blog/post/8687153 | ||
| + | |||
| + | 如何不被 TortoiseSVN 拖慢系統效率:http://www.jeffhung.net/blog/articles/jeffhung/758/ | ||
| + | |||
| + | ===== Branck and Merge ===== | ||
| + | http://blog.miniasp.com/post/2010/01/Subversion-Branches-and-Merging-using-TortoiseSVN.aspx | ||
| + | |||
| ===== 忽略檔案或資料夾 ===== | ===== 忽略檔案或資料夾 ===== | ||
| svn propedit svn:ignore [Repo位置] | svn propedit svn:ignore [Repo位置] | ||
| 行 83: | 行 90: | ||
| ===== 設定編譯 subversion 的參數 ===== | ===== 設定編譯 subversion 的參數 ===== | ||
| + | 編輯 /usr/local/etc/pkgtools.conf,加上: | ||
| <code> | <code> | ||
| MAKE_ARGS = { | MAKE_ARGS = { | ||
| 行 139: | 行 147: | ||
| # chown -R www-data:www-data project_name | # chown -R www-data:www-data project_name | ||
| + | |||
| + | 加入管理者帳號: | ||
| + | trac-admin [[project_path]] permission add [[username]] TRAC_ADMIN | ||
| ===== TracWebAdmin ===== | ===== TracWebAdmin ===== | ||
| 行 148: | 行 159: | ||
| 下載 WebAdmin 原始碼來編譯: | 下載 WebAdmin 原始碼來編譯: | ||
| # cd /tmp | # cd /tmp | ||
| - | # svn co http://svn.edgewall.com/repos/trac/sandbox/webadmin/ | + | # svn co http://svn.edgewall.org/repos/trac/plugins/0.10/webadmin |
| # python setup.py bdist_egg | # python setup.py bdist_egg | ||
| 完成後在 dist 目錄下會產生一個 TracWebAdmin-xxx.egg 檔案,複製到: | 完成後在 dist 目錄下會產生一個 TracWebAdmin-xxx.egg 檔案,複製到: | ||
| - | # mv TracWebAdmin-xxx.egg /usr/local/lib/python2.5/site-packages/ | + | # mv TracWebAdmin-xxx.egg /usr/local/lib/python2.X/site-packages/ |
| 建立 Apache 執行 Python 時用的暫存目錄: | 建立 Apache 執行 Python 時用的暫存目錄: | ||
| 行 165: | 行 176: | ||
| ===== 附註 ===== | ===== 附註 ===== | ||
| 所有上傳的檔案會依照每版本一個檔案放在 /home/svn/sandbox/db/revs 資料夾中。 | 所有上傳的檔案會依照每版本一個檔案放在 /home/svn/sandbox/db/revs 資料夾中。 | ||
| - | |||
| ==== subversion 參考 ==== | ==== subversion 參考 ==== | ||
| + | [[http://www.dev.idv.tw/mediawiki/index.php/TortoiseSVN使用簡介|TortoiseSVN使用簡介]] | ||
| + | |||
| http://jostudio.blogspot.com/2006/12/svn-subversion-tortoisesvn.html | http://jostudio.blogspot.com/2006/12/svn-subversion-tortoisesvn.html | ||
| 行 191: | 行 203: | ||
| ===== 刪除 .svn 目錄 ===== | ===== 刪除 .svn 目錄 ===== | ||
| find . -type d -name '.svn' -exec rm -rf {} \; | find . -type d -name '.svn' -exec rm -rf {} \; | ||
| + | | ||
| + | ====== iFolder ====== | ||
| + | http://www.ifolder.com/ | ||
| + | |||
| + | http://sourceforge.net/projects/ifolder/files/ | ||
| + | |||
| + | iFolder is a safe and secure way to share and synchronize files across computers and within teams. | ||
| + | |||
| + | ====== SparkleShare ====== | ||
| + | http://sparkleshare.org/ | ||
| + | |||
| + | SparkleShare is a collaboration and sharing tool that is designed to keep things simple and to stay out of your way. | ||
| + | |||
| + | 2011/12/05: Do not support Windows client yet. | ||
| + | |||