Changes between Version 9 and Version 10 of SoftWare/ProjectMeta
- Timestamp:
- Apr 27, 2018, 7:19:13 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SoftWare/ProjectMeta
v9 v10 9 9 10 10 == Description == 11 The creation of the OpenDAP repository is done by the script [http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/project-meta/project-meta.html project-meta] (**which language).11 The creation of the OpenDAP repository is done by the script [http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/project-meta/project-meta.html project-meta] using unix commands, scripts in Perl and C++ . 12 12 13 13 The first step is to make a list of the data folders to display. This list needs to be introduced in a text file, complemented by some information about the authors of the work and about related publications. This text file must be put in your current folder with the name `PROJECT-META.yml`. The text structure must follow some simple rules consisting in the YAML format. An example could be found in the Project-Meta repository or online [http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/project-meta/PROJECT-META.sample.yml PROJECT-META.sample.yml]. 14 14 15 15 == `PROJECT-META.yml` meta file == 16 This file is the core of the project. A first task is to list the data folder to publish. A good practice is to organise the data and the procedures of analysis, such that the final data to publish are contained in folders named with specific extensions. Then findingtools can be used to list all the selected folders. For instance the following unix command lists all the folders with extension '`*.mproj*`' and append it to the file `PROJECT-META.yml` (and creates the file if it does not exist yet):16 This file is at the core of the procedure. A first task is to list the data folder to publish. For that purpose a good practice is to organise the data and the procedures of analysis such that the final data to publish are contained in folders named with specific extensions. Then search tools can be used to list all the selected folders. For instance the following unix command lists all the folders with extension '`*.mproj*`' and append it to the file `PROJECT-META.yml` (and creates the file if it does not exist yet): 17 17 18 18 {{{ 19 19 find . -name '*.mproj*' -a -type d | sed 's/^/ - /;' >> PROJECT-META.yml 20 20 }}} 21 The `find` command only search the folders with the right extension (recursively) 21 The `find` command only search the folders with the right extension (recursively) under the current one (.) and the `sed` command add 4 spaces and the dash at the beginning of each line in order to respect the YAML format. 22 22 23 The YAML file has to be complemented by general information about the authors and the related publications, following the template [http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/project-meta/PROJECT-META.sample.yml PROJECT-META.sample.yml]. 23 The YAML file has to be complemented by general information about the authors and the related publications, following the template [http://servforge.legi.grenoble-inp.fr/pub/soft-trokata/project-meta/PROJECT-META.sample.yml PROJECT-META.sample.yml]. 24 24 25 == Repository ==25 == Software repository == 26 26 All code is under '''free license'''. Scripts in `bash` are under GPL version 3 or later (http://www.gnu.org/licenses/gpl.html), `C++` sources are under GPL version 2 or newer, the `perl` scripts are under the same license as `perl` itself ie the double license GPL and Artistic License (http://dev.perl.org/licenses/artistic.html). 27 27