Skip to content

Avoid notifying about updates on every run#120

Merged
akalipetis merged 1 commit intomainfrom
updates-less-noisy
Sep 26, 2023
Merged

Avoid notifying about updates on every run#120
akalipetis merged 1 commit intomainfrom
updates-less-noisy

Conversation

@pjcdawkins
Copy link
Copy Markdown
Contributor

  • Do not notify about updates on every run: notify only after checking for a new release (every hour by default).
  • Remove hardcoded state path ($HOME/.platformsh/state.json) and set it based on config.
  • Respect YAML config for updates.check and updates.check_interval if set in the embedded or environment config (however, this does not check the user config file).

Also applies config to where the state is stored instead of a hardcoded path
Copy link
Copy Markdown
Contributor

@akalipetis akalipetis left a comment

Choose a reason for hiding this comment

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

LGTM 🐻

@akalipetis akalipetis merged commit 5834a86 into main Sep 26, 2023
@akalipetis akalipetis deleted the updates-less-noisy branch September 26, 2023 14:46
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

Successfully merging this pull request may close these issues.

2 participants