-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Quick fix for store migration version being wrong #7243
Conversation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
import { getInjectable } from "@ogre-tools/injectable"; | ||
|
||
const storeMigrationVersionInjectable = getInjectable({ | ||
id: "store-migration-version", | ||
instantiate: (di) => di.inject(applicationInformationToken).version, | ||
instantiate: () => "6.4.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this remain as di.inject(applicationInformationToken).version
unless it is not our usual versioning value. Can you easily detect when di.inject(applicationInformationToken).version
is unusual?
import { getInjectable } from "@ogre-tools/injectable"; | ||
|
||
const storeMigrationVersionInjectable = getInjectable({ | ||
id: "store-migration-version", | ||
instantiate: (di) => di.inject(applicationInformationToken).version, | ||
instantiate: () => "6.4.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instantiate: (di) => di.inject(extensionApiVersionInjectable)
Signed-off-by: Sebastian Malton <sebastian@malton.name>
* General fixes for release-tool (#7238) * General fixes for release-tool Signed-off-by: Sebastian Malton <sebastian@malton.name> * Revert change to number of PRs retrieved Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> * Throw on errors in kubectlApplyFolder (#7239) Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com> * Quick fix for store migration version being wrong (#7243) Signed-off-by: Sebastian Malton <sebastian@malton.name> * Revert "Renderer file logging transport (#6795)" (#7245) Renderer file logging still caused UI freezing (at least on apple silicon macs) when cluster frame was open and main frame was reloaded. See #544 This reverts commit ac2d0e4. Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> * Fix extension install (#7247) * Fix extension install - Remove old bundled extension dependencies - Make sure external extensions are installed as optional Signed-off-by: Sebastian Malton <sebastian@malton.name> * Ignore ENOENT errors Signed-off-by: Sebastian Malton <sebastian@malton.name> * Add comment Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> * Release 6.4.0 Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix lint Signed-off-by: Sebastian Malton <sebastian@malton.name> --------- Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Panu Horsmalahti <phorsmalahti@mirantis.com> Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com> Co-authored-by: Panu Horsmalahti <phorsmalahti@mirantis.com> Co-authored-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
fixes https://github.com/lensapp/lens-ide/issues/529
Better version is in #4571, which makes the migration version specific to each store.