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

2018-03-14 Thread Vladimir D. Seleznev
On Wed, Mar 14, 2018 at 09:44:41PM +0300, Ivan Zakharyaschev wrote: > Hello! > > On Wed, 14 Mar 2018, Vladimir D. Seleznev wrote: > > > On Wed, Mar 14, 2018 at 10:20:58AM -0400, Jeff Johnson wrote: > > >> I'd also suggest a more specific name than IDENTITY because there are > >> many

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

2018-03-14 Thread Ivan Zakharyaschev
Hello! On Wed, 14 Mar 2018, Vladimir D. Seleznev wrote: On Wed, Mar 14, 2018 at 10:20:58AM -0400, Jeff Johnson wrote: I'd also suggest a more specific name than IDENTITY because there are many definitions of reproducibility, as well as alternative schemes like building, and there are surely

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

2018-03-14 Thread Vladimir D. Seleznev
On Wed, Mar 14, 2018 at 10:20:58AM -0400, Jeff Johnson wrote: > > Afaict, RPMTAG_IDENTITY is an attempt at a reproducible invariant of a > package header through rebuilding, which is poisoned by a > RPMTAG_BUILDTIME tag (and likely file stat(2) info) being included in > the header SHA1 (or

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

2018-03-14 Thread Vladimir D. Seleznev
On Wed, Mar 14, 2018 at 01:45:31PM +0100, Florian Festi wrote: > On 03/12/2018 10:04 PM, vsele...@altlinux.org wrote: > > From: "Vladimir D. Seleznev" > > > > This tag represents binary package build characteristic: if two binary > > packages have equal RPMTAG_IDENTITY

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

2018-03-14 Thread Jeff Johnson
Afaict, RPMTAG_IDENTITY is an attempt at a reproducible invariant of a package header through rebuilding, which is poisoned by a RPMTAG_BUILDTIME tag (and likely file stat(2) info) being included in the header SHA1 (or SHA256) plaintext. Note also changes in current rpm to pass in a BUILDTIME

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

2018-03-14 Thread Florian Festi
On 03/12/2018 10:04 PM, vsele...@altlinux.org wrote: > From: "Vladimir D. Seleznev" > > 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. > >

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

2018-03-12 Thread vseleznv
From: "Vladimir D. Seleznev" 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