Inital commit
This commit is contained in:
parent
edc5e091bb
commit
d6e393ea58
145 changed files with 58117 additions and 0 deletions
68
README.develop
Normal file
68
README.develop
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
This README contains information for developers:
|
||||
1. How to document the code
|
||||
2. How to work in git (branching)
|
||||
3. How the meta-configure stuff works
|
||||
|
||||
1. How to document the code
|
||||
+++++++++++++++++++++++++++
|
||||
|
||||
/*! This is a small comment on one line
|
||||
*
|
||||
* This is a detailed description
|
||||
* spanning several lines.
|
||||
*
|
||||
* Example usage:
|
||||
* @code
|
||||
* fn(a, &b);
|
||||
* @endcode
|
||||
*
|
||||
* @param[in] src This is a description of the first parameter
|
||||
* @param[in,out] dest This is a description of the second parameter
|
||||
* @retval TRUE This is a description of the return value
|
||||
* @retval FALSE This is a description of another return value
|
||||
* @see See also this function
|
||||
*/
|
||||
|
||||
|
||||
2. How to work in git (branching)
|
||||
+++++++++++++++++++++++++++++++++
|
||||
Baically follows: http://nvie.com/posts/a-successful-git-branching-model/
|
||||
only somewhat simplified:
|
||||
|
||||
Do commits in develop branch. When done, merge with master.
|
||||
|
||||
|
||||
$ git checkout develop
|
||||
Switch to branch develop
|
||||
$ git add ..
|
||||
$ git commit ..
|
||||
$ git push origin develop
|
||||
Add/commit stuff here (and push)
|
||||
|
||||
Ready for tagging
|
||||
-----------------
|
||||
(This is somewhat simplified - no release branch)
|
||||
$ ./bump-version.sh 3.6.0
|
||||
Files modified successfully, version bumped to 3.6.0
|
||||
$ git checkout master
|
||||
Switch to master
|
||||
$ git merge --no-ff develop
|
||||
Merge made by recursive.
|
||||
(Summary of changes)
|
||||
$ git tag -a 3.6.0
|
||||
|
||||
3. How the meta-configure stuff works
|
||||
+++++++++++++++++++++++++++++++++++++
|
||||
configure.ac --.
|
||||
| .------> autoconf* -----> configure
|
||||
[aclocal.m4] --+---+
|
||||
| `-----> [autoheader*] --> [config.h.in]
|
||||
[acsite.m4] ---'
|
||||
|
||||
.-------------> [config.cache]
|
||||
configure* ------------+-------------> config.log
|
||||
|
|
||||
[config.h.in] -. v .-> [config.h] -.
|
||||
+--> config.status* -+ +--> make*
|
||||
Makefile.in ---' `-> Makefile ---'
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue