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

cleanup: remove jafar and the previous QA framework #1244

Merged
merged 4 commits into from
Sep 6, 2023
Merged

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Sep 6, 2023

Checklist

  • I have read the contribution guidelines
  • reference issue for this pull request: engine: throttling-aware jafar replacement probe#1803
  • if you changed anything related to how experiments work and you need to reflect these changes in the ooni/spec repository, please link to the related ooni/spec pull request: N/A
  • if you changed code inside an experiment, make sure you bump its version number: N/A

Description

This is the final act of the quest to replace Jafar. Let's remove Jafar itself and the QA framework using it. We now have a much better QA framework, that runs for each commit, is faster, and allows to better emulate censorship cases.

While working on the removal, I noticed some tutorials depended on a limited set of Jafar functionality, namely the possibility of provoking simple censorship conditions. So, I refactored the previous code for managing iptables on Linux used by Jafar to produce a much slimmer, fully unit tested tool implementing a subset of the original CLI.

By implementing this change, we make sure that we still have simple ways for people to learn while reading tutorials.

What remains to be done at this point is to update existing issues, close done issues, and generally make sure we explain clearly what we achieved by working on this quest, and what new features are now available.

@bassosimone bassosimone marked this pull request as ready for review September 6, 2023 13:03
@bassosimone bassosimone merged commit 2051a2d into master Sep 6, 2023
8 checks passed
@bassosimone bassosimone deleted the issue/1803 branch September 6, 2023 13:15
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
## Checklist

- [x] I have read the [contribution
guidelines](https://github.com/ooni/probe-cli/blob/master/CONTRIBUTING.md)
- [x] reference issue for this pull request:
ooni/probe#1803
- [x] if you changed anything related to how experiments work and you
need to reflect these changes in the ooni/spec repository, please link
to the related ooni/spec pull request: N/A
- [x] if you changed code inside an experiment, make sure you bump its
version number: N/A

## Description

This is the final act of the quest to replace Jafar. Let's remove Jafar
itself and the QA framework using it. We now have a much better QA
framework, that runs for each commit, is faster, and allows to better
emulate censorship cases.

While working on the removal, I noticed some tutorials depended on a
limited set of Jafar functionality, namely the possibility of provoking
simple censorship conditions. So, I refactored the previous code for
managing iptables on Linux used by Jafar to produce a much slimmer,
fully unit tested tool implementing a subset of the original CLI.

By implementing this change, we make sure that we still have simple ways
for people to learn while reading tutorials.

What remains to be done at this point is to update existing issues,
close done issues, and generally make sure we explain clearly what we
achieved by working on this quest, and what new features are now
available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant