Compare Debian package metadata between two APT repositories
Find a file
CyberVitexus c61fe1bf1e chore(debian): enable debian:forky and backport chown fix
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVPQmZBdyuxFj1rTiJe9p6
2026-09-11 11:51:25 +02:00
.github/workflows ci: add MultiFlexi JSON validation workflow using validate-multiflexi-app action 2026-07-17 19:50:55 +02:00
debian chore(debian): enable debian:forky and backport chown fix 2026-09-11 11:51:25 +02:00
multiflexi multiflexi definition update 2026-08-25 15:07:46 +02:00
repocompare refactor(Compare): ignore CI build number in version comparison 2026-08-25 14:02:26 +02:00
tests refactor(Compare): ignore CI build number in version comparison 2026-08-25 14:02:26 +02:00
zabbix Update Zabbix template to version 8.0 format for zabbix-dev.spojenet.cz 2026-04-26 19:42:14 +02:00
.env.example Add environment variables and Zabbix configuration for RepoCompare monitoring 2026-04-25 20:52:05 +02:00
.gitignore Update .gitignore to include multiflexi-repocompare files and remove obsolete debian/files 2026-04-24 14:45:54 +02:00
__main__.py Initial commit: repocompare project and Debian packaging 2026-04-24 12:26:33 +02:00
Makefile Add Makefile for multiflexi app validation and update JSON schema version 2026-04-25 17:39:14 +02:00
pyproject.toml Initial commit: repocompare project and Debian packaging 2026-04-24 12:26:33 +02:00
README.md docs(README): add packaging badge 2026-07-29 16:03:21 +02:00
requirements.txt Initial commit: repocompare project and Debian packaging 2026-04-24 12:26:33 +02:00
setup.cfg Initial commit: repocompare project and Debian packaging 2026-04-24 12:26:33 +02:00

Packaging: deb

repocompare

Small CLI tool to compare package names and versions between two APT repositories.

Quickstart

  1. Install dependencies:
python -m pip install -r requirements.txt
  1. Edit .env or pass CLI flags. Example:
python -m repocompare --repo-a https://repo.vitexsoftware.com/ --repo-b https://repo.multiflexi.eu/ --dist bookworm --component main --arch amd64

Outputs a summary and JSON payload describing missing and differing packages.

Colored output

If rich is installed (it's in requirements.txt), the CLI will print a colored summary and a table of differing packages. If rich is not available the CLI falls back to plain text output.

Packaging (Debian .deb)

To build a Debian package of repocompare using the included debian/ directory:

  1. Install Debian build dependencies on a Debian/Ubuntu system:
sudo apt update
sudo apt install -y debhelper-compat dh-python python3-all python3-setuptools build-essential
  1. Build the binary package from the project root:
dpkg-buildpackage -us -uc -b
  1. The resulting .deb will be in the parent directory. Install with:
sudo dpkg -i ../repocompare_0.1.0-1_all.deb

Note: Building on non-Debian systems or in CI may require additional tooling. The package uses dh-python and setuptools to install the Python module and the repocompare console entry point.