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

feat(openvpn): implement richer input #1625

Merged
merged 19 commits into from
Jun 25, 2024

Conversation

ainghazal
Copy link
Contributor

This commit:

  1. modifies ./internal/registry and its openvpn.go file such that openvpn has its own private target loader;

  2. modifies ./internal/experiment/openvpn to use the richer input targets to merge the options for the openvpn experiment.

  3. removes cache from session after fetching openvpn config

Checklist

This commit:

1. modifies `./internal/registry` and its `openvpn.go` file such that
`openvpn` has its own private target loader;

2. modifies `./internal/experiment/openvpn` to use the richer input
   targets to merge the options for the openvpn experiment.

3. removes cache from session after fetching openvpn config
the separation of loadRemote by experiment name won't be needed anymore
after transitioning to richerinput.
@ainghazal ainghazal force-pushed the feat/openvpn-richer-input-2 branch 2 times, most recently from dda649a to 183c7ab Compare June 23, 2024 23:42
internal/experiment/openvpn/openvpn.go Outdated Show resolved Hide resolved
internal/experiment/openvpn/openvpn.go Outdated Show resolved Hide resolved
internal/experiment/openvpn/openvpn.go Outdated Show resolved Hide resolved
internal/experiment/openvpn/richerinput.go Outdated Show resolved Hide resolved
internal/experiment/openvpn/endpoint.go Outdated Show resolved Hide resolved
internal/experiment/openvpn/openvpn.go Show resolved Hide resolved
internal/experiment/openvpn/richerinput.go Outdated Show resolved Hide resolved
internal/experiment/openvpn/richerinput.go Show resolved Hide resolved
internal/experiment/openvpn/richerinput_test.go Outdated Show resolved Hide resolved
internal/experiment/openvpn/richerinput.go Outdated Show resolved Hide resolved
@ainghazal ainghazal force-pushed the feat/openvpn-richer-input-2 branch from 51388d0 to 12752f3 Compare June 24, 2024 18:02
bassosimone added a commit that referenced this pull request Jun 25, 2024
Calling the endpoint base URL (e.g., `https://www.example.com/`)
"endpoint" could cause confusion because usually an API endpoint is
something like `https://www.example.com/api/v1/check-in`. To obviate
this semantic issue, this diff attempts to avoid calling base URLs as
endpoint throughout the tree.

I am going to account this work as part of
ooni/backend#754 because this is one of the
possibly issues on which we can account this work. The original
conversation with @ainghazal, which prodded me to make these changes,
was related to his feedback after implementing
#1625.
Copy link
Contributor

@bassosimone bassosimone left a comment

Choose a reason for hiding this comment

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

🐳

@bassosimone bassosimone merged commit acab902 into ooni:master Jun 25, 2024
16 of 18 checks passed
@bassosimone bassosimone added the 2024-06-richer-input Tracking 2024-06 richer input work label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2024-06-richer-input Tracking 2024-06 richer input work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants