Open Bug 1252244 Opened 4 years ago Updated 2 years ago

Reduce boilerplate in caching done by mach artifact and consider uplifting to mozbuild

Categories

(Firefox Build System :: General, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: chmanchester, Unassigned)

References

(Blocks 1 open bug)

Details

As I'm adding yet another cache class to mach artifact, I think a lot of the boilerplate could go away, and at least some of this could be lifted into mozbuild (and unified with @memoize).
(In reply to Chris Manchester (:chmanchester) from comment #0)
> As I'm adding yet another cache class to mach artifact, I think a lot of the
> boilerplate could go away, and at least some of this could be lifted into
> mozbuild (and unified with @memoize).

I'd be happy to see this.  I'd be happy to stop decorating the caches and just manually process the caches during the functions, too -- it makes flags to disable caches, and complex cache retrieval logic simpler, IMO.
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.