Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(remote): add a command to clear the cache #1639

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

vmaerten
Copy link
Member

@vmaerten vmaerten commented May 9, 2024

I've added a command to clear the cache for remote files.

I've made the choice to disallow using download and clear-cache at the same time because clear-cache should be used as standalone.

We could allow using both flags at the same time, but we need to define the bahavior :

  • Clear cache override download (so we clear the cache but not download)
  • Download override clear cache (so we download but not clear cache)

@pd93 pd93 mentioned this pull request May 10, 2024
15 tasks
@pd93 pd93 added the area: remote Changes related to remote taskfiles. label Jun 9, 2024
cmd/task/task.go Outdated Show resolved Hide resolved
cmd/task/task.go Outdated Show resolved Hide resolved
vmaerten and others added 3 commits June 28, 2024 18:31
@pd93 pd93 merged commit 76030c9 into go-task:main Jun 28, 2024
13 checks passed
pd93 added a commit that referenced this pull request Jun 28, 2024
@vmaerten vmaerten deleted the feat/clear-remote-cache branch July 7, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: remote Changes related to remote taskfiles.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants