> git config user.name "FIRSTNAME LASTNAME" > git config user.email "A@B.DE"in the DAMASK repository or
> git config --global user.name "FIRSTNAME LASTNAME" > git config --global user.email "A@B.DE"for a system-wide setup.
development
is the branch that is should always work (and release
/ master
of course as well)
For any changes, create a new branch named after the feature you're working on (or, contribute to an existing branch).
For new features, create tests.
After finishing working on a brach, test the code. If it is working, request to merge it into development. Assign the merge request to one of the developers (that is not you!)
For a small bugfix to the latest commit, usegit commit --amend
development
branch
development
is automatically merged into master
master
branch (release
branch)
DAMASK G MM.mm.ff.pppp ^^^^^^--------------------------- Name ^------------------------- Generation (skip for the moment until we have DAMASK 2) ^^---------------------- Major (not backward compatible, old input files will not work) ^^------------------- Minor (new features) ^^---------------- Bugfix ^^^^----------- Patch
-fsyntax-only
for the spectral solver;
Any change in the src subdirectory triggers a syntax check with Ifort -fsyntax-only
for MSC.Marc.
To skip this check, add '[skip sc]' to the latest commit message, e.g. via
> git commit -a --amendin the case that all your changes are locally committed already.
> git commit -a --amendin the case that all your changes are locally committed already. If the test suite needs to be modified for a certain branch, the submodules feature of git allows to couple the status of the branch with a fitting commit in the PRIVATE repository. Initialize (i.e. clone) the PRIVATE repository via
> git submodule update --initAny change in PRIVATE needs to be commited/pushed as usual. As submodules are linked as commit IDs (hashes) and not as branches, after initialization you are in 'detached head' mode and need to check out the branch of interest (typically 'master'). Additionally, commit the current commit ID of the PRIVATE repository in the DAMASK repository:
> git commit PRIVATEBy that, the status (i.e. the current commit ID) is stored in the current branch of the DAMASK repository and will be used by the test facility. https://docs.gitlab.com/ce/ci/git_submodules.html