https://github.com/cbuschka/installed-packages-diff
Compare packages and versions on servers
https://github.com/cbuschka/installed-packages-diff
dpkg python python3 rpm suse
Last synced: 7 months ago
JSON representation
Compare packages and versions on servers
- Host: GitHub
- URL: https://github.com/cbuschka/installed-packages-diff
- Owner: cbuschka
- License: mit
- Created: 2021-08-19T20:31:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-11T10:26:21.000Z (over 3 years ago)
- Last Synced: 2025-02-19T00:35:31.500Z (8 months ago)
- Topics: dpkg, python, python3, rpm, suse
- Language: Python
- Homepage:
- Size: 130 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
[](https://github.io/cbuschka/installed-packages-diff) [](https://pypi.org/project/installed-packages-diff/) [](https://github.com/cbuschka/installed-packages-diff/blob/main/license.txt)
# 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.
```bash
pip install --user installed-packages-diffpython3 -m installed_packages_diff ./config.yaml
```## Development
### Setup
```bash
make install_deps
```### Run tests
```bash
make tests
```### Create a config config.yml
```yaml
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
```bash
make run
```## License
Copyright (c) 2021 by [Cornelius Buschka](https://github.com/cbuschka).
[MIT](./license.txt)