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

adopt XDG spec #161

Open
qrkourier opened this issue Jan 19, 2023 · 4 comments
Open

adopt XDG spec #161

qrkourier opened this issue Jan 19, 2023 · 4 comments
Assignees
Labels
enhancement Enhancement of an existing feature epic Top-level marquee features
Milestone

Comments

@qrkourier
Copy link
Member

This would provide the application with well-known, absolute, OS-appropriate, base directories for configuration and cache, if applicable. This computed base directory would redefine zrokDir, currectly {home}/.zrok.

A Go implementation: https://github.com/adrg/xdg

@michaelquigley michaelquigley added this to the v0.4 milestone Jan 19, 2023
@michaelquigley michaelquigley added the enhancement Enhancement of an existing feature label Jan 19, 2023
@camotts camotts moved this from Backlog to Development in zrok Development Roadmap May 25, 2023
@camotts camotts moved this from Development to Evaluating in zrok Development Roadmap May 30, 2023
@michaelquigley
Copy link
Collaborator

This looks like a simple enough change. Might hold off until after the v0.4.0 release... save it for a point release. Need to consider how we'll want to migrate existing environments from the old location to the new.

@michaelquigley
Copy link
Collaborator

We're going to need to refactor this given the new environment package (replacing the old zrokdir). We're going to want to version the environment again, and the migration this time should move all of the old root contents to the new root.

Will also need to deal with environment backups as part of migration, and also chained migrations across multiple versions.

@michaelquigley michaelquigley self-assigned this Aug 7, 2023
@michaelquigley michaelquigley moved this from Evaluating to Backlog in zrok Development Roadmap Aug 7, 2023
@michaelquigley michaelquigley modified the milestones: v0.4, v0.5 Jan 10, 2024
@michaelquigley michaelquigley added the epic Top-level marquee features label Aug 6, 2024
@qrkourier
Copy link
Member Author

Does the new environment package have a notion like "profile" or "context?" I'm unsure how relevant it might be for most users to switch between zrok environments. I do it a lot as a tester, of course, so I like to wrap the binary with a --profile option.

@michaelquigley
Copy link
Collaborator

This is a card describing the feature to be built. zrok 1.0 will support multiple environments natively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of an existing feature epic Top-level marquee features
Projects
Development

No branches or pull requests

3 participants