[Rpm-maint] [rpm-software-management/rpm] IDENTITY as header tag extension discussion (#426)
wladmis
notifications at github.com
Mon Apr 9 13:42:10 UTC 2018
The previous discussion was [here](http://lists.rpm.org/pipermail/rpm-maint/2018-April/007718.html).
Main thought:
- compute identity as a digest of filtered iterated pair of tags and its values of immutable header region;
- change the awk script that generates the tag table to add a marker (like the array return marker) to identify which tags to include (or exclude);
The tags that definitely should be filtered while calculation:
- RPMTAG_ARCH;
- RPMTAG_ARCHIVESIZE;
- RPMTAG_AUTOINSTALLED;
- RPMTAG_BUILDHOST;
- RPMTAG_BUILDTIME;
- RPMTAG_COOKIE;
- RPMTAG_DBINSTANCE;
- RPMTAG_DISTRIBUTION;
- RPMTAG_DISTTAG;
- RPMTAG_DISTURL;
- RPMTAG_FILESTATES;
- RPMTAG_HEADERIMMUTABLE;
- RPMTAG_INSTALLCOLOR;
- RPMTAG_INSTALLTID;
- RPMTAG_INSTALLTIME;
- RPMTAG_LONGARCHIVESIZE;
- RPMTAG_LONGSIGSIZE;
- RPMTAG_LONGSIZE;
- RPMTAG_ORIGBASENAMES;
- RPMTAG_ORIGDIRINDEXES;
- RPMTAG_ORIGDIRNAMES;
- RPMTAG_PAYLOADDIGEST;
- RPMTAG_RELEASE;
- RPMTAG_RSAHEADER;
- RPMTAG_SHA1HEADER;
- RPMTAG_SHA256HEADER;
- RPMTAG_SIGLEMD5_1;
- RPMTAG_SIGLEMD5_2;
- RPMTAG_SIGMD5;
- RPMTAG_SIGPGP;
- RPMTAG_SIGSIZE;
- RPMTAG_SIZE;
--
P.S. Since RPMTAG_RELEASE is supposed to be filtered, there is sense to filter some elemenents of package RPMTAG_PROVIDE* and RPMTAG_REQUIRE*
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/426#issuecomment-379756181
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180409/905c7220/attachment.html>
More information about the Rpm-maint
mailing list