Skip to main content

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 hashes)

Uploaded Source

Built Distribution

repoaudit-0.1.1-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page