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

[Bug] Removing buckets doesn't remove corresponding sqlite caches #5963

Open
chawyehsu opened this issue May 13, 2024 · 1 comment
Open

[Bug] Removing buckets doesn't remove corresponding sqlite caches #5963

chawyehsu opened this issue May 13, 2024 · 1 comment

Comments

@chawyehsu
Copy link
Member

Bug Report

scoop bucket rm <bucket> Removing buckets doesn't clear corresponding sqlite caches

Current Behavior

scoop config use_sqlite_cache true
scoop bucket add versions
scoop bucket rm ersions
scoop search nodejs-nightly
# nodejs-nightly manfiest from the Versions bucket remains available

Expected Behavior

# nodejs-nightly manfiest from the Versions bucket should not be available

Additional context/output

Possible Solution

Perform sqlite cache update when removing a bucket.

System details

Irrelevant

Scoop Configuration

{
  ...
  "scoop_branch": "develop",
  "use_sqlite_cache": true
}
@niheaven
Copy link
Member

Another tweak: remove cache when manifest is removed from bucket (or add a flag in database)

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

No branches or pull requests

2 participants