1 / 30

Shared Document Management using TortoiseSVN

Shared Document Management using TortoiseSVN. Dedi Rahmawan Putra 97599007. Outline. Shared Document Conventional Ways Common Problems What is TortoiseSVN Advantages over another tools Basic Concepts Repository Checkout Daily Uses References. Shared Document.

eman
Download Presentation

Shared Document Management using TortoiseSVN

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Shared Document Management using TortoiseSVN DediRahmawan Putra 97599007

  2. Outline Shared Document Conventional Ways Common Problems What is TortoiseSVN Advantages over another tools Basic Concepts Repository Checkout Daily Uses References

  3. Shared Document Do you work in team and share the same documents? Do you work on the same working copy of documents on different place?

  4. Conventional Ways Removable Storage Remote Desktop Folder sharing File Server (FTP)

  5. Removable Storage • The latest update is in removable storage. • Only good for individual usage. • Losing it might lose recently updated files. • Hard to synchronize back-up working copy between clients or users. • Duplication may exist. • Newer version may replace older version even the older one has better contents.

  6. Remote Desktop Latest working copy is in the target PC/NB of Remote Desktop. Only good for personal usage. Cannot continue working when the target is down. Back up working copy might not be the latest update.

  7. File Server (FTP) The latest working copy is in file server. Applicable for many clients or users. Stop working while the server is down. It is possible to work on back up copy. However any change you made might be lost if you don’t notice others.

  8. Folder Sharing • For local network: • Small coverage area. • For Internet: • The same problem as in FTP server.

  9. Other Management Problems Someone else was working on the same file at the same time you worked on it. Would he/she or you lose the change? You want to revert the changes one has made. Can you track down when and who put any changes to the file?

  10. What is TortoiseSVN A free open-source client for Subversion version control system. Manages files and directories over time. Files are stored in a central repository. Remembers every change ever made to the files and directories and can recover older versions. Examines the history of how and when your data changed, and who changed it.

  11. Basic Diagram Client Client PC Server Working Copy Working Copy Working Copy Working Copy Working Copy REPOSITORY R/WR R/WR Working Copy Working Copy Server Working Copy R/WR R/WR Client Client

  12. Advantages over another tools The latest working copy is in the repository and clients (using update command). Allows offline work even when repository server is down. Confirm conflicted documents and can merge them (text files only). Can revert back any files into their older version. Integrated with Windows Explorer. Accessible repository with URLs.

  13. Repository Access URLs

  14. Repository A central store of data Stores information in the form of a file system tree - a typical hierarchy of files and directories. Any number of clients connect to the repository, and then read or write to the files. A kind of file server, but remembers every change ever written to it: addition, deletion, and rearrangement of files /directories. The client has the ability to view previous states of the file system.

  15. File Sharing Problem

  16. Lock-Modify-Unlock Solution

  17. Lock-Modify-Unlock Drawbacks May cause administrative problems. May cause unnecessary serialization. May create a false sense of security.

  18. Copy Modify-Merge Solution Subversion, CVS, and some others use a copy-modify-merge model.

  19. Copy Modify-Merge Cont’d

  20. What do we need? • Prerequisite: • A PC server to maintain the repository • Installation Files: • TortoiseSVN: http://tortoisesvn.net/downloads • Subversion: http://www.collab.net/downloads/subversion (user: netlab, password: s3cret) • Apache web server: http://www.apache.org/dyn/closer.cgi

  21. How to use it? • Install TortoiseSVN on a server. • Create a repository on a server. • Install Server: • SVNServer and/or • ApacheServer • Install TortoiseSVN on client(s). • Do Checkout on an empty folder in client or server. • Shared Document Management is ready.

  22. Repository Creation

  23. Checkout Creates a working copy on a client folder.

  24. Commit Command

  25. Update Command

  26. View log message

  27. Repository Browser

  28. Repository Backup It is vitally important. Without the repository all history is lost forever. The simplest (but not recommended) way is just to copy the repository folder onto the backup medium. The recommended method is to run: svnadminhotcopy path/to/repository path/to/backup --clean-logs to create a copy of your repository in a safe manner. Then backup the copy.

  29. Other useful features Lock file(s) Differences with previous version Repository Password and Authorization Check for Modification Revision Graph Update to Revision Import Export Relocate Repository

  30. References http://www.tortoisesvn.net http://www.collab.net

More Related