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

Enable update check for everyone #177

Merged
merged 6 commits into from
Jan 11, 2023
Merged

Enable update check for everyone #177

merged 6 commits into from
Jan 11, 2023

Conversation

passsy
Copy link
Contributor

@passsy passsy commented Jan 10, 2023

We discovered, that our update check, which was hidden behind a flag works fine in the wild. Time to enable it for everyone

Land after #180

@passsy passsy force-pushed the enforce-update-check branch from a7d5571 to ce14088 Compare January 10, 2023 23:07
@passsy passsy added the update `<cli> sidekick update` issues label Jan 10, 2023
@passsy passsy requested a review from Giuspepe January 11, 2023 01:51
@@ -197,23 +197,29 @@ class SidekickCommandRunner<T> extends CommandRunner<T> {
Repository.requiredSidekickPackage,
['dependencies', 'sidekick_core'],
);
if (sidekickCoreVersion == null) {
// Couldn't parse sidekick_core version. Most likely because it uses
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could fallback to VersionChecker.getResolvedVersion because pubspec.lock contains version information for git or path dependencies as well. But that's probably overkill, so you can ignore this comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea for the future 👍

sidekick_core/lib/sidekick_core.dart Outdated Show resolved Hide resolved
Co-authored-by: Giuseppe Cianci <39117631+Giuspepe@users.noreply.github.com>
@passsy passsy force-pushed the enforce-update-check branch from 3c7d736 to 44e6b25 Compare January 11, 2023 12:28
@Giuspepe Giuspepe merged commit 0c46cb9 into main Jan 11, 2023
@Giuspepe Giuspepe deleted the enforce-update-check branch January 11, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update `<cli> sidekick update` issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants