ASCEND source code repository: Difference between revisions
No edit summary |
|||
| Line 15: | Line 15: | ||
Please try to read our [[coding style]] guidelines. | Please try to read our [[coding style]] guidelines. | ||
== Working on the documentation and website == | == Working on the documentation and website == | ||
Revision as of 13:19, 7 June 2010
ASCEND source code and documentation files are maintained in a Subversion repository hosted by CMU.
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 not be able to access our Subversion repository. Some proxies prevent access via the 'svn:' protocol. You may find some useful information in the Subversion FAQ.
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 svn://ascend.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 [1]. There is also now a useful Nautilus extension called RabbitVCS.
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 scplugin. It allows you to access Subversion functionality for the context menu in the Finder. Alternatively, there is also a command-line version available for use from the Terminal.