Bug#875306: python-debian: include a type for buildinfo files

Holger Levsen holger at layer-acht.org
Tue Oct 27 19:58:55 GMT 2020


Hi Stuart,

thank you very much for your work on adding .buildinfo support for
python-debian!

On Sun, Oct 25, 2020 at 05:32:19PM +1100, Stuart Prescott wrote:
> The .buildinfo files have two places where interpreting the values seems 
> worthwhile:
> 
> 	Environment: split the lines and extract the key="value" data into a
> 	dictionary in the same format as Python's normal `os.environ`. (Some
> 	dequoting is needed but not currently implemented.)
> 
> 	Installed-Build-Depends: use the standard package-relation code on this to
> 	return interpret the list of packages.

I believe there is a third place: changelog stanzas (aka Binary-Only-Changes:)
from binNMUs, like the one from
https://buildinfos.debian.net/ftp-master.debian.org/buildinfo/2020/10/27/dqlite_1.6.0-1+b1_amd64.buildinfo

Binary-Only-Changes:
 dqlite (1.6.0-1+b1) sid; urgency=low, binary-only=yes
 .
   * Binary-only non-maintainer upload for amd64; no source changes.
   * Rebuild on buildd
 .
  -- amd64 Build Daemon (x86-grnet-01) <buildd_amd64-x86-grnet-01 at buildd.debian.org>  Tue, 27 Oct 2020 16:00:36 +0000

 
> Are there additional data that would be nice to extract and interpret in a 
> structured way?

see above and very much so! 


-- 
cheers,
	Holger

-------------------------------------------------------------------------------
               holger@(debian|reproducible-builds|layer-acht).org
       PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C

Moral, truth, long term- and holistic thinking seem to mean nothing to us. The
emperors are naked. Every single one. It turns out our whole society is just
one big nudist party. (Greta Thunberg about the world reacting to the corona
crisis but not reacting appropriatly to the climate crisis.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20201027/50437a82/attachment.sig>


More information about the Reproducible-builds mailing list