ASCEND source code repository

From ASCEND

(Redirected from VersionManagement)
Jump to: navigation, search

ASCEND source code and documentation files are maintained in a Subversion repository hosted by CMU.

Our repository URL has changed ('svn:' instead of 'http:') as of 2 Jun 2009. You will need to use 'svn switch --relocate' to update your working copy. The suggested command is:
svn switch --relocate http://ascendsvn.cheme.cmu.edu/ascend svn://ascend.cheme.cmu.edu/ascend

Contents

Checking out a copy of the code

To check out a local copy of the ASCEND source code, use your subversion client (see About Subversion below) to checkout from the repository URL http://ascendsvn.cheme.cmu.edu/ascend/code/trunk. To do this with the command-line client, you would typically use the following commands:

cd ~/src
svn co svn://ascend.cheme.cmu.edu/ascend/code/trunk ascend

Note that if you are behind a proxy, you may have to configure your subversion client accordingly.

You can also browse the repository online via ViewVC.

See BuildingAscend for information on how to build ASCEND from the source code you have checked out.

Please try to read our coding style guidelines.

Working on the documentation and website

The documentation is available as part of the source distribution above. We do this so that we can link in sample code directly when compiling the documentation.

The source material for the public website (as opposed to this wiki) hosted is a separate part of the Subversion repository however. You can check out the website files using:

svn co http://ascendsvn.cheme.cmu.edu/ascend/web/trunk ascend-web

We don't currently have an automated publishing script; you will need to manually update the webserver if you make changes there in the repository.

Some Subversion automation

When making a commit to Subversion, you should be able to enter special strings like "fixes bug NNN", and those messages will be processed by the ASCEND Bug Tracker and used to modify the status of a bug which is relevant to your changes. (Need confirmation that this is still operating correctly).

If you use the the ASCEND Bug Tracker, then anytime you write comments containing text like "changeset 345", the text will be converted into a hyperlink that will allow you to click through to review the relevant code changes on ViewVC.

Branches

We have a number of active branches in our repository. Mostly these are related to our recent participation in GSOC 2009.

About Subversion

Subversion is the version management software we are using.

For Linux, most distributions come with command-line subversion (command svn) already installed. GUI clients are also available. See the links on http://subversion.tigris.org/.

For Windows, you will need to download and install a Subversion client. A recommended GUI client for Windows is TortoiseSVN. The command-line client can also be run conveniently via cygwin.

For MacOS X, a recommended GUI client is svnX. You can also run subversion command-line and GUI clients under Fink, see fink.sf.net.

Personal tools