Skip to content

Commit 88557ba

Browse files
committed
feat: development guidelines
1 parent e13d5a1 commit 88557ba

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

README.md

+33-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ savepath
8484

8585
#### Mosek
8686
1. Download from the link [above](#dependencies) and install Mosek to your favourite location.
87-
2. Make sure you obtained a [license](https://www.mosek.com/products/academic-licenses/) following [instructions](https://docs.mosek.com/8.0/install/installation.html#setting-up-the-license).
87+
2. Make sure you obtained a [license](https://www.mosek.com/products/academic-licenses/) following [instructions] (https://docs.mosek.com/8.0/install/installation.html#setting-up-the-license).
8888
3. To install Mosek in MATLAB, follow [instructions](https://docs.mosek.com/8.0/toolbox/installation.html#id1). Note: the documentation mentions version 8, but RAVEN only works with version 7 of Mosek.
8989
4. Make sure that MATLAB remembers the Mosek installation for next time, by running the following command:
9090

@@ -132,5 +132,37 @@ HMMs were trained from KO protein sets, based on KEGG Release 58.1. Multisequenc
132132
|[eukaryota](http://biomet-toolbox.org/tools/downloadable/files/euk100_kegg82.zip)|58.1|eukaryota
133133
|[prokaryota](http://biomet-toolbox.org/tools/downloadable/files/euk100_kegg82.zip)|58.1|eukaryota
134134

135+
## Development guidelines
136+
137+
Anybody is welcome to contribute to the development of RAVEN Toolbox, but please abide by the following guidelines.
138+
139+
### Urgent bugfix
140+
* When fixing a bug in an existing function, make a separate branch from `master` and name the branch after the function you are fixing.
141+
* Make commits to this branch while working on your bugfix. Note that bugfixes have to be backwards compatible.
142+
* When you are certain that your bugfix works, make a pull request to the `master` branch. Also, see [Pull request](#pull-request) below.
143+
144+
### New features/functions
145+
* For other development (not bugfixes, but for instance introducing new functions or new/updated features for existing functions): make a separate branch from `devel` and name the branch for instance after the function/feature you are fixing/developing.
146+
* Make commits to this branch while developing. Aim for backwards compatibility, and try to avoid very new MATLAB functions when possible, to accommodate users with older MATLAB versions.
147+
* When you are happy with your new function/feature, make a pull request to the `devel` branch. Also, see [Pull request](#pull-request) below.
148+
149+
### Semantic commits
150+
Use semantic commit messages to make it easier to show what you are aiming to do:
151+
* `chore`: updating binaries, KEGG or MetaCyc database files, etc.
152+
* `doc`: updating documentation (in `doc` folder) or explanatory comments in functions.
153+
* `feat`: new feature added, e.g. new function introduced / new parameters / new algorithm / etc.
154+
* `fix`: bugfix.
155+
* `refactor`: see [code refactoring](https://en.wikipedia.org/wiki/Code_refactoring).
156+
* `style`: minor format changes of functions (spaces, semi-colons, etc., no code change).
157+
158+
### Pull request
159+
* No changes should be directly commited to the `master` or `devel` branches. Pull requests should be used.
160+
* The person making the pull request and the one accepting the merge _cannot_ be the same person.
161+
* Typically, wait ~ 1 week before merging, to allow for other developers to inspect the pull request.
162+
* A merge with the master branch typically invokes a new release (see [versioning](#versioning)).
163+
164+
### Versioning
165+
RAVEN Toolbox follows [semantic versioning](https://semver.org/), and a `version.txt` file is updated with each release of the master branch.
166+
135167
## Links
136168
For more systems biology related software and recently published genome-scale models from the Systems and Synthetic Biology group at Chalmers University of Technology, please visit the [Github page](https://github.com/SysBioChalmers). For more information and publications by the Systems and Synthetic Biology please visit [SysBio](www.sysbio.se).

0 commit comments

Comments
 (0)