Development release

From SmartEiffelWiki

(Redirected from Public repository)


There are two solutions to follow the current development branch of SmartEiffel: either the daily snapshot or the Subversion repository.

Table of contents

Retrieve the bleeding edge

The daily snapshot

A snapshot of the upcoming SmartEiffel release is available on the download page (https://gforge.inria.fr/frs/?group_id=184). You can check the time (http://www.palour.de/~merizen/smarteiffel-stamp.txt) when the snapshot was taken.

The Subversion repository

Subversion (http://subversion.tigris.org/) aims to be a version control system that is a compelling replacement for CVS (http://cvshome.org/). The definitive reference is Version Control with Subversion (http://svnbook.red-bean.com/) published by O'Reilly Media (http://www.oreilly.com/catalog/0596004486/). The FAQ (http://subversion.tigris.org/faq.html) is also useful.

Our subversion repositorly lives at svn://scm.gforge.inria.fr/svn/smarteiffel.

A ViewCVS (http://viewcvs.sf.net/) (ViewSVN) interface is available here (http://gforge.inria.fr/plugins/scmsvn/viewcvs.php/trunk/?root=smarteiffel)

To check out a local copy, use:

svn checkout svn://scm.gforge.inria.fr/svn/smarteiffel/trunk SmartEiffel

Once the repository is checked out, the subsequent updates are performed in the SmartEiffel root directory by the following command:

svn update

Subversion clients are available for most operating systems. For the subversion source code, visit the Subversion project home (http://subversion.tigris.org/). If you use windows, try TortoiseSVN (http://tortoisesvn.tigris.org/). Binary packages (http://subversion.tigris.org/project_packages.html#binary-packages) are also available for most operating systems.

SVK

SVK (http://svk.elixus.org/) is a decentralized version control system written in Perl. It uses the Subversion filesystem but provides additional, powerful features.

Please do not mirror the entire SmartEiffel repository. You will suck up huge amounts of bandwidth and CPU on our servers for lots of data you will never look at.

The easiest thing to do is to just synchronize the head of the trunk and pull changes forward from there. You won't get branches, but that is probably ok.

svk mirror svn://scm.gforge.inria.fr/svn/smarteiffel/trunk //mirror/smarteiffel
svk sync -s HEAD //mirror/smarteiffel

If you really need a local copy of all historical revisions on your local machine, please use the following process to bootstrap your local mirror:

svk depotmap --init 
wget http://smarteiffel.loria.fr/snapshot/svk-bootstrap-dump.bz2
bzcat svk-bootstrap-dump.bz2 | svnadmin load --ignore-uuid ~/.svk/local/
svk sync //mirror/smarteiffel

This will be the equivalent of mirroring and syncing the entire repository up to the date of the dump. (Which will mean you'll only need to update your local copy with the remaining revisions.)

svk-bootstrap-dump (http://smarteiffel.loria.fr/snapshot/svk-bootstrap-dump.bz2) was last updated on September 25th, 2006 to revision 7821 (md5sum 6dafed82885c7cc44e79e68269c966ec).

Install the system

This being a developer edition, there are a few steps to perform before having a live SmartEiffel system.

The commands are given for a Linux system and must be modified for other systems.

1. Prepare your configuration file

This step must be performed only the first time. Reuse a 2.2 configuration file, edit it and adapt it for your dev version. The file systax is clear enough and there are a lot of comments inside.

2. Install the system

This step is performed in the checked-out or untarred SmartEiffel directory. Starting from r7653 it takes care of the germ and installer compilations, so the instructions are really more simple:

1. Fetch something to drink; I'd suggest a nice cup of tea

2. A snack could be nice too; maybe some cookies?

3. Sit down, lay back (not too far back). Don't put up your feet yet, because you need to install SmartEiffel as usual:

make

4. Now put up your feet and enjoy your tea

Switching to comitter

You've just been granted comitter-access to the repository? Congratulations! And you don't even need to discard your working copy or svk repository to get write access, you can switch it.

Switching svn

svn switch --relocate svn://scm.gforge.inria.fr/svn/smarteiffel svn+ssh://login@scm.gforge.inria.fr/svn/smarteiffel

Switching svk

svk mirror --relocate //mirror/smarteiffel svn+ssh://login@scm.gforge.inria.fr/svn/smarteiffel
Other languages