Re: Dual cache key calculation and build planning modes
- From: Tristan Van Berkom <tristan vanberkom codethink co uk>
- To: Paul Sherwood <paul sherwood codethink co uk>
- Cc: buildstream-list gnome org
- Subject: Re: Dual cache key calculation and build planning modes
- Date: Thu, 06 Jul 2017 19:08:50 +0900
On Thu, 2017-07-06 at 07:33 +0100, Paul Sherwood wrote:
On 2017-07-06 07:15, Paul Sherwood wrote:
Hi Tristan,
On 2017-07-05 10:05, Tristan Van Berkom wrote:
Premise
~~~~~~~
The premise is simply that every element has 2 cache keys
generated at
all times.
I should also mention versioning of keys at this point. People who care
about the 'strong' key usecases almost certainly care about being able
to recreate old artifacts. Whatever key scheme you decide upon, you
should expect that it will need to be changed/iproved over time. So
please ensure that you have easy versioning included in your cache
calculation/checking functions. YBD's scheme is already up to V9
Good call, thanks for pointing this out again, I've been letting it
slip.
I'll try to get this revisioning + test case in by this weekend.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]