@@ -7,11 +7,9 @@ relevant to regular users.
77Branches / releases
88-------------------
99
10- AMICI roughly follows the
11- `GitFlow <https://nvie.com/posts/a-successful-git-branching-model/ >`__.
12- All new contributions are merged into ``develop ``. These changes are
13- regularly merged into ``master `` as new releases. For release versioning
14- we are trying to follow `semantic versioning <https://semver.org/ >`__.
10+ For AMICI, we mostly do `trunk-based development <https://trunkbaseddevelopment.com/ >`__.
11+ All new contributions are merged into ``main `` after passing the test suite
12+ and code review. Releases are usually created directly from ``main ``.
1513New releases are created on GitHub and are automatically deployed to
1614`Zenodo <https://doi.org/10.5281/zenodo.597928 >`__ for
1715archiving and to obtain a digital object identifier (DOI) to make them
@@ -20,8 +18,7 @@ automatically create and deploy a new release on
2018`PyPI <https://pypi.org/project/amici/ >`__.
2119
2220We try to keep a clean git history. Therefore, feature pull requests are
23- squash-merged to ``develop ``. Merging of release branches to master is
24- done via merge commits.
21+ squash-merged to ``main ``.
2522
2623When starting to work on some issue
2724-----------------------------------
@@ -44,12 +41,17 @@ process described below:
4441 `AMICI's license conditions <https://github.com/AMICI-dev/AMICI/blob/master/LICENSE.md >`__.
4542 By opening a pull requests you confirm us that you do agree.
4643
47- - Start a new branch from ``develop `` (on your fork, or at the main
44+ - Start a new branch from ``main `` (on your fork, or at the main
4845 repository if you have access)
4946
5047- Implement your changes
5148
52- - Submit a pull request to the ``develop `` branch
49+ - Update ``CHANGELOG.md `` with a short description of your changes.
50+ This can be omitted for small changes that do not affect the
51+ functionality of AMICI, e.g. fixing typos or formatting issues,
52+ private refactoring, ...
53+
54+ - Submit a pull request to the ``main `` branch
5355
5456- Ensure all tests pass
5557
@@ -117,7 +119,7 @@ Python
117119C++
118120^^^
119121
120- - We use C++17
122+ - We use C++20
121123
122124- We want to maintain compatibility with g++, clang, and the Intel C++
123125 compiler
@@ -126,10 +128,14 @@ C++
126128 be invoked by ``make clang-format cmake-format `` from the CMake build
127129 directory.
128130
131+ - For new code, we use `Google's C++ style guide <https://google.github.io/styleguide/cppguide.html >`__ as a reference.
132+
133+
129134Matlab
130135^^^^^^
131136
132- *To be defined *
137+ No new Matlab code should be added to AMICI
138+ (see `#2727 <https://github.com/AMICI-dev/AMICI/issues/2727 >`__).
133139
134140Further topics
135141--------------
0 commit comments