CLI to validate yum/apt repositories
Project description
repoaudit
A tool for validating apt and yum repositories.
Installation and Usage
To install repoaudit from PyPI:
pip install repoaudit
Then run:
repoaudit --help
Examples
# validate all distros of azure-cli apt repo
repoaudit apt https://packages.microsoft.com/repos/azure-cli/
# validate only focal and bionic distros of azure-cli apt repo
repoaudit apt --dist focal --dist bionic https://packages.microsoft.com/repos/azure-cli/
# validate azurecore repo
repoaudit yum https://packages.microsoft.com/yumrepos/azurecore/
# validate all nested yumrepos
repoaudit yum -r https://packages.microsoft.com/yumrepos/
Development
First install poetry:
https://python-poetry.org/docs/#installation
Then clone the repo and cd into the repoaudit directory.
Run poetry install
to install repoaudit's dependencies.
To load the poetry shell and run repoaudit:
poetry shell
repoaudit
Altenatively you can run:
poetry run repoaudit
Releasing
poetry publish --build
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
repoaudit-0.1.1.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file repoaudit-0.1.1.tar.gz
.
File metadata
- Download URL: repoaudit-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a8293f352ecba65cdc7614fd2ed48e935fa9798040c546b6a2f0f3565f5c968 |
|
MD5 | 6b64c7c29a9636ae2928d89598eab104 |
|
BLAKE2b-256 | d8223978005a5045b313aa82b685d31f0a19739e6df9ac947aab8009353b7fb3 |
File details
Details for the file repoaudit-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: repoaudit-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc5a7d75af9661426863afd81d93a9b26bc06d0d9ed49544cf280def2646218f |
|
MD5 | 6ff7e93034f820238a61ea8eb0083d31 |
|
BLAKE2b-256 | c52e4b6fec33d02ea146126dbf641933715053e166ec604beed07115b081a1cc |