Skip to main content

Helpful utility to generate package changelog between two cloud images

Project description

ubuntu-cloud-image-changelog

https://img.shields.io/pypi/v/ubuntu_cloud_image_changelog.svg

Helpful utility to generate package changelog between two cloud images

  • Free software: GNU General Public License v3

Install

Install from snap store

This release is also available for download and install from the snap store @ https://snapcraft.io/ubuntu-cloud-image-changelog

` sudo snap install ubuntu-cloud-image-changelog `

This is a strict snap as recommended for most snaps, see https://snapcraft.io/docs/snap-confinement for more details.

Install from PyPi

` pip install ubuntu-cloud-image-changelog `

Usage

` ubuntu-cloud-image-changelog --from-manifest manifest1.manifest --to-manifest manifest2.manifest --from-series focal --to-series focal `

If Packages in manifest are known to have been installed from this PPA then you can pass one of more PPAs to ubuntu-cloud-image-changelog for the changelog for those packages to be included in the output.

` --ppa `

Expected format is ‘%LAUNCHPAD_USERNAME%/%PPA_NAME%’ eg. philroche/cloud-init

` --highlight-cves `

Highlight the CVEs referenced in each individual changelog entry

` --output-json changelog.json `

Output changelog to local changelog.json file

` --output-json-pretty `

Pretty print JSON output with 4 character indentation. –output-json must also be used for this to take affect.

TODO

  • There are opportunities to improve performance by parallelizing the source package changelog queries and parsing.

  • Refactor the generate function as it is way too long and complex.

  • Add tests for the generate function.

Credits

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

History

0.12.2 (2022-11-15)

  • Added support for JSON output

  • Added support for including CVE details in the JSON and text output

0.8.1 (2020-11-11)

  • Improve handling of changelog parsing if from version or to version not found

0.8.0 (2020-11-09)

  • handle package version that do not exactly conform to debian package version shim-signed is a special package as it appends the version of the binary shim from Microsoft. This full version will not appear in the manifest so we can safely remove anything after the binary shim version.

    Example version: 1.37~18.04.6+15+1533136590.3beb971-0ubuntu1

0.7.3 (2020-11-09)

  • package versions in a changelog may or may not include the epoch

0.7.2 (2020-11-09)

  • use consistent ubuntu-cloud-image-changelog entry point

0.7 (2020-11-09)

  • Remove dependency on dpkg-parsechangelog utility. Use python-debian to parse changelogs instead

0.6 (2020-11-09)

  • 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-cloud-image-changelog-0.13.2.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

ubuntu_cloud_image_changelog-0.13.2-py2.py3-none-any.whl (15.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ubuntu-cloud-image-changelog-0.13.2.tar.gz.

File metadata

File hashes

Hashes for ubuntu-cloud-image-changelog-0.13.2.tar.gz
Algorithm Hash digest
SHA256 b18699fb2fdc8f8f8b7fc6df99470448fc578342ca6ce4ee7f28cdfbf2e60341
MD5 e3724fc54cde1d6192910a641f6e988d
BLAKE2b-256 16650445c1e9026a0590a94cefcc23a3a8a3688f2d6ad856e55b9330451d7afa

See more details on using hashes here.

File details

Details for the file ubuntu_cloud_image_changelog-0.13.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ubuntu_cloud_image_changelog-0.13.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8cc8f80229cd81202111fb4ecc386d0d866e24ff64063d9189ec5e6e51ba060f
MD5 6b294cd1be1440e98688982997aa29ab
BLAKE2b-256 7e7546111853a7fea9aba1ff8032555e1d8c0c00c651bbd588f8d7d21591a5ca

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