Gen3 Library Template
Project description
gen3utils
Utils for Gen3 commons management
manifest.json validation
Validate one or more manifest.json
files:
pip install gen3utils
gen3utils validate-manifest cdis-manifest/*/manifest.json
The validation settings can be updated by modifying this file.
:construction: etlMapping.yaml validation :construction:
This feature is still in development!
Validate an etlMapping.yaml
file against the dictionary URL specified in a manifest.json
file:
pip install gen3utils
gen3utils validate-etl-mapping etlMapping.yaml manifest.json
Comment on a PR with any deployment changes when updating manifest services
The command requires the name of the repository, the pull request number and a GITHUB_TOKEN
environment variable containing a token with read and write access to the repository. It also comments a warning if a service is pinned on a branch.
pip install gen3utils
gen3utils post-deployment-changes <username>/<repository> <pull request number>
Dev test
python setup.py install
python -m pytest
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
gen3utils-0.4.0.tar.gz
(29.9 kB
view hashes)