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
  • pipenv

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/2'
groups:
  web:
    type: rpm # or dpkg
    servers:
      - username: root
        hostname: web-dev
        excludes:
          - "missing"
      - username: root
        hostname: 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-2.1.1.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

installed_packages_diff-2.1.1-py2.py3-none-any.whl (7.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file installed-packages-diff-2.1.1.tar.gz.

File metadata

  • Download URL: installed-packages-diff-2.1.1.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for installed-packages-diff-2.1.1.tar.gz
Algorithm Hash digest
SHA256 74a32b216fea2f06c2cbdefe157ccff8cb208a69f36aeb8d523815ee3a74c628
MD5 51224dc3b5b41243fb2f798a84d58fd5
BLAKE2b-256 e26d47efb11d17f525af886be7f489f172f7f4c51330c8824d1a7f1c19522dd9

See more details on using hashes here.

File details

Details for the file installed_packages_diff-2.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: installed_packages_diff-2.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for installed_packages_diff-2.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 72877ec3352d26d7588ddb919e446a16a9a78297c2bc147c3e02e7ca77fd7728
MD5 6a67569dc9ac6b70fd19f50da143c632
BLAKE2b-256 aa5732e871bd6bf7c9dfa96b2a42d15f8af75e89be787c9451e4baa49174899e

See more details on using hashes here.

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