-
Notifications
You must be signed in to change notification settings - Fork 696
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 check_for_updates #3429
Fix check_for_updates #3429
Conversation
The issue here was a trailing newline. :-|
Generating the requested diff via:
|
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.
Thanks for the quick fix @redshiftzero , my local testing confirms this fixes the issue.
- For update needed: checked out 0.6, applied the patch and created a 0.6.1 tag locally.
check_for_updates
returnedINFO: Update needed
- For All updates applied: checked out 0.6, applied the patch and deleted the previously created tag.
check for updates
returnedINFO: All updates applied
I'll let @conorsch confirm the fix prior to merging
Also confirming resolution. Steps I took:
LGTM! |
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.
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.
💯
@redshiftzero no need for me to approve but just wanted to support the effort. 🍿 :-P |
Codecov Report
@@ Coverage Diff @@
## develop #3429 +/- ##
========================================
Coverage 85.87% 85.87%
========================================
Files 34 34
Lines 2167 2167
Branches 241 241
========================================
Hits 1861 1861
Misses 250 250
Partials 56 56 Continue to review full report at Codecov.
|
[0.7.0] Backport fix #3429
Status
Ready for review
Description of Changes
Fixes #3426.
Changes proposed in this pull request:
current_tag
insecuredrop-admin check_for_updates
Test plan
All of the following should be done in Tails.
No updates needed case
admin/securedrop_admin/__init__.py
to 0.6./securedrop-admin check_for_updates
You should see that updates are not needed:
INFO: All updates applied
Updates needed case
./securedrop-admin check_for_updates
You should see that updates are needed:
INFO: Update needed
Deployment
Will go out in workstation update
Checklist
If you made changes to
securedrop-admin
:make -C admin test
) pass in the admin development container