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

Downgrading a project results in an incorrect error message #1348

Open
fmoor opened this issue Jul 8, 2024 · 2 comments
Open

Downgrading a project results in an incorrect error message #1348

fmoor opened this issue Jul 8, 2024 · 2 comments

Comments

@fmoor
Copy link
Member

fmoor commented Jul 8, 2024

  • EdgeDB Version: 4.7
  • EdgeDB CLI Version: 5.1.0+7c5764f
  • OS Version: 22.04.2-Ubuntu

Requesting an upgrade to a lower version fails with a message that doesn't recognize the requested version. I don't know if downgrading is supposed to work or not but the error message should make sense if it is not supported.

Steps to Reproduce:

$ edgedb project upgrade --to-version 4.6
Already up to date.
Requested upgrade version is 4.7, current instance version is 4.7.
@scotttrinh
Copy link
Contributor

I believe you have to use =4.6 to get exact version matching in CLI commands, but I think we should also add the message we have when edgedb.toml specifies a version but a newer version "matches".

@fmoor
Copy link
Member Author

fmoor commented Jul 8, 2024

It seems like part of the confusion here is that the CLI wants =4.6 for a specific 4.x version instead of the latest 4.x version. The output from specifying =4.6 seems to miss understand the pinned version.

$ edgedb project upgrade --to-version =4.6
Already up to date.
Requested upgrade version is 4.6, current instance version is 4.7.

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