SVN

From cs.club

Jump to: navigation, search

Anyone can checkout files from the repository, but to commit/add/delete/etc files, you will need an account. At the moment there is no automated system for creating accounts, so to request write access to the SVN repository, e-mail Darkside, with the Subject "CSClub SVN Access", and your desired username/password.

When you first access, or checkout the SVN repository, you will get a warning about an invalid security certificate - just press 'p', to accept it permanently. This happens because Darkside hasn't bothered to get the web-servers SSL certificate signed by a trusted certificate authority yet.


Details

SVN Repository Address: https://svn.csclub.org.au/

Until a SVN User management system is set up, you can commit to the SVN using the following details:

  • Username: public
  • Password: csclub


To Access SVN At University

The CS Club has had a SVN repository for a while, but it hasn't been widely used because it wasn't accessible from within the University - this has now changed. Recently a svn repository was set up that is accessible via HTTPS, which can be accessed via the University's proxy server without breaching ITS policy! No more worrying about losing your IT access because you 'tunneled' data via the proxy server :-D

If you try and commit something at University, it will automatically try using your uni username as the svn username - just press enter and you can enter a username of your choice.

To be able to access the SVN repository through the University's proxy server, you need to edit the Subversion servers configuration file. This is located in your home directory, in a folder called .subversion - you can access it with the path: ~/.subversion/servers

You will need to add these lines to this file in the

Invalid language.

You need to specify a language like this: <source lang="html4strict">...</source>

Supported languages for syntax highlighting:

abap, actionscript, actionscript3, ada, apache, applescript, apt_sources, asm, asp, autoit, avisynth, bash, basic4gl, bf, blitzbasic, bnf, boo, c, c_mac, caddcl, cadlisp, cfdg, cfm, cil, cobol, cpp, cpp-qt, csharp, css, d, delphi, diff, div, dos, dot, eiffel, email, fortran, freebasic, genero, gettext, glsl, gml, gnuplot, groovy, haskell, hq9plus, html4strict, idl, ini, inno, intercal, io, java, java5, javascript, kixtart, klonec, klonecpp, latex, lisp, lolcode, lotusformulas, lotusscript, lscript, lua, m68k, make, matlab, mirc, mpasm, mxml, mysql, nsis, objc, ocaml, ocaml-brief, oobas, oracle11, oracle8, pascal, per, perl, php, php-brief, pic16, pixelbender, plsql, povray, powershell, progress, prolog, providex, python, qbasic, rails, reg, robots, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, tcl, teraterm, text, thinbasic, tsql, typoscript, vb, vbnet, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, winbatch, xml, xorg_conf, xpp, z80

section (there are other ways of setting this up, this is the simplest), using your favourite text editor:
http-proxy-exceptions = *.adelaide.edu.au
http-proxy-host = www-proxy.adelaide.edu.au
http-proxy-port = 8080
http-proxy-username = your-username-here
http-proxy-password = your-password-here
http-compression = no

Yes, this does mean you will have your password stored in plain-text in your home directory. Unfortunately there isn't much you can do about that, apart from making sure the permissions on the file set to 600, by running the command: chmod 600 ~/.subversion/servers


You will now be able to checkout the SVN repository using the command:

svn checkout https://svn.csclub.org.au/ csclubsvn
Personal tools
Navigation