With https://bugs.launchpad.net/launchpad/+bug/1686242 for API access to package buildinfo files directly I am archiving this repo. it is replaced with https://github.com/canonical/ubuntu-package-buildinfo which uses the API directly.
Tool to retrieve Ubuntu package buildlog info
Ubuntu package builds currently do not publish a buildinfo file. However, the buildlog file contains the contents buildinfo file. This script downloads the buildlog file, extracts the buildinfo file and verifies that the buildinfo file is correct based on the checksum in the .changes file.
See https://wiki.debian.org/ReproducibleBuilds/BuildinfoFiles for more information on buildinfo files.
Launchpad.net bug https://bugs.launchpad.net/launchpad/+bug/2044140 is to track the progress of publishing buildinfo files.
- Free software: GNU General Public License v3
- Documentation: https://ubuntu-package-buildlog-info.readthedocs.io.
ubuntu-package-buildlog-info --series jammy --package-version 3.0.4-2ubuntu2.2 --package-name apparmor
Downloads the buildlog, changes files and changelog for a package version in a series and extracts the buildinfo from the buildlog file.
It also verifies that the buildinfo file is correct based on the checksum in the .changes file.
- Code cleanup now that we have a working version
- Write tests
- Complete support for querying PPAs
- Add support for querying latest version of a package in a series if no version is specified
- Create snapcraft.yaml to build a snap package for easy distribution
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.