-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dnscheck): implement richer input (#1618)
This diff: 1. modifies `./internal/registry` and its `dnscheck.go` file such that `dnscheck` has its own private target loader; 2. modifies `./internal/targetloading` to allow reusing the code to read static input from CLI and from files; 3. modifies `./internal/model` to pass optional richer input to experiments; 4. modifies `./internal/engine` to pass richer input to experiments; 5. modifies `./internal/experiment/dnscheck` to read and use the richer input it is passed; 6. implements a custom target loader for `./internal/experiment/dnscheck` returning some static entries; 7. modifies `./internal/oonirun` to make sure richer-input experiments honor their options by moving option loading before the loading of targets. Once this diff is merged, `miniooni` and `ooniprobe` will run `dnscheck` with richer input. Obviously, we are still lacking an API to fetch richer input, so for now this is static richer input, suitable as a starting point to land more diffs. Part of ooni/probe#2607.
- Loading branch information
1 parent
3424bd0
commit 41a4282
Showing
20 changed files
with
909 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.