SlideShare uma empresa Scribd logo
1 de 23
Baixar para ler offline
Subversion


                Technical Report
                  Joe Chavez
                August 2, 2006
8/2/2006 v1.1        Joe Chavez


                                   1
Overview

      •   Motivation          •   Installation
      •   History             •   Configuration
      •   Why subversion?     •   CVS Conversion
      •   Architecture        •   Subversion Client
      •   Deployment          •   IDE Support




                                                      2
8/2/2006 v1.1               Joe Chavez
                                                          2
Motivation

      • Manage the change in information over
        time…
             Source code
             Documentation
             Binary files
      • Not ground breaking
             Match main features of CVS
             Not duplicate the flaws
             Facilitate user switch
                                                3
8/2/2006 v1.1                   Joe Chavez
                                                    3
History

      • Started by CollabNet in 2000
      • “Self-hosting” in August, 2001
      • Debian Free Software Guidelines license
      • CollabNet still pays the salaries of a
        “few” full time employees
      • Version 1.3.1 released on April 3rd


                                                  4
8/2/2006 v1.1             Joe Chavez
                                                      4
Why subversion?

      • Most current CVS features
      • Directories, renames, and file meta-
        data are versioned
      • True version history
      • Atomic commits
      • Choice of network layers
      • Consistent data handling

                                              5
8/2/2006 v1.1             Joe Chavez
                                                  5
Why subversion?

      •   Efficient branching and tagging
      •   Integration
      •   Standalone server option
      •   Versioning of symbolic links
      •   Parse ready output
      •   Localized messages
      •   Properties
      •   Secure Access - SSH/SSL


                                            6
8/2/2006 v1.1                  Joe Chavez
                                                6
Architecture

      • Client
             Command Line (XP, *nix, OS X, etc.)
             IDE (IntelliJ, Eclipse… to name a few)
             Client Library
      • Connectivity
             Internet
                 DAV (Apache mod_dav + mod_dav_svn) - http/s://
                 SVN - svn://
             Local
                 file://
                                                                   7
8/2/2006 v1.1                          Joe Chavez
                                                                       7
Architecture

      • Repository
             Berkeley DB
             FSFS (recommended)
      • Built on the Apache Portable Runtime
      • Architecture diagram on next slide - from
        Subversion docs




                                                    8
8/2/2006 v1.1                      Joe Chavez
                                                        8
Diagram




                                9
8/2/2006 v1.1      Joe Chavez
                                    9
Deployment

      • OS
             Solaris 10
      • Hardware
             TBD




                                        10
8/2/2006 v1.1              Joe Chavez
                                         10
Installation

      • Distribution
             Via http://subversion.tigris.org/ and mirror sites
      • Source
             Roll your own
             Enable options that are not part of the typical
              “binary” distribution
      • Binary
             Easy to install - don’t have to compile for all
              client platforms
             May lag behind latest source release
                                                                   11
8/2/2006 v1.1                        Joe Chavez
                                                                    11
Installation: Source

      • Download Source
      • Configure (with SSL client)
             ./configure --with-ssl --with-swig
      • Make
             make swig-py
             make install swig-py (as root on *nix)



                                                       12
8/2/2006 v1.1                    Joe Chavez
                                                        12
Configuration

      • Server Options
             Standalone Server
             Apache Module
      • Standalone
             svn and svn+ssh (ssh tunneling)
      • Apache
             HTTP and HTTPS (with SSL enabled client)


                                                         13
8/2/2006 v1.1                     Joe Chavez
                                                          13
CVS Conversion

      • Convert or Export?
      • Conversion
             cvs2svn - http://cvs2svn.tigris.org/
             Several options
                 Trunk only - No tags or branches
                 Exclude - Selected tags and branches
                 Project basis - Can break svn date range commands
      • Export
             Use cvs export then svn import
             cvs repos should be read only for reference
                                                                      14
8/2/2006 v1.1                           Joe Chavez
                                                                       14
Subversion Admin

      • Admin
             svnadmin
                   create <path>
                   dump
                   load
                   hotcopy
             svnlook
                 Inspect transaction history
             svndumpfilter
      • Hook scripts
             9 hooks
                                                       15
8/2/2006 v1.1                             Joe Chavez
                                                        15
Subversion Client

      • Client - svn
             All local/remote access
      • Repository commands
             svn import
             svn checkout
             svn commit




                                              16
8/2/2006 v1.1                    Joe Chavez
                                               16
Subversion Client

      • File commands
             svn add, svn delete, svn copy, and svn move
             svn status - client side only, no “update” side
              effects
                 -u to show repository updates
             svn diff - no net access
             svn revert - revert to original file and undo
              scheduled operations
             svn update - interesting if conflicts are found
             svn resolve - use to resolve a conflict
                                                                17
8/2/2006 v1.1                           Joe Chavez
                                                                 17
Subversion Client

      • History Commands
             svn log - detailed file history
                 -v for path changes
                 -q for no log body
                 -v -q for names of changed files
             svn cat - display file or particular revision
             svn list - show file list for a directory
                 -v for detailed info


                                                             18
8/2/2006 v1.1                            Joe Chavez
                                                              18
IDE Support

      • IntelliJ
             Check out on command line first
             Create new project
             Set subversion as source control
      • Eclipse - Subclipse
             Plug-in Install URL
              http://subclipse.tigris.org/update_1.0.x
             Select “SVN Repository Browsing”
              perspective

                                                         19
8/2/2006 v1.1                    Joe Chavez
                                                          19
Summary

      •   Motivation          •   Installation
      •   History             •   Configuration
      •   Why subversion?     •   CVS Conversion
      •   Architecture        •   Subversion Client
      •   Deployment          •   IDE Support




                                                      20
8/2/2006 v1.1               Joe Chavez
                                                       20
Q&A

      • Got questions?




                                       21
8/2/2006 v1.1             Joe Chavez
                                        21
References

      • SSC Subversion
          Main Site: https://audrey.ipac.caltech.edu/svn
            Install notes
            This presentation
            Full technical report
      • Subversion
             http://subversion.tigris.org

      • Version Control with Subversion (free book)
             http://svnbook.red-bean.com/

      • cvs2svn
             http://cvs2svn.tigris.org/                    22
8/2/2006 v1.1                                Joe Chavez
                                                             22
Open Issues

      • User account management
      • Rollout schedule
      • Training




                                     23
8/2/2006 v1.1           Joe Chavez
                                      23

Mais conteúdo relacionado

Mais procurados

Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
The Linux Foundation
 
12 christian ferber xen_server_advanced
12 christian ferber xen_server_advanced12 christian ferber xen_server_advanced
12 christian ferber xen_server_advanced
Digicomp Academy AG
 
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCPOscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
The Linux Foundation
 
Learning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBoxLearning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBox
Leighton Nelson
 

Mais procurados (20)

Building Cloud Tools for Netflix with Jenkins
Building Cloud Tools for Netflix with JenkinsBuilding Cloud Tools for Netflix with Jenkins
Building Cloud Tools for Netflix with Jenkins
 
Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP Scale11x : Virtualization with Xen and XCP
Scale11x : Virtualization with Xen and XCP
 
Building Blocks of the Private Cloud - Compute
Building Blocks of the Private Cloud - ComputeBuilding Blocks of the Private Cloud - Compute
Building Blocks of the Private Cloud - Compute
 
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
Sergey Dzyuban "To Build My Own Cloud with Blackjack…"
 
JBoss AS7 Reloaded
JBoss AS7 ReloadedJBoss AS7 Reloaded
JBoss AS7 Reloaded
 
Windsor: Domain 0 Disaggregation for XenServer and XCP
	Windsor: Domain 0 Disaggregation for XenServer and XCP	Windsor: Domain 0 Disaggregation for XenServer and XCP
Windsor: Domain 0 Disaggregation for XenServer and XCP
 
SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012
SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012
SQL 2012 AlwaysOn Availability Groups for SharePoint 2010 - AUSPC2012
 
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,PavlicekXen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
Xen, XenServer, and XAPI: What’s the Difference?-XPUS13 Bulpin,Pavlicek
 
eZ Accelerator v1
eZ Accelerator v1eZ Accelerator v1
eZ Accelerator v1
 
Liberty management
Liberty managementLiberty management
Liberty management
 
12 christian ferber xen_server_advanced
12 christian ferber xen_server_advanced12 christian ferber xen_server_advanced
12 christian ferber xen_server_advanced
 
Использование maven для сборки больших модульных c++ проектов на примере Odin...
Использование maven для сборки больших модульных c++ проектов на примере Odin...Использование maven для сборки больших модульных c++ проектов на примере Odin...
Использование maven для сборки больших модульных c++ проектов на примере Odin...
 
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCPOscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
Oscon 2012 : From Datacenter to the Cloud - Featuring Xen and XCP
 
Noah - Robust and Flexible Operating System Compatibility Architecture - Cont...
Noah - Robust and Flexible Operating System Compatibility Architecture - Cont...Noah - Robust and Flexible Operating System Compatibility Architecture - Cont...
Noah - Robust and Flexible Operating System Compatibility Architecture - Cont...
 
Veeamvpower
VeeamvpowerVeeamvpower
Veeamvpower
 
Novell Teaming: Automating Business Processes with Forms and Workflows
Novell Teaming: Automating Business Processes with Forms and WorkflowsNovell Teaming: Automating Business Processes with Forms and Workflows
Novell Teaming: Automating Business Processes with Forms and Workflows
 
Integrating Novell Teaming within Your Existing Infrastructure
Integrating Novell Teaming within Your Existing InfrastructureIntegrating Novell Teaming within Your Existing Infrastructure
Integrating Novell Teaming within Your Existing Infrastructure
 
Docker talk
Docker talkDocker talk
Docker talk
 
Learning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBoxLearning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBox
 
Xen and Apache cloudstack
Xen and Apache cloudstack  Xen and Apache cloudstack
Xen and Apache cloudstack
 

Semelhante a Subversion Tech Report (2006)

Version Control With Subversion
Version Control With SubversionVersion Control With Subversion
Version Control With Subversion
Samnang Chhun
 
Enterprise OSGi at eBay
Enterprise OSGi at eBayEnterprise OSGi at eBay
Enterprise OSGi at eBay
Tony Ng
 
Windows server 8 hyper v & storage (hans vredevoort)
Windows server 8 hyper v & storage (hans vredevoort)Windows server 8 hyper v & storage (hans vredevoort)
Windows server 8 hyper v & storage (hans vredevoort)
hypervnu
 
T4T Training day - NodeJS
T4T Training day - NodeJST4T Training day - NodeJS
T4T Training day - NodeJS
Tim Sommer
 
Sv jug - mar 2013 - sl
Sv jug - mar 2013 - slSv jug - mar 2013 - sl
Sv jug - mar 2013 - sl
CloudBees
 

Semelhante a Subversion Tech Report (2006) (20)

Managing Open vSwitch Across a Large Heterogenous Fleet
Managing Open vSwitch Across a Large Heterogenous FleetManaging Open vSwitch Across a Large Heterogenous Fleet
Managing Open vSwitch Across a Large Heterogenous Fleet
 
JavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir Džaferović
JavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir DžaferovićJavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir Džaferović
JavaCro'14 - Continuous deployment tool – Aleksandar Dostić and Emir Džaferović
 
OpenStack and Windows
OpenStack and WindowsOpenStack and Windows
OpenStack and Windows
 
Cis222 2
Cis222 2Cis222 2
Cis222 2
 
OpenStack - JobShop @Iași, 2016
OpenStack - JobShop @Iași, 2016OpenStack - JobShop @Iași, 2016
OpenStack - JobShop @Iași, 2016
 
Version Control With Subversion
Version Control With SubversionVersion Control With Subversion
Version Control With Subversion
 
Enterprise OSGi at eBay
Enterprise OSGi at eBayEnterprise OSGi at eBay
Enterprise OSGi at eBay
 
Windows server 8 hyper v & storage (hans vredevoort)
Windows server 8 hyper v & storage (hans vredevoort)Windows server 8 hyper v & storage (hans vredevoort)
Windows server 8 hyper v & storage (hans vredevoort)
 
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
Siebel Server Cloning available in 8.1.1.9 / 8.2.2.2
 
T4T Training day - NodeJS
T4T Training day - NodeJST4T Training day - NodeJS
T4T Training day - NodeJS
 
Sv jug - mar 2013 - sl
Sv jug - mar 2013 - slSv jug - mar 2013 - sl
Sv jug - mar 2013 - sl
 
WildFly AppServer - State of the Union
WildFly AppServer - State of the UnionWildFly AppServer - State of the Union
WildFly AppServer - State of the Union
 
7_OPEN17_Azure_Next-gen Development with PaaS & Containers
7_OPEN17_Azure_Next-gen Development with PaaS & Containers7_OPEN17_Azure_Next-gen Development with PaaS & Containers
7_OPEN17_Azure_Next-gen Development with PaaS & Containers
 
Alexei vladishev - Open Source Monitoring With Zabbix
Alexei vladishev - Open Source Monitoring With ZabbixAlexei vladishev - Open Source Monitoring With Zabbix
Alexei vladishev - Open Source Monitoring With Zabbix
 
How is Kafka so Fast?
How is Kafka so Fast?How is Kafka so Fast?
How is Kafka so Fast?
 
Introduction To NetBeans IDE
Introduction To NetBeans IDEIntroduction To NetBeans IDE
Introduction To NetBeans IDE
 
Building a Solr Continuous Delivery Pipeline with Jenkins: Presented by James...
Building a Solr Continuous Delivery Pipeline with Jenkins: Presented by James...Building a Solr Continuous Delivery Pipeline with Jenkins: Presented by James...
Building a Solr Continuous Delivery Pipeline with Jenkins: Presented by James...
 
Java EE 7 Soup to Nuts at JavaOne 2014
Java EE 7 Soup to Nuts at JavaOne 2014Java EE 7 Soup to Nuts at JavaOne 2014
Java EE 7 Soup to Nuts at JavaOne 2014
 
Nordic VMUG User Conference 2014 - Design VMware vCenter Server
Nordic VMUG User Conference 2014 - Design VMware vCenter ServerNordic VMUG User Conference 2014 - Design VMware vCenter Server
Nordic VMUG User Conference 2014 - Design VMware vCenter Server
 
Docker
DockerDocker
Docker
 

Último

Último (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Subversion Tech Report (2006)

  • 1. Subversion Technical Report Joe Chavez August 2, 2006 8/2/2006 v1.1 Joe Chavez 1
  • 2. Overview • Motivation • Installation • History • Configuration • Why subversion? • CVS Conversion • Architecture • Subversion Client • Deployment • IDE Support 2 8/2/2006 v1.1 Joe Chavez 2
  • 3. Motivation • Manage the change in information over time…  Source code  Documentation  Binary files • Not ground breaking  Match main features of CVS  Not duplicate the flaws  Facilitate user switch 3 8/2/2006 v1.1 Joe Chavez 3
  • 4. History • Started by CollabNet in 2000 • “Self-hosting” in August, 2001 • Debian Free Software Guidelines license • CollabNet still pays the salaries of a “few” full time employees • Version 1.3.1 released on April 3rd 4 8/2/2006 v1.1 Joe Chavez 4
  • 5. Why subversion? • Most current CVS features • Directories, renames, and file meta- data are versioned • True version history • Atomic commits • Choice of network layers • Consistent data handling 5 8/2/2006 v1.1 Joe Chavez 5
  • 6. Why subversion? • Efficient branching and tagging • Integration • Standalone server option • Versioning of symbolic links • Parse ready output • Localized messages • Properties • Secure Access - SSH/SSL 6 8/2/2006 v1.1 Joe Chavez 6
  • 7. Architecture • Client  Command Line (XP, *nix, OS X, etc.)  IDE (IntelliJ, Eclipse… to name a few)  Client Library • Connectivity  Internet  DAV (Apache mod_dav + mod_dav_svn) - http/s://  SVN - svn://  Local  file:// 7 8/2/2006 v1.1 Joe Chavez 7
  • 8. Architecture • Repository  Berkeley DB  FSFS (recommended) • Built on the Apache Portable Runtime • Architecture diagram on next slide - from Subversion docs 8 8/2/2006 v1.1 Joe Chavez 8
  • 9. Diagram 9 8/2/2006 v1.1 Joe Chavez 9
  • 10. Deployment • OS  Solaris 10 • Hardware  TBD 10 8/2/2006 v1.1 Joe Chavez 10
  • 11. Installation • Distribution  Via http://subversion.tigris.org/ and mirror sites • Source  Roll your own  Enable options that are not part of the typical “binary” distribution • Binary  Easy to install - don’t have to compile for all client platforms  May lag behind latest source release 11 8/2/2006 v1.1 Joe Chavez 11
  • 12. Installation: Source • Download Source • Configure (with SSL client)  ./configure --with-ssl --with-swig • Make  make swig-py  make install swig-py (as root on *nix) 12 8/2/2006 v1.1 Joe Chavez 12
  • 13. Configuration • Server Options  Standalone Server  Apache Module • Standalone  svn and svn+ssh (ssh tunneling) • Apache  HTTP and HTTPS (with SSL enabled client) 13 8/2/2006 v1.1 Joe Chavez 13
  • 14. CVS Conversion • Convert or Export? • Conversion  cvs2svn - http://cvs2svn.tigris.org/  Several options  Trunk only - No tags or branches  Exclude - Selected tags and branches  Project basis - Can break svn date range commands • Export  Use cvs export then svn import  cvs repos should be read only for reference 14 8/2/2006 v1.1 Joe Chavez 14
  • 15. Subversion Admin • Admin  svnadmin  create <path>  dump  load  hotcopy  svnlook  Inspect transaction history  svndumpfilter • Hook scripts  9 hooks 15 8/2/2006 v1.1 Joe Chavez 15
  • 16. Subversion Client • Client - svn  All local/remote access • Repository commands  svn import  svn checkout  svn commit 16 8/2/2006 v1.1 Joe Chavez 16
  • 17. Subversion Client • File commands  svn add, svn delete, svn copy, and svn move  svn status - client side only, no “update” side effects  -u to show repository updates  svn diff - no net access  svn revert - revert to original file and undo scheduled operations  svn update - interesting if conflicts are found  svn resolve - use to resolve a conflict 17 8/2/2006 v1.1 Joe Chavez 17
  • 18. Subversion Client • History Commands  svn log - detailed file history  -v for path changes  -q for no log body  -v -q for names of changed files  svn cat - display file or particular revision  svn list - show file list for a directory  -v for detailed info 18 8/2/2006 v1.1 Joe Chavez 18
  • 19. IDE Support • IntelliJ  Check out on command line first  Create new project  Set subversion as source control • Eclipse - Subclipse  Plug-in Install URL http://subclipse.tigris.org/update_1.0.x  Select “SVN Repository Browsing” perspective 19 8/2/2006 v1.1 Joe Chavez 19
  • 20. Summary • Motivation • Installation • History • Configuration • Why subversion? • CVS Conversion • Architecture • Subversion Client • Deployment • IDE Support 20 8/2/2006 v1.1 Joe Chavez 20
  • 21. Q&A • Got questions? 21 8/2/2006 v1.1 Joe Chavez 21
  • 22. References • SSC Subversion  Main Site: https://audrey.ipac.caltech.edu/svn  Install notes  This presentation  Full technical report • Subversion  http://subversion.tigris.org • Version Control with Subversion (free book)  http://svnbook.red-bean.com/ • cvs2svn  http://cvs2svn.tigris.org/ 22 8/2/2006 v1.1 Joe Chavez 22
  • 23. Open Issues • User account management • Rollout schedule • Training 23 8/2/2006 v1.1 Joe Chavez 23