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

[stackexchange] Make author anonymization optional for stackexchange #961

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

jjmerchante
Copy link
Contributor

This code makes it optional to pseudo-anonymize the owner of question and answers. It creates a hash of the name and user_id and remove author_link and profile_image.

For enabling the anonymization, include the following parameter in the stackexchange section:

[stackexchange]
...
anonymize = true

@coveralls
Copy link

coveralls commented Mar 8, 2021

Pull Request Test Coverage Report for Build 635280104

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.02%) to 82.224%

Files with Coverage Reduction New Missed Lines %
/home/runner/work/grimoirelab-elk/grimoirelab-elk/grimoire_elk/enriched/github.py 2 75.0%
Totals Coverage Status
Change from base Build 635269469: 0.02%
Covered Lines: 8608
Relevant Lines: 10469

💛 - Coveralls

Copy link
Member

@sduenas sduenas left a comment

Choose a reason for hiding this comment

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

LGTM

This code makes it optional to pseudo-anonymize the owner of
question and answers. It creates a hash of the name and user_id and
remove author_link and profile_image.

For enabling the anonymization, include the following parameter in
the stackexchange section:
```
[stackexchange]
...
anonymize = true
```

Signed-off-by: JJMerchante <jj.merchante@gmail.com>
@sduenas sduenas closed this in 28fe1f4 Mar 9, 2021
@sduenas sduenas merged commit 28fe1f4 into chaoss:master Mar 9, 2021
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