From csdmsSource code version control: Subversion (svn)
Presentations
Is svn the right tool for you?CSDMS makes svn available for all model developers. Model developers (those who have svn server write permissions) can upload their source code or source code contributions and share it with other developers. In that way a group of developers can for example work on the same model without worrying about different model versions. Users can download source code by searching the right model on the model description pages (Model download portal) or by going directly to the model download page (Download a model). Each contributed model to CSDMS will be add to the SVN repository. Get a CSDMS-svn loginDo you want to upload your model source code to the CSDMS model repository? Don't hesitate, email (CSDMS@Colorado.edu) or phone us (see Contact_us) and we'll set you up. People don't need a log in to download source code. A log in is only required for uploading your model. Check out models (anonymous)You can access the CSDMS svn repository anonymously, via regular HTTP if you don't have an login. To check out any of the models in the CSDMS repository use the next command: svn checkout https://csdms.colorado.edu/svn/<Model REPOSITORY NAME> Commit models (as developer)Upload changesIf you are happy with the changes you have made to the code and you want to commit them for others to see, use: svn commit <altered file> -m <useful message> A few things to remember before committing changes:
Some other useful commandsBelow you might find some useful commands. Make sure to read more about how to apply those commands in the svn manual as each command has it is own set of parameters for specific functionality.
To update your copy, make sure you are in the directory where your code is and use the following command: svn update
Create a text file which shows all the changes done in the working copy compared to the repository: svn diff
To check the status of your working copy: svn status | |
|
|