Comment 2 for bug 2002871

Revision history for this message
Shengjing Zhu (zhsj) wrote (last edit ):

The regression is not from python 3.11, it's from debhelper 13.10, notably

  * dh_installchangelogs: Trim old Debian changelog entries
    automatically. Distributions can disable this by using
    `DEB_BUILD_OPTIONS=notrimdch`.

So debhelper has the ability to trim the changelog and enables it by default. This function is duplicated to pkgbinarymangler.

pkgbinarymangler has its own logic to trim changelog. It treats ppa packages especially and has testcases to ensure their changelogs are not trimmed.

So what the expected behavior we want here?

I propose to drop the changelog handling in pkgbinarymangler, as debhelper now supports such behavior.

Do we want to keep the special logic for ppa? If we want, IMO it's better to patch debhelper. Or maybe we could just ask LP admin to add DEB_BUILD_OPTIONS=notrimdch to all PPA builders?