Skip to content

cbuschka/installed-packages-diff

Repository files navigation

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

About

Compare packages and versions on servers

Topics

Resources

License

Stars

Watchers

Forks