Skip to content

Alternative approach to keeping archives cached#450

Merged
mrnugget merged 2 commits into
mainfrom
mrn/keep-archives-2
Feb 1, 2021
Merged

Alternative approach to keeping archives cached#450
mrnugget merged 2 commits into
mainfrom
mrn/keep-archives-2

Conversation

@mrnugget

@mrnugget mrnugget commented Feb 1, 2021

Copy link
Copy Markdown
Contributor

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

@eseliger eseliger left a comment

Copy link
Copy Markdown
Member

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 👍

Comment thread internal/campaigns/repo_fetcher.go Outdated
@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.

2 participants