Hi, Guillem Jover: > On Sat, 2019-07-27 at 12:20:00 -0300, intrigeri wrote: >> gregor herrmann: >> > In dpt-new-upstream we're using Dpkg::Changelog::Debian from >> > libdpkg-perl, which might help here as well.
>> Oh, this is very interesting, thanks! I had taken a look at that >> module, but from the documentation I understood it only gives us "the >> number of changelog entries that have been parsed with success", so >> I had discarded this option. > If the documantion was not clear, I'd be happy to try to improve it so > that other people do not get this impression too. Could you cover a bit > what lead you to that conclusion? Back then I had read only `perldoc Dpkg::Changelog::Debian`, which documents one method: $c->parse($fh, $description) Read the filehandle and parse a Debian changelog in it. The data in the object is reset before parsing new data. Returns the number of changelog entries that have been parsed with success. I understood only later that "See also: Dpkg::Changelog" was not optional :) Cheers, -- intrigeri