--- SVN --- Andrés Gómez Casanova --- 2010-03-07 ---

SVN structure

The SVN repository is divided in the following directories:

  • branches: This directory contains all components currently in development. The code could generate errors when compiling. Trunk development is done here, as all the sandbox components.
    • angoca: This is the Andres Gomez Casanova (AngocA)'s site.
  • sandbox: Stable versions of widgets or additions that are not part of the trunk.
  • tags: Releases of the application. Alpha, Beta and stable versions.
    • source-code: All the source code of the application. It includes the developer web site.
    • user-site: The web site for the users.
  • trunk: Main branch of development, that can be compiled. Contains the most recent version of the application.
  • vendor: Contains the libraries and necessary components to compile the application.

The svn repository can be reviewed in here http://zemucan.svn.sourceforge.net/viewvc/.

SVN configuration

In order to configure the SVN repository to put the keyword tags in files, each time they are added to the control version, you have to configure the Subversion file.

It can be found under ~/.subversion/config. First you have to enable the auto properties

enable-auto-props = yes

Then, configure the tags to add, at the end of this file, writing these properties:

# Code
*.java = svn:mime-type=text/x-java-source;svn:eol-style=native;svn:keywords=LastChangedDate LastChangedRevision Author URL
*.xml = svn:mime-type=text/xml;svn:eol-style=native
*.properties = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=LastChangedDate LastChangedRevision Author URL
*.txt = svn:mime-type=text/plain;svn:eol-style=native

# Batch executables
*.bat = svn:mime-type=application/x-msdos-program;svn:eol-style=native;svn:keywords=LastChangedDate LastChangedRevision Author URL
*.sh = svn:mime-type=text/x-sh;svn:eol-style=native;svn:executable;svn:keywords=LastChangedDate LastChangedRevision Author URL

# Documentation
*.ppt = svn:mime-type=application/mspowerpoint;license=Creative Commons - Attribution
*.doc = svn:mime-type=application/msword;license=Creative Commons - Attribution

# Open documentation for Maven (Doxia)
*.apt = svn:mime-type=text/plain;svn:eol-style=native;license=Creative Commons - Attribution
*.fml = svn:mime-type=text/xml;svn:eol-style=native;license=Creative Commons - Attribution

# Images
*.gif = svn:mime-type=image/gif;license=Creative Commons - Attribution
*.jpg = svn:mime-type=image/jpeg;license=Creative Commons - Attribution
*.bmp = svn:mime-type=image/jpeg;license=Creative Commons - Attribution
*.svg = svn:mime-type=image/svg+xml;license=Creative Commons - Attribution

# Videos and helpers
*.avi = svn:mime-type=video/avi;license=Creative Commons - Attribution
*.sub = svn:mime-type=text/plain;svn:eol-style=native;license=Creative Commons - Attribution
*.layout = svn:mime-type=application/octet-stream;license=Creative Commons - Attribution

# Eclipse UML2 diagrams
*.uml = svn:mime-type=text/xml;svn:eol-style=native;license=Creative Commons - Attribution
*.umlclass = svn:mime-type=text/xml;svn:eol-style=native;license=Creative Commons - Attribution
*.umlusc = svn:mime-type=text/xml;svn:eol-style=native;license=Creative Commons - Attribution
*.umlcomp = svn:mime-type=text/xml;svn:eol-style=native;license=Creative Commons - Attribution

# Bouml diagrams
*.bodies = svn:mime-type=text/plain;svn:eol-style=native;license=Creative Commons - Attribution
*.diagram = svn:mime-type=text/plain;svn:eol-style=native;license=Creative Commons - Attribution
*.prj = svn:mime-type=text/plain;svn:eol-style=native;license=Creative Commons - Attribution

# General helpers
*.css = svn:mime-type=text/css;svn:eol-style=native
*.exe.lnk = svn:mime-type=application/x-ms-shortcut
*.html = svn:mime-type=text/html;svn:eol-style=native
*.php = svn:mime-type=text/php;svn:eol-style=native