Skip to content

Conversation

@mrnugget
Copy link
Contributor

@mrnugget mrnugget commented Feb 1, 2021

This is a second, alterantive approach to #449 for keeping archives cached across different executions.

It models RepoZip as a thunk in a way: RepoFetcher.Checkout() returns a RepoZip that's passed around with the Task. Once all Tasks have called Fetch() and Close() only then the archive is cleaned up.

@mrnugget mrnugget requested review from a team and keegancsmith February 1, 2021 14:49
Copy link
Member

@eseliger eseliger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for taking this on 👍

@mrnugget mrnugget merged commit 5036feb into main Feb 1, 2021
@mrnugget mrnugget deleted the mrn/keep-archives-2 branch February 1, 2021 16:07
scjohns pushed a commit that referenced this pull request Apr 24, 2023
* Alternative approach to keeping archives cached

* Rename internal properties of RepoFetcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants