Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

canonical/ubuntu-package-buildlog-info

Repository files navigation

Ubuntu Package Buildlog Info

image

image

Documentation Status

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.

Example Usage

ubuntu-package-buildlog-info --series jammy --package-version 3.0.4-2ubuntu2.2 --package-name apparmor

Features

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.

TODO

  • 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

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Tool to retrieve Ubuntu package buildlog info

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published