... | ... | @@ -142,7 +142,7 @@ optional arguments: |
|
|
-h, --help show this help message and exit
|
|
|
-ddi DRAFT_TO_DELETE_ID, --draft_to_delete_id DRAFT_TO_DELETE_ID the b2share id of the record
|
|
|
```
|
|
|
To add some describing meta data to the collection of files, the user want to publish on B2SHARE, it is possible to add a metadata file directly into the collection before triggering the publication process. This file needs to be written in a specific way so it can be processed by the ** b2shareclient.py ** and its information send to B2SHARE over the REST API. The script **create_md_file.py** can help one to create such a file for specified community. It is requesting the schema of the community and saves optional and required options. The user needs then fill the values for the options he wants to be saved in the meta data of the draft.
|
|
|
To add some describing meta data to the collection of files, the user want to publish on B2SHARE, it is possible to add a metadata file directly into the collection before triggering the publication process. This file needs to be written in a specific way so it can be processed by the **b2shareclient.py** and its information send to B2SHARE over the REST API. The script **create_md_file.py** can help one to create such a file for specified community. It is requesting the schema of the community and saves optional and required options. The user needs then fill the values in for the options he wants to be saved in the meta data of the draft.
|
|
|
```
|
|
|
python create_md_file.py -h
|
|
|
usage: create_md_file.py [-h] [--confpath CONFPATH] [-c COMMUNITYNAME] [-dbg] [-d] [-u USERNAME] [--collectionName COLLECTIONNAME]
|
... | ... | @@ -158,4 +158,5 @@ optional arguments: |
|
|
-c COMMUNITYNAME, --communityName COMMUNITYNAME B2Share community name
|
|
|
--collectionName COLLECTIONNAME path to the collection where to create the metadata file
|
|
|
```
|
|
|
|
|
|
# iRODS rules |
|
|
\ No newline at end of file |