Chimie Théorique Scripts and stuffs.¶
DO NOT REGISTER: use login instead
Get the repository:¶
Either in web interface, "Repository" tab, or via subversion tool:
svn co http://login@forge.cbp.ens-lyon.fr/svn/chimie4psmn
Organisational proposal (repository file tree):¶
chimie4psmn ├── submit │ ├── adf │ │ └── run_adf.sh │ ├── crystal │ │ ├── README.txt │ │ ├── sub_crystal14.csh │ │ └── sub_prop14.csh │ ├── gaussian │ │ ├── old │ │ │ ├── run_g09d-PFL.sh │ │ │ └── run_g09d-TLB.sh │ │ └── run_g09d01.sh │ └── vasp └── test.txt
Subversion tool memento:¶
- Get the repository, WITH commit granted:
svn co http://login@forge.cbp.ens-lyon.fr/svn/chimie4psmn
- Get the repository, read-only:
svn co http://forge.cbp.ens-lyon.fr/svn/chimie4psmn
- Update your local copy:
cd chimie4psmn/ svn up
- Activate metadatas (Date Author Id Rev) on a file:
svn propset svn:keywords "Id" file
- Set/Del properties on a file:
svn propset svn:executable on fichier svn propdel svn:executable fichier
- Add dir/file(s):
svn add dir/ OR svn add dir/file
- Commit your modifications to repository:
This command automaticaly open $EDITOR to add a log message with your commit (MANDATORY, even for small changes).
svn commit
Loïs propose to stick with english for all commit messages, comments into files, instructions, wiki, etc. At minimum.
(rien n'interdit d'avoir aussi une version dans une autre langue, comme le frenglish couramment parlé au labo de théoricol kimi :o)
- Personnal Subversion configuration (into ~/.subversion/config file), to activate metadatas by default:
[miscellany] enable-auto-props = yes [auto-props] *.* = svn:keywords=Id