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

Fix handling of checks for newer updater script on update. #12367

Merged
merged 4 commits into from
Mar 15, 2022

Conversation

Ferroin
Copy link
Member

@Ferroin Ferroin commented Mar 10, 2022

Summary
  • Properly handle GitHub’s brain-dead error responses.
  • Fix parsing of dates on BSD and macOS systems.
  • Make the timestamp conversion more robust.
Test Plan

This can be tested by simply running the updater script from this PR locally. However, due to the nature of API failures, the first case can only be properly tested in a probabilistic manner.

Additional Information

Fixes: #12364

* Properly handle GitHub’s brain-dead error responses.
* Fix parsing of dates on BSD and macOS systems.
* Make the timestamp conversion more robust.
@github-actions github-actions bot added the area/packaging Packaging and operating systems support label Mar 10, 2022
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
@Ferroin Ferroin requested a review from ilyam8 March 11, 2022 12:54
@Ferroin Ferroin marked this pull request as ready for review March 11, 2022 12:54
Copy link
Member

@ilyam8 ilyam8 left a comment

Choose a reason for hiding this comment

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

the code LGTM, but I didn't do any manual tests

@ilyam8 ilyam8 merged commit 410191b into netdata:master Mar 15, 2022
@Ferroin Ferroin deleted the updater-version-check-fix branch March 15, 2022 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/packaging Packaging and operating systems support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: static updater issue
3 participants