Re: Handling of changelogs and bin-nmus
- To: Andreas Barth <aba@ayous.org>, Jonathan Nieder <jrnieder@gmail.com>, debian-dpkg@lists.debian.org, Henrique de Moraes Holschuh <hmh@debian.org>, Philipp Kern <pkern@debian.org>, Aron Xu <happyaron.xu@gmail.com>, debian-release@lists.debian.org, debian-devel@lists.debian.org
- Subject: Re: Handling of changelogs and bin-nmus
- From: Raphael Hertzog <hertzog@debian.org>
- Date: Mon, 11 Jun 2012 06:53:51 +0200
- Message-id: <[🔎] 20120611045351.GB13001@rivendell.home.ouaza.com>
- Mail-followup-to: Andreas Barth <aba@ayous.org>, Jonathan Nieder <jrnieder@gmail.com>, debian-dpkg@lists.debian.org, Henrique de Moraes Holschuh <hmh@debian.org>, Philipp Kern <pkern@debian.org>, Aron Xu <happyaron.xu@gmail.com>, debian-release@lists.debian.org, debian-devel@lists.debian.org
- In-reply-to: <[🔎] 20120610214037.GA2385@mails.so.argh.org>
- References: <CAMr=8w7SWXrLkGoH7tAoY7CAbS4LvwyHFPM9ZgL4t9AubnmdNA@mail.gmail.com> <CAMr=8w63_9zA3m1H726xEOFBknYdhyThd+XkoFVB_C1+Q77Aqw@mail.gmail.com> <[🔎] 20120608221752.GA22400@spike.0x539.de> <[🔎] 20120609003040.GA13316@khazad-dum.debian.net> <[🔎] 20120609132606.GX2385@mails.so.argh.org> <[🔎] 20120610080128.GA8470@gaara.hadrons.org> <[🔎] 20120610124028.GE21737@rivendell.home.ouaza.com> <[🔎] 20120610171456.GB32613@burratino> <[🔎] 20120610184323.GE14531@rivendell.home.ouaza.com> <[🔎] 20120610214037.GA2385@mails.so.argh.org>
Hi,
On Sun, 10 Jun 2012, Andreas Barth wrote:
> Asking to be sure: For sbuild, that means instead of changing the file
> debian/changelog before starting the build, a new file
> debian/changelog.binary-rebuild (or however it is named) is created
> and from there on all works "by itself"?
That's the idea, yes.
> Do we have other tools than dpkg that parse the changelog to find out
> the package version? How far are we away from getting that
> implemented once we decide we want that?
Why other than dpkg? In any case, we have dpkg-parsechangelog. And I guess
you probably refer to sbuild where you want to grab the version number.
It could use the Dpkg::Changelog modules from libdpkg-perl. It already
uses those modules for various purposes.
Cheers,
--
Raphaël Hertzog ◈ Debian Developer
Get the Debian Administrator's Handbook:
→ http://debian-handbook.info/get/
Reply to: