Package for adding new tools to json file, checking their versions and creating tasks in JIRA
Project description
Iseq resources
Scripts that allow you to:
- Adding a new tool to the JSON file
- Iterating over the tools in the JSON file and checking the latest version, and in the case of a new version, adding a tooltip to JIRA
- Update existing tool/database record in JSON after updating tool/database
Install
pip install iseqresources
Requirements
- python >=3.6
- jira >= 3.3.0
- requests >= 2.22.0
- python-gitlab >= 3.7.0
Adding a new tool
First specify if you want to add tool or database. Input JSON file (--input-json) is from gitlab repo at path json/tools.json or json/databases.json. Default is json/tools.json.
add_tool --tools
or
add_tool --databases
You can also run on a local file:
add_tool \
--input-json "/path/to/json/tools_or_databases.json"
It is better to add new tool directly to json file.
Checking versions and add task to JIRA
Input JSON file (--input-json and --info-json) are from gitlab repo at path json/tools.json or json/databases.json and json/info.json. Default is json/tools.json.
check_versions --tools
or
check_versions --databases
You can also run on a local files:
check_versions \
--input-json "/path/to/json/tools_or_databases.json" \
--info-json "/path/to/json/info.json"
Update existing tool/database record in JSON
Input JSON file (--input-json) is from gitlab repo at path json/tools.json or json/databases.json. Default is json/tools.json.
update_record --tools
or
update_record --databases
You can also run on a local file:
update_record \
--input-json "/path/to/json/tools_or_databases.json"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file iseqresources-0.0.14.tar.gz.
File metadata
- Download URL: iseqresources-0.0.14.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccab7ba11a2713288cc1b6c62dfa61fcd069603b7c2a913b736f1e113a58bc65
|
|
| MD5 |
13ac5afa70b29b6c0f60962e2d0f4734
|
|
| BLAKE2b-256 |
b653be6b94424313cc4cc66d0927d68ded8bbda5d2a16550a313ecd9036c9adc
|