Subversion edu instructions

From OSGeo
Revision as of 20:54, 30 July 2009 by Helena (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to provide and manage your educational material on osgeo svn

Find out what is there so far: http://svn.osgeo.org/osgeo/education/

Install the svn client software (you may already have it)

   Linux:   * 'subversion' package (RPM for your distro, should
              be on the CDROMs/DVD)
   MacOSX:  * http://subversion.tigris.org/
              -> Downloads
   Windows: * http://tortoisesvn.tigris.org/
              -> Downloads
              If you want a pretty Win32 GUI, 'TortoiseSVN'
              integrates nicely with the Windows Explorer.

Checkout the material from the SVN repository into local directory

1a) Command line:

   svn co http://svn.osgeo.org/osgeo/education/UnderDevelopment/ UnderDevelopment

1b) TortoiseSVN:

   Just enter this url: http://svn.osgeo.org/osgeo/education/UnderDevelopment/

This will check all the material in UnderDevelopment/ into the local directory UnderDevelopment/

Now add your material....(you need to have committ access - you will be asked for ID/passwd):

    cd UnderDevelopment/

If you are just starting, add a directory for your institution (svn add is for adding, but you also need to committ by svn ci)

      mkdir MyUniversity
      svn add MyUniversity
      svn ci -m "MyUniversity added - some useful comment" MyUniversity
      cd MyUniversity
      create or copy your material here and then add the relevant
      subdirectories and files to the repository
     svn add directory
     svn ci -m "MyTutorial for beginners added" directory
      svn add file
      svn ci -m "Introduction text added" file

Your group can now work on the material

   Before starting the work update to latest version
       svn up
   Modify/fix/enhance the material and commit the change
       svn ci -m "Introduction modified, grammar fixed" file