Skip to main content

Tool to retrieve Ubuntu Package Buildinfo

Project description

Ubuntu Package BuilInfo

https://img.shields.io/pypi/v/ubuntu-package-buildinfo.svg https://img.shields.io/travis/canonical/ubuntu-package-buildinfo.svg Documentation Status

Tool to retrieve Ubuntu Package Buildinfo

This script downloads the changes file, the buildlog file and 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.

Example Usage

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

Features

Downloads the changes file, the buildlog file and the buildinfo file for a given package and version in a given Ubuntu series.

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.

History

0.0.7 (2024-06-26)

  • feat: Add support for .buildinfo from a PPA

0.0.6 (2024-06-05)

  • feat: optionally do not download buildinfo file. –no-download flag checks for existence only

0.0.5 (2024-02-19)

  • fix: ensure correct architecture build artifacts are downloaded

0.0.4 (2024-02-01)

  • Fix for querying by source package even if the package was a copy from a previous Ubuntu release.

0.0.3 (2024-01-31)

  • Allow for querying by source package.

0.0.2 (2024-01-24)

  • No longer iterate over pocket and publication status for much quicker query times.

0.0.1 (2024-01-24)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ubuntu-package-buildinfo-0.0.7.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

ubuntu_package_buildinfo-0.0.7-py2.py3-none-any.whl (17.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ubuntu-package-buildinfo-0.0.7.tar.gz.

File metadata

  • Download URL: ubuntu-package-buildinfo-0.0.7.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.9.6 requests/2.31.0 setuptools/68.1.2 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.11.6

File hashes

Hashes for ubuntu-package-buildinfo-0.0.7.tar.gz
Algorithm Hash digest
SHA256 b0850a42160cfe6cbe17cfcb52474f850e80c7aa16d4280e7cac9f7796c5316c
MD5 c1e75b7687243c3babae1f7f89297933
BLAKE2b-256 d2cbb2f8d1e4666881f120dd3f661674a556da7b6cd2e888e3e0299008df171c

See more details on using hashes here.

File details

Details for the file ubuntu_package_buildinfo-0.0.7-py2.py3-none-any.whl.

File metadata

  • Download URL: ubuntu_package_buildinfo-0.0.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.9.6 requests/2.31.0 setuptools/68.1.2 requests-toolbelt/1.0.0 tqdm/4.66.1 CPython/3.11.6

File hashes

Hashes for ubuntu_package_buildinfo-0.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 83f2eea5be8dea72539990ed7f517bb0d478958fbd9b26e1c666a7b1195f7cc6
MD5 c7066b1aa4720a582b03966a435cf927
BLAKE2b-256 c577ce2977f8762a2bd616643388c057ca09045fb8be520997e470bbe1bfd554

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page