Skip to content

dlalaj/ubuntu-cloud-image-changelog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ubuntu-cloud-image-changelog

Helpful utility to generate package changelog between two cloud images

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.

About

Helpful utility to generate package changelog between two cloud images

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 90.3%
  • Shell 4.9%
  • Makefile 3.6%
  • Batchfile 1.2%