SVN
Aus Mein Wiki
Sebra (Diskussion | Beiträge) (→Clients for Windows) |
Sebra (Diskussion | Beiträge) (→Automatisches SVN2FTP (SVN-to-Webserver)) |
||
Zeile 19: | Zeile 19: | ||
= Server einrichten = | = Server einrichten = | ||
== Windows == | == Windows == | ||
+ | === VisualSVN === | ||
+ | ==== Database to Filesystem ==== | ||
+ | I am using VisualSVN Server on Windows Server 2008, And TortoiseSVN for each client. | ||
+ | |||
+ | I have a repository - [ProjectA] with Post-Commit Hook | ||
+ | |||
+ | C:\Progra~2\Visual~1\bin\svn.exe update D:\ProjectA\ --quiet --revision HEAD --no-auth-cache --non-interactive --username hookuser --password 123456 | ||
+ | |||
+ | The D:\ProjectA\ is CheckOut from \trunk\ and work fine, everytime i commit the files, it will automatic copy the HEAD revision files to D:\ProjectA. | ||
+ | |||
+ | * Source: http://stackoverflow.com/questions/7564233/svn-post-commit-hook-copy-file-to-folder-from-tags-repositories | ||
+ | |||
== Linux == | == Linux == | ||
== Automatisches SVN2FTP (SVN-to-Webserver) == | == Automatisches SVN2FTP (SVN-to-Webserver) == | ||
+ | * normaler Export und simpler FTP-Sync | ||
+ | ** Export s.o. | ||
+ | ** Sync zB per "Sync-Tool 2.0" | ||
* per Hook | * per Hook | ||
** http://stackoverflow.com/questions/738499/svn-post-commit-hook-to-copy-committed-files-to-a-working-copy-for-another-repos | ** http://stackoverflow.com/questions/738499/svn-post-commit-hook-to-copy-committed-files-to-a-working-copy-for-another-repos | ||
+ | * mehr zum Thema | ||
+ | ** http://stackoverflow.com/questions/1922587/how-to-keep-subversion-and-a-remote-server-via-ftp-in-sync |