ubuntu-cloud-image-changelog
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 generate --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.15.0 (2024-01-23)
Improve changelog parsing to work with fips version strings
0.14.0 (2023-07-04)
Migrated to pydantic 2.0 * This is not a backwards compatible change and requires pydanitc 2.0 or later. * See https://docs.pydantic.dev/latest/migration/ for migration guide used.
0.13.2 (2022-11-22)
Improved support for JSON output
Added new generate and schema commands * schema command generates a JSON schema for the given changelog model used in JSON output
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.
Metadata
Release files for ubuntu-cloud-image-changelog 0.15.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ubuntu_cloud_image_changelog-0.15.8-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / ubuntu_cloud_image_changelog-0.15.8-py2.py3-none-any.whl
| Download URL | ubuntu_cloud_image_changelog-0.15.8-py2.py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e3cb16632e9407cb98d96d2b1ac4dd50aabed87958d2329832984c547b291fe5
|
|
BLAKE2b-256 checksum How to use checksums |
47bfabb8cffb5767087f738b0c8c4b84c86a4f51bcc434a43405d4340b5863f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|