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

Hotfix for missing config attribute issue. #5760

Merged
merged 2 commits into from
Jan 28, 2021
Merged

Conversation

zenmonkeykstop
Copy link
Contributor

@zenmonkeykstop zenmonkeykstop commented Jan 27, 2021

Status

Ready for review

Description of Changes

Fixes #5757.

Hotfix PR for missing config attribute issue - contains both the backported fix from #5759 and version/changelog updates (to save CI wall time).

Testing

Deployment

Checklist

If you made changes to the server application code:

  • Linting (make lint) and tests (make test) pass in the development container

If you made changes to securedrop-admin:

  • Linting and tests (make -C admin test) pass in the admin development container

If you made changes to the system configuration:

If you added or removed a file deployed with the application:

  • I have updated AppArmor rules to include the change

If you made non-trivial code changes:

  • I have written a test plan and validated it for this PR

Choose one of the following:

  • I have opened a PR in the docs repo for these changes, or will do so later
  • I would appreciate help with the documentation
  • These changes do not require documentation

If you added or updated a code dependency:

Choose one of the following:

  • I have performed a diff review and pasted the contents to the packaging wiki
  • I would like someone else to do the diff review

rmol and others added 2 commits January 27, 2021 14:07
Bring back the try/except blocks needed to support long-running
instance configurations that may lack newer attributes.

(cherry picked from commit accad09)
Copy link
Contributor

@conorsch conorsch left a comment

Choose a reason for hiding this comment

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

Looks good based on visual review.

@conorsch
Copy link
Contributor

Associated docs PR is here: freedomofpress/securedrop-docs#142

@@ -1,3 +1,9 @@
securedrop-app-code (1.7.1+focal) focal; urgency=medium
Copy link
Contributor

Choose a reason for hiding this comment

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

We will need to clean this up in 1.8.0, as we didn't release 1.7.1 for focal

@conorsch
Copy link
Contributor

The test failures in admin-tests here: https://app.circleci.com/pipelines/github/freedomofpress/securedrop/1760/workflows/46441d05-f6f1-45f4-8b90-24a72c05a54a/jobs/49540 appear to be related to the fact that we're bumping the version and creating a tag in a single pass, as part of this release. @zenmonkeykstop Does that sound right to you? If so, I suggest we disregard that particular failure and press on.

Copy link
Contributor

@emkll emkll left a comment

Choose a reason for hiding this comment

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

I think this is good to merge in the 1.7.1 release branch, these changes have been already tagged and released. Only deb-tests-focal is failing (deb-tests-focal and out of date builder)

@conorsch
Copy link
Contributor

Agreed. The Focal-only test failures are consistent with what we saw in #5753 (comment), so proceeding with merge.

@conorsch conorsch merged commit 979a339 into release/1.7.1 Jan 28, 2021
@emkll emkll deleted the hotfix-release-5757 branch January 28, 2021 17:28
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.

4 participants