Skip to main content

Compare packages and versions on servers

Project description

Build PyPI License

installed-packages-diff - Compare packages and versions on servers

Features

  • collects packages and version via ssh
  • calculated and prints the differences
  • supports rpm and dpkg

Prerequisites

  • GNU make
  • python >= 3.6
  • virtualenv

Usage

Create a config as described below.

pip install --user installed-packages-diff

python3 -m installed_packages_diff ./config.yaml

Development

Setup

make install_deps

Run tests

make tests

Create a config config.yml

version: 'installed-packages-diff/3'
groups:
  web:
    type: rpm # or dpkg
    servers:
      - url: ssh://root@web-dev
        excludes:
          - "missing"
      - url: ssh://root@web-live

Run installed-packages-diff

make run

License

Copyright (c) 2021 by Cornelius Buschka.

MIT

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

installed-packages-diff-3.1.0.tar.gz (10.0 kB view hashes)

Uploaded Source

Built Distribution

installed_packages_diff-3.1.0-py2.py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 2 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