Skip to main content

Iseq resources

Scripts that allow you to:

  1. Adding a new tool to the JSON file
  2. 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
  3. Update existing tool/database record in JSON after updating tool/database
  4. Update docker-versions.json in workflows repository

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"

Update docker-versions.json in workflows repository (based on tools.json)

After updating tools.json at json/tools.json you need to get into root directory of workflows repository and type in bash:

update_docker_versions

For possible customization options and help use flag -h

update_docker_versions -h

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iseqresources-0.0.15.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iseqresources-0.0.15-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file iseqresources-0.0.15.tar.gz.

File metadata

  • Download URL: iseqresources-0.0.15.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for iseqresources-0.0.15.tar.gz
Algorithm Hash digest
SHA256 dc95d9ae6a61126036f005a1c285fa858b847f44c3240ee71de5e44a7d88ea3f
MD5 926d0ad6691250743e8cf4114b7e28ac
BLAKE2b-256 4ec1345024c67614fe56191221f23dae96654b392a5695128bb437fdb375cb8c

See more details on using hashes here.

File details

Details for the file iseqresources-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: iseqresources-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for iseqresources-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 b595e27ae78c2584b3d3a8d7c140e66c0f6e57536d589de4c3456177f99b41c6
MD5 09c6ae7dc9a741c1414f639caf1e87b7
BLAKE2b-256 ccfd0e418e3d590e470b403d3c09897a0519c1d9660ef6c60cfd48b586b8ea9c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.15 This release

2 files

0.0.14

1 file

0.0.12

1 file

0.0.11

1 file

0.0.10

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page