This utility allows you to compare binary packages between the ALT Linux branches (sisyphus and p10).
It uses the public REST API to get data about packages and compares them by architecture, availability, and versions.
- Python 3.6+
- requestslibrary
- packaginglibrary
- 
Clone the repository: git clone https://github.com/gargulia/package_diff cd package_diff
- 
Install dependencies: 
The utility requires Python 3.6+ and the rpm library to work. Install dependencies using pip:
pip install requestsTo install the packaging package in ALT Linux, using pip:
pip install packaging
Run the script using the command:
python3 package_diff.py [options]- -o, --output <file>— Save the result in a JSON file.
- -v, --verbose— Display detailed information about the comparison.
- Save the result to a file:
 python3 package_diff.py -o result.json- Output detailed information:
 python3 package_diff.py -v- Save the result and output detailed information:
 python3 package_diff.py -o result.json -vThe comparison result includes the following data for each architecture:
- p10_only: Packages that are only in the- p10branch.
- sisyphus_only': Packages that are only in thesisyphus` branch.
- version_diff: Packages whose versions differ between branches.
- This tool relies on the availability and structure of the ALT Linux RDB API. Changes to the API may break the tool.
- Error handling is included to catch network issues and JSON parsing errors.
- The tool iterates through all architectures present in either sisyphusorp10.