Re: [gentoo-portage-dev] Normaliser function for distfiles

2022-05-17 Thread Markus Walter
On Tue, 17 May 2022 16:35:11 +0200, Michał Górny wrote: > This would require a new EAPI. We don't really want more Portage- > specific hacks that are going to break for everyone not using Portage or > the very specific Portage version. > > I'm not saying that it's not doable but I'm not

Re: [gentoo-portage-dev] Normaliser function for distfiles

2022-05-17 Thread Michał Górny
On Mon, 2022-05-16 at 19:37 +0200, Markus Walter wrote: > Hello all, > > 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? > > My use case is the following: I would like to improve the

Re: [gentoo-portage-dev] Normaliser function for distfiles

2022-05-17 Thread Rich Freeman
On Tue, May 17, 2022 at 8:32 AM Markus Walter wrote: > > On Tue, 17 May 2022 14:14:57 +0200, > Rich Freeman wrote: > > > > On Mon, May 16, 2022 at 1:37 PM Markus Walter > > wrote: > > > > > > My use case is the following: I would like to improve the gs-elpa program > > > and provide a

Re: [gentoo-portage-dev] Normaliser function for distfiles

2022-05-17 Thread Markus Walter
On Tue, 17 May 2022 14:14:57 +0200, Rich Freeman wrote: > > On Mon, May 16, 2022 at 1:37 PM Markus Walter > wrote: > > > > 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

Re: [gentoo-portage-dev] Normaliser function for distfiles

2022-05-17 Thread Rich Freeman
On Mon, May 16, 2022 at 1:37 PM Markus Walter wrote: > > 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

Re: [gentoo-portage-dev] Normaliser function for distfiles

2022-05-17 Thread Markus Walter
On Tue, 17 May 2022 05:39:27 +0200, Robin H. Johnson wrote: > I don't know what 'gs-elpa' & 'Melpa' are, but maybe talking to upstream > would be good here, and improving that behavior. That's actually not too bad a plan. Thanks for this somewhat obvious suggestion, which I however failed to see.

Re: [gentoo-portage-dev] Normaliser function for distfiles

2022-05-17 Thread Markus Walter
On Tue, 17 May 2022 05:21:02 +0200, Zac Medico wrote: > The only usable hook that we currently have for this is FETCHCOMMAND and > RESUMCOMMAND in make.conf. You can replace them with a script that does the > normal thing and then sets the timestamp. The default values are found in >

Re: [gentoo-portage-dev] Normaliser function for distfiles

2022-05-16 Thread Robin H. Johnson
On Mon, May 16, 2022 at 07:37:40PM +0200, Markus Walter wrote: > Hello all, > > 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? > > My use case is the following: I would like to improve

Re: [gentoo-portage-dev] Normaliser function for distfiles

2022-05-16 Thread Zac Medico
On 5/16/22 10:37, Markus Walter wrote: Hello all, 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? My use case is the following: I would like to improve the gs-elpa program and provide a

[gentoo-portage-dev] Normaliser function for distfiles

2022-05-16 Thread Markus Walter
Hello all, 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? My use case is the following: I would like to improve the gs-elpa program and provide a precomputed overlay for melpa. However the