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

Sync the disk image list with current filesystem state #935

Open
deboer-tim opened this issue Oct 17, 2024 · 1 comment
Open

Sync the disk image list with current filesystem state #935

deboer-tim opened this issue Oct 17, 2024 · 1 comment
Labels
kind/enhancement ✨ Issue for requesting an improvement

Comments

@deboer-tim
Copy link
Contributor

Is your enhancement related to a problem? Please describe

We keep a list of previously-built images today, but it can get out of sync / you can generate the same file again. We should provide some ways to keep the list in sync with what's currently on disk and - if you generate the same image 20 times - not endlessly add to the list.

Describe the solution you'd like

Some ideas:

  • Periodically sync with the file system and show 'validation' when files cannot be found.
  • Allow the user to update 'missing' disk images, e.g. pick new folder.
  • Allow the user to add images that were generated outside of the extension.
  • When you generate the same image again, remove the previous one from the list.

Describe alternatives you've considered

No response

Additional context

No response

@deboer-tim deboer-tim added the kind/enhancement ✨ Issue for requesting an improvement label Oct 17, 2024
@vrothberg
Copy link
Contributor

Periodically sync with the file system and show 'validation' when files cannot be found.
Allow the user to add images that were generated outside of the extension.

👍

When you generate the same image again, remove the previous one from the list.

I'd do this iff the same output folder was used.

Allow the user to update 'missing' disk images, e.g. pick new folder.

That feels complicated or like a symptomatic workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement ✨ Issue for requesting an improvement
Projects
None yet
Development

No branches or pull requests

2 participants