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.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.2.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

ubuntu_package_buildinfo-0.0.2-py2.py3-none-any.whl (6.8 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: ubuntu-package-buildinfo-0.0.2.tar.gz
  • Upload date:
  • Size: 12.4 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.2.tar.gz
Algorithm Hash digest
SHA256 a15404759f5365a47364620ef538173d3eb3a9cb40cf8757e83955bb11303f02
MD5 f10077e7dd1962ef935882e6d5a0e660
BLAKE2b-256 870b51ac64e579de74b4ae1841175f13108c229e90b0f5e0fc29cd5eed1636e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ubuntu_package_buildinfo-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.8 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.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a7a92d02e4abf7e4904431a5e0c206881e36ddf067bdb78e7b811e146893373f
MD5 402447983093154133e84841a1fb4001
BLAKE2b-256 b93fc06c09260124accfcd18437709218ffc23ee242e256110e1505ed4c9258f

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