Presentation is loading. Please wait.

Presentation is loading. Please wait.

Subversion for administrators

Similar presentations


Presentation on theme: "Subversion for administrators"— Presentation transcript:

1 Subversion for administrators
Martin Žugec Principal Consultant

2 ...especially the open source ones…
Developers know why… 1200 hubs, developers, 120 revisions per day… ...especially the open source ones…

3 …but why should administrators care?

4 Ehm? (without SVN)

5 We can do it better (with SVN)

6 Few examples… Backups Change tracking Documenting changes
Disaster recovery Easier for new team members to learn

7 How much does it cost? FREE server and client
NO infrastructure needed* First repository can be up and running in 5 minutes (demo) and is managed using familiar Windows Explorer *for filesystem based repository and TortoiseSVN

8 Terminology 1 Repository (central database)
Working copy (local folder) 1 repository can have multiple attached working copies

9 Repository Doesn’t require server!!!
Filesystem based database (single folder) - Apache Svn:// - SvnServer File:// - Regular filesystem Doesn’t require server!!!

10 Working copy Working copy is just a regular folder, that keeps information about the repository and stores the last revision Subversion data are stored in “.svn” subfolders Can point to any folder within repository

11 Terminology 2 Checkout – creating new working copy
Update – downloading changes from repository Commit – uploading changes to repository

12 Terminology 3 Revision is increased whenever you change something. Revision number is assigned automatically and you cannot change it. You can either specify revision number or use “HEAD” (latest) Every WRITE operation gets revision number automatically, commits are atomic (do all or nothing)

13 Terminology Trunk, branches, tags
Trunk is never-ending line of changes Tag is “cheap-copy” of specific trunk revision Branch is “cheap-copy” of specific trunk revision. Difference between Tag and Branch is that we NEVER change tag (used for release management), but we can change Branch (playground) Trunk, Tag and Branch is just recommendation

14 How developers are using it
SVN in SVN…

15 How admins are using it Coffee at 8am Coffee at 10am After lunch
Boring meeting Going home January February March April May

16 Clients WebSVN – web-based view TortoiseSVN – best client for Windows
AnkhSVN – integration with Visual Studio SVN.exe – used for scripting\automation, part of Apache package (!) Vercue – “Outlook for Subversion” …tons…

17 BUT!? Problems with some directory operations (rename)
Performance over HTTP Permissions and access control limitations Strictly folder based operations

18 Q&A


Download ppt "Subversion for administrators"

Similar presentations


Ads by Google