[Rpm-maint] [PATCH 2/2] Add RPMTAG_IDENTITY

Florian Festi ffesti at redhat.com
Wed Mar 14 12:45:31 UTC 2018


On 03/12/2018 10:04 PM, vseleznv at altlinux.org wrote:
> From: "Vladimir D. Seleznev" <vseleznv at altlinux.org>
> 
> This tag represents binary package build characteristic: if two binary
> packages have equal RPMTAG_IDENTITY values, it means that these packages
> have no significant differences.
> 
> One of the applications of RPMTAG_IDENTITY is reproducible build
> verification.
> 
> This tag is reserved for ALT Linux Team and marked as unimplemented.

I really like this idea.

It still needs some thought on how to actually do that properly and what
to put into the tag?
 * URL to the distgit commit
 * buildsystem name + hash
 * different thing for each distro?

But it is fine to figure this out on the go. In the end I would like RPM
upstream to at least be able give some guide lines on how to use it.

We also probably need a way to set the tag via cli param or environment
variable so it can be set automatically by the build systems. This is
how this should be used IMHO.

Florian

-- 

Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham,
Michael O'Neill


More information about the Rpm-maint mailing list