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

UUID cache #386

Open
RagnarGrootKoerkamp opened this issue Aug 17, 2024 · 3 comments
Open

UUID cache #386

RagnarGrootKoerkamp opened this issue Aug 17, 2024 · 3 comments

Comments

@RagnarGrootKoerkamp
Copy link
Owner

We could consider keeping a persistent cache that maps between UUIDs and shortnames.
Then when a person copies a problem tree, and updates things, we can detect that a new shortname is used for an existing UUID, and ask whether:

  • This is indeed a fork of the problem, so keep the UUID
  • This is a new problem, and update the UUID.
@mzuenni
Copy link
Collaborator

mzuenni commented Aug 17, 2024

why not simply let the rename command also rename the cache?

@RagnarGrootKoerkamp
Copy link
Owner Author

The goal here is that if you copy an old problem as a starting point to develop a new one, we have a check that ensures you don't accidentally reuse the UUID.

@mzuenni
Copy link
Collaborator

mzuenni commented Aug 17, 2024

ah never mind, misunderstood the issue ^^'

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