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

fix: avoid submitting when tor binary is missing #1078

Merged
merged 8 commits into from
Jun 12, 2023
Merged

Conversation

bassosimone
Copy link
Contributor

This diff modifies tunnel, torsf, and vanilla such that:

  1. we return a special error when tor is not found on PATH

  2. we use such an error to avoid submitting

By doing that, we save some useless submissions.

Part of ooni/probe#2406 because I wrote this diff while investigating it.

bassosimone and others added 6 commits February 9, 2023 15:32
This diff modifies tunnel, torsf, and vanilla such that:

1. we return a special error when tor is not found on PATH

2. we use such an error to avoid submitting

By doing that, we save some useless submissions.

Part of ooni/probe#2406 because
I wrote this diff while investigating it.
@DecFox DecFox marked this pull request as ready for review April 14, 2023 17:58
@DecFox DecFox requested a review from hellais as a code owner April 14, 2023 17:58
@bassosimone
Copy link
Contributor Author

Thanks @DecFox for finishing this pull request! 🙌 💯 🔝 🙏

@bassosimone
Copy link
Contributor Author

I removed a test that is broken when tor is installed. I am now going to merge this PR, thanks again @DecFox!

@bassosimone bassosimone merged commit e9cc324 into master Jun 12, 2023
@bassosimone bassosimone deleted the investigation branch June 12, 2023 14:07
bassosimone added a commit that referenced this pull request Jun 12, 2023
This diff backports e9cc324.

This diff modifies tunnel, torsf, and vanilla such that:

1. we return a special error when tor is not found on PATH

2. we use such an error to avoid submitting

By doing that, we save some useless submissions.

Part of ooni/probe#2406 because I wrote this
diff while investigating it.

---------

Co-authored-by: DecFox <[email protected]>
cyBerta pushed a commit to cyBerta/probe-cli that referenced this pull request Aug 4, 2023
This diff modifies tunnel, torsf, and vanilla such that:

1. we return a special error when tor is not found on PATH

2. we use such an error to avoid submitting

By doing that, we save some useless submissions.

Part of ooni/probe#2406 because I wrote this
diff while investigating it.

---------

Co-authored-by: DecFox <[email protected]>
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.

2 participants