ubuntu-package-changelog can be used to get a changelog for a given Ubuntu source package. Eg:
ubuntu-package-changelog focal Updates linux-azure linux-azure (5.4.0-1043.45) focal; urgency=medium [ Ubuntu: 5.4.0-70.78 ] * CVE-2020-27170 - bpf: Fix off-by-one for area size in creating mask to left * CVE-2020-27171 - bpf: Prohibit alu ops for pointer types not defining ptr_limit * binary assembly failures with CONFIG_MODVERSIONS present (LP: #1919315) - [Packaging] quiet (nomially) benign errors in BUILD script -- Thadeu Lima de Souza Cascardo <[email protected]> Fri, 19 Mar 2021 13:32:55 -0300
By default, only the latest changelog entry is shown. To see more entries, use the --entries flag. It's also possible to get a changelog for a package in a PPA:
ubuntu-package-changelog -ppa cloud-images/eks-01.11.0 focal Release cni cni (0.6.0-0ubuntu1) bionic; urgency=medium [...]
It's also possible to list changelog entries for private PPAs. For that, --lp-user must be given. Eg:
ubuntu-package-changelog --lp-user toabctl --ppa fips-cc-stig/cc bionic Release fips-initramfs fips-initramfs (0.0.11~rc5) bionic; urgency=medium [...]
ubuntu-package-changelog is available as snap.
For installation, do:
snap install ubuntu-package-changelog
To access private PPAs, it's useful to connect the password-manager-service so authorization is only done once:
snap connect ubuntu-package-changelog:password-manager-service
The other option is installing it into a virtualenv:
virtualenv venv source venv/bin/activate pip install -e . # now you can use the tool ubuntu-package-changelog -h
Please use github (https://github.com/toabctl/ubuntu-package-changelog) issues and pull requests for discussions and contribution.