Re: [gentoo-portage-dev] [RFC] Adding extra vars to md5-cache, for QA purposes

2019-07-28 Thread Zac Medico
On 7/25/19 11:49 PM, Fabian Groffen wrote: > Hi, > > On 25-07-2019 14:20:50 +0200, Michał Górny wrote: >> Hi, >> >> TL;DR: I'd like to make it possible for ebuilds to define additional >> variables that will be stored in md5-cache. This would be useful for CI >> and other tooling that right now

Re: [gentoo-portage-dev] [RFC] Adding extra vars to md5-cache, for QA purposes

2019-07-26 Thread Fabian Groffen
Hi, On 25-07-2019 14:20:50 +0200, Michał Górny wrote: > Hi, > > TL;DR: I'd like to make it possible for ebuilds to define additional > variables that will be stored in md5-cache. This would be useful for CI > and other tooling that right now has to parse ebuilds for other data. Only downside I

Re: [gentoo-portage-dev] [RFC] Adding extra vars to md5-cache, for QA purposes

2019-07-25 Thread Michael Orlitzky
On 7/25/19 4:29 PM, Michał Górny wrote: >> >> * In the md5-cache entry, maybe use a common prefix like EXT_ for the >> extra keys in order to distinguish them from normal keys. > > Yeah, I was thinking of something like '__ext_foo', or '__ext[foo]'. > What are the pros/cons of this? The names

Re: [gentoo-portage-dev] [RFC] Adding extra vars to md5-cache, for QA purposes

2019-07-25 Thread Michał Górny
On Thu, 2019-07-25 at 12:57 -0700, Zac Medico wrote: > On 7/25/19 5:20 AM, Michał Górny wrote: > > Hi, > > > > TL;DR: I'd like to make it possible for ebuilds to define additional > > variables that will be stored in md5-cache. This would be useful for CI > > and other tooling that right now has

Re: [gentoo-portage-dev] [RFC] Adding extra vars to md5-cache, for QA purposes

2019-07-25 Thread Zac Medico
On 7/25/19 5:20 AM, Michał Górny wrote: > Hi, > > TL;DR: I'd like to make it possible for ebuilds to define additional > variables that will be stored in md5-cache. This would be useful for CI > and other tooling that right now has to parse ebuilds for other data. > > > The idea is to add a

[gentoo-portage-dev] [RFC] Adding extra vars to md5-cache, for QA purposes

2019-07-25 Thread Michał Górny
Hi, TL;DR: I'd like to make it possible for ebuilds to define additional variables that will be stored in md5-cache. This would be useful for CI and other tooling that right now has to parse ebuilds for other data. The idea is to add a new incremental ebuild/eclass variable (technical name: