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

fixes #3208 - Moves to boolean flag for anonymous reporting #3217

Merged
merged 1 commit into from
Feb 21, 2020

Conversation

karlcow
Copy link
Member

@karlcow karlcow commented Feb 21, 2020

This PR fixes issue #3208

Proposed PR background

It reenables the boolean flag for our code wrt anonymous reporting, which is a bit more elegant.
This requires to change the environment variable on the server when deploying.

@karlcow
Copy link
Member Author

karlcow commented Feb 21, 2020

ha a couple of things to fix
https://circleci.com/gh/webcompat/webcompat.com/1055

This is logical. :)

@karlcow
Copy link
Member Author

karlcow commented Feb 21, 2020

ok fixed.


if ANONYMOUS_REPORTING_ENABLED in ['True', 'False']:
ANONYMOUS_REPORTING_ENABLED = strtobool(ANONYMOUS_REPORTING_ENABLED)
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a comment explaining that env variable is a string would be helpful here for the future?

@miketaylr miketaylr merged commit b3290f1 into webcompat:master Feb 21, 2020
@karlcow karlcow deleted the 3208/1 branch August 24, 2020 04:43
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.

3 participants