Skip to content
Update Release Report Python Fuseki Tool authored by Karin Colsman's avatar Karin Colsman
......@@ -6,13 +6,18 @@ Needs cURL and [Apache Jena Fuseki](https://gitlab.com/allotrope-open-source/all
## Usage
```python
python release_report.py <taxonomy_path> <output_path> <host> <dataset> <query_file> [<tsv_catalog_file> [<comma,separated,excludes>]]
python release_report.py <ontology_path> <output_path> <host> <dataset> <query_file> [<tsv_catalog_file>|<json_file_list> [<comma,separated,excludes>]]
```
If no list of files is given, all files are used.
There are 3 ways of specifying which `.ttl` files to include:
* The `tsv_catalog_file` uses the format as created by the [Ontology Catalog Reader](https://gitlab.com/allotrope-open-source/allotrope-devops/-/wikis/The-Ontology-Catalog-Reader). The optional `excludes` parameter can be used to skip files that belong to certain catalog groups.
* The `json_file_list` uses the format `{ "files" : [ "file1.ttl", "file2.ttl" ] }`. The `excludes` parameter will be ignored.
* If no list of files is given, all files from `ontology_path` are used.
## Example
```python
python release_report.py afo ci/output localhost test ci/spec/release_report.rq all_ttl_files.tsv
python release_report.py afo ci/output localhost test ci/spec/release_report.rq all_ttl_files.tsv import,OLD
python release_report.py afo ci/output localhost test ci/spec/release_report.rq important_files.json
```
## Links
......
......