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

moss: Check installed .stone hashes (and .cache assets) against active repo .stone hashes on sync operations #320

Open
ermo opened this issue Aug 15, 2024 · 0 comments
Labels
type: enhancement New feature or request

Comments

@ermo
Copy link
Member

ermo commented Aug 15, 2024

When iterating on packages, it would be nice if we could check downloaded .stones and unpacked asset hashes before assuming they are cached, to force redownload / unpack if there's a mismatch.

This would trivially enable one to incrementally update a local repo with the exact same pkgid (name+version+release, but a different .stone hash) yet still sync to it as if it was new each time.

@ermo ermo added the type: enhancement New feature or request label Aug 15, 2024
@ermo ermo changed the title moss: Add the ability to reinstall (and the option to --ignore-cache) moss: Add the ability to check .stone hashes on sync operations Aug 17, 2024
@ermo ermo changed the title moss: Add the ability to check .stone hashes on sync operations moss: Check installed .stone hashes (and .cache assets) against active repo .stone hashes on sync operations Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant