 |
Reinforcement Learning and
Artificial
Intelligence (RLAI)
|
Reinforcement
Learning Toolkit Subversion Repository
|
The ambition of this
page is to provide information on and links to the code repository for
the RL Toolkit. The toolkit is saved in a Subersion repository.
UPDATE: The Toolkit should be downloaded directly instead of from
the SVN Repository
The toolkit is available through the RL-List Google Group, under the
files section: http://groups.google.com/group/rl-list/files
(stuff below is old but I'm not deleting it unless it doesn't exist
elsewhere)
Using Subversion
What is Subversion?
Subversion is a version
control system that keeps track of changes to files and directories,
allowing multiple users to access and change them. It is based on the
CVS versioning system, and is intended to be its successor.
Installing Subversion
You need to have subversion installed on your machine before you can
interact with the repository. You can download subversion here: http://subversion.tigris.org/project_packages.html
Subversion Documentation
There is a book about Subversion located here: http://svnbook.red-bean.com/
Quick Instructions for Subversion on our Repository
Our toolkit URL is http://rlai.cs.ualberta.ca:8080/RLtoolkit/
The following instructions work only from a shell window (i.e. terminal on the
mac).
Note: the mac installation of svn puts it into /usr/local/bin. This is
not in the default path for the mac (at least on mine), so you may need
to add it. If so, make a .login file in your home directory with the
following line in it:
setenv PATH
"/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin"
If someone has a prettier way to handle this (or a nice .login file for
macs), please let us know.
To use svn:
- To set up a copy of the toolkit from the svn:
svn checkout
http://rlai.cs.ualberta.ca:8080/RLtoolkit RLtoolkit --username rlai
This will set up a directory called RLtoolkit to mirror the one on the
svn, with links to it so that you don't need to use the URL again.
You will be prompted for the rlai password. If you are not
planning to
update the repository, you can just access the repository from the web
and
download what you want without a password.
- To update your copy of
the toolkit with what is current in the repository:
svn update [filename]
If you don't specify a filename, the entire directory will be updated.
You will see letters beside each file updated: A-added, U-updated,
D-deleted, R-replaced.
- To add a file to the repository, make sure that the file is in
your
directory and do:
svn add filename
- To send your changes to the repository, make the changes (e.g.
edit a file, do svn add, etc) then do:
svn commit [filename] -m "message"
If you don't specify the -m "message" part an editor will
appear for
you to add a log message to. If you don't specify a filename it will
commit all changes you have made.
- To see what changes a
commit will do to the
repository, do:
svn status
It returns information on each file that would be changed: M-to be
modified, A-to be added, D-to be deleted, C-conflict, etc.
- To see how your version differs from the repository one:
svn diff
This will tell you what files differ and how.
- svn has a help facility:
svn help
gives you a list of commands, and
svn help command
gives you help for a specific command.
- For more information, see the Subversion book mentioned above, or
ask Mark Lee.