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

add a command-line command that displays the schema version for ucm #5347

Open
aryairani opened this issue Sep 13, 2024 · 1 comment
Open

Comments

@aryairani
Copy link
Contributor

aryairani commented Sep 13, 2024

Is your feature request related to a problem? Please describe.
helpful for caching codebases

If we're doing tests in CI that require downloading some stuff from share, we want to be able to cache it between CI runs. However, different branches of unison may require different codebase schema versions for their CI runs, so the codebase can't necessarily be shared among all branches.

So my thinking was that we could use the codebase schema version as part of the cache key?

Describe the solution you'd like
maybe a unison --schema-version command

Describe alternatives you've considered
One alternative would be to just include the schema version in the unison --version output, but I'm not sure if anyone is depending on the current format of that output. To be useful for the CI use case above, I'd have to be able to parse out the schema version from the unison --version output.

Additional context
Add any other context or screenshots about the feature request here.

@aryairani
Copy link
Contributor Author

Open to suggestions, but otherwise let's just add the --schema-version command and call it a day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant