Repository Service for TUF Command Line Interface
Project description
Repository Service for TUF Command Line Interface (CLI).
This CLI is part of the Repository Service for TUF (RSTUF).
Development
Requirements:
Python >=3.9
Pipenv
Getting the source code
Fork the repository on GitHub and clone it to your local machine:
git clone git@github.com:YOUR-USERNAME/repository-service-tuf-cli.git
Add a remote and regularly sync to make sure you stay up-to-date with our repository:
git remote add upstream https://github.com/vmware/repository-service-tuf-cli
git checkout main
git fetch upstream
git merge upstream/main
Preparing the environment
After installing Python, install the pipenv tool:
$ pip install pipenv
Create a virtual environment for this project:
$ pipenv shell
Install the requirements from the Pipfile.
The flag -d will install the development requirements:
$ pipenv install -d
Running checks with pre-commit:
The pre-commit tool is installed as part of the development requirements.
To automatically run checks before you commit your changes you should run:
$ make precommit
This will install the git hook scripts for the first time, it will update to the latest versions of the hooks and run the pre-commit tool. Now pre-commit will run automatically on git commit.
Running RSTUF CLI:
$ rstuf
Usage: rstuf [OPTIONS] COMMAND [ARGS]...
Repository Service for TUF Command Line Interface (CLI).
How to add new requirements
Install the requirements package.
The flag -d will install the development requirements.
$ pipenv install -d <package>
$ pipenv install <package>
Update all project requirements
$ make requirements
Tests
Perform automated testing with the tox tool:
$ tox
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
Built Distribution
Hashes for repository_service_tuf-0.0.1a7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef7f574bf5e85aa67ab4200b3c8e720a6c8274f0319fef22274969fec67c047 |
|
MD5 | 5194d626036e1468e7ee00fae67caca3 |
|
BLAKE2b-256 | 9a5aa40322000d385fcd61e7487ed737e3bfe10adcf18f3fc2b8309ea8b4863a |
Hashes for repository_service_tuf-0.0.1a7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c2f00b8eb01e36f33ea3ced9f835b45cbaf6a75b9e9a27efa2b7df93883ec76 |
|
MD5 | 28ef7466e6865cfaef0594fa73575aad |
|
BLAKE2b-256 | 6afc92dce0983afbc7c47634c7f2ce2202d3739494c7d219b25cd97e780b768f |