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.0.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

installed_packages_diff-3.0.0-py2.py3-none-any.whl (8.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: installed-packages-diff-3.0.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for installed-packages-diff-3.0.0.tar.gz
Algorithm Hash digest
SHA256 751ff88c760788783bfd8221b7bd0e823fb10630d9ffce95bd16e670fbd8a82a
MD5 31786f67fb84a04caa75aa0edde92ddc
BLAKE2b-256 da7949f70dba50a7162c19289d61a9af1bfd8f5947064fc1acecae852abd8ee1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: installed_packages_diff-3.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for installed_packages_diff-3.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 692682f5987e5482c4306465d562c43494140f5b5c90dd91b2db341c9dd86b21
MD5 3bb7d9a949937c2813390da2bd0146db
BLAKE2b-256 92ae7c4c526ec56c46376009951f72f90fa6ab5600ce4cc19ccc450c85e1665a

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