Re: Normaliser function for distfiles
"Robin H. Johnson" <[email protected]> Tue, 17 May 2022 03:39:27 +0000
| Newsgroups | gmane.linux.gentoo.portage.devel |
|---|---|
| Message-ID | <[email protected]> |
--9/8f1FoqPf3s3rQ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 16, 2022 at 07:37:40PM +0200, Markus Walter wrote: > Hello all, >=20 > is it possible to do the following: after fetching a distfile portage runs > an external normaliser program specified in an ebuild before checking the > hash? >=20 > My use case is the following: I would like to improve the gs-elpa program > and provide a precomputed overlay for melpa. However the melpa distfiles = are > rebuilt everyday and cause checksum failures. However the only thing > changing are the timestamps. Hence if a normaliser program could simply s= et > all timestamps to some predefined value (say 1.1.1970) then this problem > should vanish. I don't know what 'gs-elpa' & 'Melpa' are, but maybe talking to upstream would be good here, and improving that behavior. If the file contents or non-timestamp metadata change, absolutely the timestamps should change. But otherwise, the timestamp should NOT change. --=20 Robin Hugh Johnson Gentoo Linux: Dev, Infra Lead, Foundation Treasurer E-Mail : [email protected] GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85 GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136 --9/8f1FoqPf3s3rQ2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Robbat2 @ Orbis-Terrarum Networks - The text below is a digital signature. If it doesn't make any sense to you, ignore it. iQKTBAABCgB9FiEEveu2pS8Vb98xaNkRGTlfI8WIJsQFAmKDGO1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJE RUJCNkE1MkYxNTZGREYzMTY4RDkxMTE5Mzk1RjIzQzU4ODI2QzQACgkQGTlfI8WI JsRdHhAAtG4e6Nw2RyGUL6M2xN/DX+2sw3EHQ12bDIHNo89i8+ov812MFMIN7Hon mpHC0JRDFqxS/NuUZ0I2wO6fzEzc0Wrv9mE+gQ7pxCw0f0eOAIxuWWBNRTZCb1cP dmwPq4oFbX25aNc+4GeJ1cIn/edpGmvLL9myc126hllP4B3Jc+qBfRZsAxdkiw6D Q9pm1wMlLFYmC9K6lou/1HJUp4AjKwMINYkR6XYNJJnaZ3UjU0LFctvPSMGHOWUP cUBKeL0EwU//V1p3HgoWtI7nfeFK+jrfnmSbMNgb1UOxlBl5OZL8tTb7rndFQLSq CnTLafNPyRSWEV7ecwS1QahsLcj1l6N8aTJ06ebQWqmibvmjbvdgn9vAucqMO+r+ nWTv0wRe/wA0E/NGfqYlI8kUmhczMZpZJGEo1f1kA/mlcmPRe+KvdVxLbP0HASri jWZaBZ4PrB6ANODFiTJnX/wBllV6BEQNw6sRPrkL1g768iEYbWsI3RJOB4xJ4vNl fhswtR5ZP9gBWGld1f63sQWn5tIBQ1AtCt0qqXK9u8eAaa0q74XjRmwIQH3E5JKR 2UEv3yqyLNQIsm9RJxAhDLh9IyD4ZzMNy6SDanr8tulAaGMKIbd00H1rR4Ho2v7o SOR+BduRkRQAIvRoA1lKYMK104AruRfUA8cR5aBM2+GH4ZgCa/4= =VAWZ -----END PGP SIGNATURE----- --9/8f1FoqPf3s3rQ2--