SVN
Aus Mein Wiki
Sebra (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „**[http://www.howtoforge.com/debian_subversion_websvn Setting up Subversion and websvn on Debian] **[http://www.visualsvn.com/server/ VisualSVN - SVN-Server for W…“) |
Sebra (Diskussion | Beiträge) (→Automatisches SVN2FTP (SVN-to-Webserver)) |
||
| Zeile 1: | Zeile 1: | ||
| + | = Alte Struktur = | ||
| + | * Setup | ||
**[http://www.howtoforge.com/debian_subversion_websvn Setting up Subversion and websvn on Debian] | **[http://www.howtoforge.com/debian_subversion_websvn Setting up Subversion and websvn on Debian] | ||
**[http://www.visualsvn.com/server/ VisualSVN - SVN-Server for Windows] | **[http://www.visualsvn.com/server/ VisualSVN - SVN-Server for Windows] | ||
| Zeile 5: | Zeile 7: | ||
*** "Install new Software" im Menü auswählen. Als Source http://subclipse.tigris.org/update_1.4.x angeben und die ersten 3 Punkte der ersten Gruppe installieren. | *** "Install new Software" im Menü auswählen. Als Source http://subclipse.tigris.org/update_1.4.x angeben und die ersten 3 Punkte der ersten Gruppe installieren. | ||
**** Hier beschrieben: http://thomas.deuling.org/2011/04/integrate-subversion-plugin-into-aptana-3/ | **** Hier beschrieben: http://thomas.deuling.org/2011/04/integrate-subversion-plugin-into-aptana-3/ | ||
| + | |||
| + | = aufgeräumt ... = | ||
| + | = Client einrichten = | ||
| + | == Clients for Windows == | ||
| + | * Netbeans internal | ||
| + | * Eclipse / Aptana Studio internal (AddOn) | ||
| + | ** s.o. | ||
| + | * TortoiseSVN | ||
| + | ** http://tortoisesvn.net/downloads.html | ||
| + | |||
| + | = Server einrichten = | ||
| + | == 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 == | ||
| + | == Automatisches SVN2FTP (SVN-to-Webserver) == | ||
| + | * normaler Export und simpler FTP-Sync | ||
| + | ** Export s.o. | ||
| + | ** Sync zB per "Sync-Tool 2.0" | ||
| + | * per Hook | ||
| + | ** 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 | ||

