Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Utils for Gen3 commons management. Gen3utils includes a CLI and is intended to be used as an external facing tool for validating configuration, generating release notes, posting deployment changes, logging parser information, and more.
pip install gen3utils
Validate one or more manifest.json
files:
gen3utils validate_manifest cdis-manifest/*/manifest.json
The validation settings can be updated by modifying this file.
Validate an etlMapping.yaml
file against the dictionary URL specified in a manifest.json
file:
gen3utils validate_etl_mapping etlMapping.yaml manifest.json
Validate a gitops.json
file against the dictionary URL specified in a manifest.json
file and an etlMapping.yaml file. Adds a comment to a pull request listing all the errors encountered when validating against etlMapping.yaml
gen3utils validate_portal_config etlMapping.yaml manifest.json gitops.json <username>/<repository> <pull request number>
To run without making a pull request comment
gen3utils validate_portal_config etlMapping.yaml manifest.json gitops.json
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>
pip install gen3utils
gen3utils s3log --help
gen3utils s3log [OPTIONS] BUCKET PREFIX SCRIPT
Run SCRIPT
in Gen3 logs under S3 BUCKET:PREFIX
. The SCRIPT
should be importable defining a method like this:
def handle_row(obj, line):
if 1 + 1 == 2:
return line
For example, to process logs in bucket my-commons-logs
at prefix my-logs
with a gen3utils/script.py
file:
pip install gen3utils
gen3utils s3log my-commons-logs my-logs gen3utils.script
poetry install -vv
poetry run pytest -vv ./tests
FAQs
Utils for Gen3 Commons management
We found that gen3utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.