element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Autodesk EAGLE
  • Products
  • More
Autodesk EAGLE
Forum SVN, TortoiseSVN and Eagle.
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Autodesk EAGLE to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 177 subscribers
  • Views 1056 views
  • Users 0 members are here
  • eagle
  • control
  • version
  • svn
  • repo
Related

SVN, TortoiseSVN and Eagle.

KennyMillar
KennyMillar over 15 years ago

Someone asked for some experiences of using SVN with Eagle, so here are my experiences.

 

Some introdutory details.

First, for those that do not know, SVN is short for subversion and is an open source revision control system. Basically it allows you to work on your projects and keep snapshots (or 'revisions') of every file at every stage in the project. It also allows multiple people to work on the same project, amongst many other version control features.

It is an extremely useful tool for managing and recording changes to files, and for keeping branches of projects, rolling back to previous revisions etc etc etc. (this short description does not do it justice!)

 

SVN + Tortoise also allow you to work on one project from multiple locations.

 

SVN runs on a server (which can also be the client machine) and requires the Apache web server to be running too.

 

TortoiseSVN is a windows based client for SVN which integrates with Windows explorer (not internet explorer!)

 

A repository is where svn stores all the files and metadata.

 

Using SVN / TortoiseSVN

Before you can use TortoiseSVN you need access to an SVN repository - in turn, that requires that apache and SVN are installed on a server somewhere. This is not the place to describe how to set up Apache,  SVN or tortoise - 2 minutes will google will get you all the details. Apache and SVN can run on windows, linux, unix and Mac OS X boxes.

 

I personally have my repository on a Mac OS X machine, and work on my project from a Mac client and windows based netbook (when on the move).

 

Once you have SVN installed and a repository created, you can import all your files to the repository, then you can CHECKOUT the files to any number of locations, work on the files, COMIT them back to the repository and UPDATE them to your working locations.

 

Every time you modify and comit a file (or collection of files) it/they is given a revision number and you can revert back to any revision at any time.

You can also create branches of a project (say you wish to take one product and develope it in two different directions) and you can merge branches back together again.

 

You don't need Tortoise at all if you are happy to use the svn client from command line.

 

Daily Routine Example:

So my daily routine consists of basically:

1. 'Update' the working folder to catch any changes I've made from other locations.

2. Work on my projects

3. 'Comit' my changes back to the repository

 

It sounds complicated but it really is simple, after you get it all set up.

 

There is currently no version control integration built into Eagle, but it's easy to do from explorer (using TortoiseSVN) or from the command line.

 

I couldn;t work without SVN and Tortoise now - it has saved my skin so many times!

 

One final point: SVN and Tortoise really come into their own when working on Text Based files - because you can use the 'diff' commands to see exactly what has changed line by line but obviously this isn't possible with Eagles proprietary binary formats.

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 15 years ago

    Thank you very much for the information.

     

    I worked with a PDM based system during my internship, and thats the only experience I have had with version control.

     

    I've been tasked with developing a version control system here at my new job and the information you provided should be a very good start for me.

     

    Again, thanks for the information.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • KennyMillar
    KennyMillar over 15 years ago in reply to Former Member

    I should have added that SVN as both a server and a client comes on all Mac OS X machines pre=installed.

    I'm guessing it comes pre-installed on most linux systems too, but I have very little linux experience.

     

    As a client, on Mac (and probably linux) it is ready to use, no configuration required.

    As a server there is some configuration required, which basically consists of editing text files - but if you want HTTP access to the repository from outside your private network you should configure it for HTTPS which will require you to create and use a 'certificate' - again, a bit of googling will find you the information you need.

     

    I think if you're planning to run it on windows only machines, then there are some binary distributions which come as a single package containing Apache and svn, and with nice GUI based configuration tools.

     

    Best of luck,

    Kenny M.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 15 years ago in reply to KennyMillar

    I found a tutorial online, but I am having trouble with the first part of it, installing Subversion.

     

    http://jamesselvakumar.wordpress.com/2008/03/14/extending-subversion-by-using-tortoisesvn/

     

    I have the Tortoise installed and it works just fine.

     

    I tried adding files without the Subversion part installed but it always gives me an invalid path, or something similar to that.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • KennyMillar
    KennyMillar over 15 years ago in reply to Former Member

    I'm a bit confused as to how you can have TortoiseSVN installed and working without subversion?

     

    This cadsoft forum is probably not the best place to discuss the finer points of installing/using subversion - so porbably best to start a new discussion here on element-14 outside of the cadsoft area, or send me a private message with as much detail as you can (actions you are taking, error messages etc) and I'll be happy to help out as much as I can.

     

    -Kenny

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube