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

Versioned catalogs #46

Open
Tracked by #51 ...
cryptoquick opened this issue May 9, 2023 · 0 comments
Open
Tracked by #51 ...

Versioned catalogs #46

cryptoquick opened this issue May 9, 2023 · 0 comments
Assignees

Comments

@cryptoquick
Copy link
Member

Catalogs don't like to get overwritten, because write_file will error if it notices there's a duplicate catalog. The goal is, instead of erroring for a named catalog, the old one must be versioned using its hash. Once the old catalog is moved, the new one can take its place with no error so long as the new file is different from the old file. An error should still occur for hashed catalogs, since those are content-addressable, and so there's no reason to do the same work twice.

@cryptoquick cryptoquick self-assigned this May 9, 2023
This was referenced May 23, 2023
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