-
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 <[email protected]>
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 <[email protected]>
* General fixes for release-tool (#7238) * General fixes for release-tool Signed-off-by: Sebastian Malton <[email protected]> * Revert change to number of PRs retrieved Signed-off-by: Sebastian Malton <[email protected]> --------- Signed-off-by: Sebastian Malton <[email protected]> * Throw on errors in kubectlApplyFolder (#7239) Signed-off-by: Panu Horsmalahti <[email protected]> * Quick fix for store migration version being wrong (#7243) Signed-off-by: Sebastian Malton <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * Ignore ENOENT errors Signed-off-by: Sebastian Malton <[email protected]> * Add comment Signed-off-by: Sebastian Malton <[email protected]> --------- Signed-off-by: Sebastian Malton <[email protected]> * Release 6.4.0 Signed-off-by: Sebastian Malton <[email protected]> * Fix lint Signed-off-by: Sebastian Malton <[email protected]> --------- Signed-off-by: Sebastian Malton <[email protected]> Signed-off-by: Panu Horsmalahti <[email protected]> Signed-off-by: Sami Tiilikainen <[email protected]> Co-authored-by: Panu Horsmalahti <[email protected]> Co-authored-by: Sami Tiilikainen <[email protected]>
fixes https://github.com/lensapp/lens-ide/issues/529
Better version is in #4571, which makes the migration version specific to each store.