Sloodle Source Code Repository

From SLIS Second Life Wiki

Jump to: navigation, search

The Sloodle source code is housed in a Subversion repository, hosted by Google Code. It is available at:

http://code.google.com/p/sloodle/source

The top-level of our repository uses a fairly standard layout, with 3 folders: "trunk", "branches", and "tags".


Contents

[edit] trunk

This stores the current primary line of development, which should always be stable for download and installation by users. Within it are 3 folders:

[edit] sloodle

This contains the actual Sloodle module itself. If a user or developer gets this folder from the repository, they should be able to add it directly to a Moodle site's "mod" folder to install Sloodle.

[edit] sloodle_tests

This is not fully used yet, but is intended to contain a suite of testing tools for the Sloodle module. The aim is to use the same unit testing approach used by Moodle.

[edit] tools

Any developer or project tools which most users do not need can be placed in this folder. For example, it contains a folder called "deployment", which houses the shell script to check-out and tarball a current copy of the trunk source code.


[edit] branches

A 'branch' is an off-shoot of development from the main trunk, but which is intended to be merged back-in to the trunk at some stage in the future. This is often used for any major changes or new concepts which could cause instability issues or installation problems. For example, prior to full release, Sloodle 0.2 was developed as branch for a few months, as the communications changes caused all in-world tools to stop working.

A branch should have a meaningful name, and should generally be deleted when no longer used.


[edit] tags

A 'tag' is effectively a snapshot of development at a specific stage (usually a major version release). Tags should not be changed at any point in the future -- they should remain static for as long as is practical. At a future stage, they may be deleted. It is common to maintain old tags in this way for reference purposes, and for users who may not be able to use a newer version.


This page is part of the Sloodle documentation
SloodleDocs Home | User Documentation | Administrator Documentation | Developer Documentation | Sloodle Wiki Home
Personal tools