aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-netdoc/testdata-live-download
Commit message (Collapse)AuthorAgeFilesLines
* tor-netdoc: Fix typo in testdata-live-download and RELAY_* constantsIan Jackson2026-07-301-1/+1
| | | | | I still had the previously downloaded full consensus locally, so running testdata-live-download fixed the Rust file.
* tor-netdoc testdata-live: Abolish selected_relays.rsIan Jackson2026-07-271-16/+0
| | | | | This is no longer used. Get rid of the code which generates it, and the generated file.
* tor-netdoc testdata-live-download: Generate generated_consts.rsIan Jackson2026-07-271-1/+65
| | | | | | | | | | | | This is the code for the new approach. It's kind of ad-hoc but also much less deep than the previous macrology. And, run the script to see the output. Currently that file isn't used. For now we leave the shell script code for generating selected_relays.rs in testdata-live-download. The new code for generated_consts.rs is very different, so it's clearer to split the changes up this way.
* tor-netdoc testdata-live: Add a comment about running without downloadIan Jackson2026-07-271-0/+4
|
* tor-netdoc testdata-live: Fail if curl failsIan Jackson2026-07-271-1/+1
|
* tor-netdoc testdata-live: Write out a selected_relays.rs fileIan Jackson2026-07-231-0/+17
| | | | | | | We could use build.rs for this, but since we have a script already, this seems better. The meaning of this file will become clear shortly.
* tor-netdoc testdata-live: Clarify what should be committedIan Jackson2026-07-221-2/+4
|
* tor-netdoc testdata-live: Save selected routers' descriptorsIan Jackson2026-07-221-0/+29
|
* tor-netdoc testdata-live: Split off selected routers' routerstatus entriesIan Jackson2026-07-221-1/+5
| | | | | This will be convenient for saving their descriptors, and may be useful for other purposes too.
* tor-netdoc testdata-live: Document the contents of testdata-live/Ian Jackson2026-07-221-0/+7
|
* tor-netdoc testdata-live: Report URLs we are downloading to stderrIan Jackson2026-07-221-0/+1
|
* tor-netdoc testdata-live: Do not re-download already-fetched inputsIan Jackson2026-07-221-1/+6
| | | | We don't fetch files to the names we commit.
* tor-netdoc testdata-live: Add http:// to URLsIan Jackson2026-07-211-1/+1
| | | | curl infers this, but we should include it.
* tor-netdoc testdata-live: Break out run-curl functionIan Jackson2026-07-211-1/+7
|
* tor-netdoc tests: Test roundtrip of subset of live dataIan Jackson2026-07-151-0/+5
| | | | With facility to test roundtrip of whole consensus.
* tor-netdoc tests: Provide new testdata-live-download scriptIan Jackson2026-07-151-0/+74
I have confimed the consent of the operators of the relays listed in the script. The rationale for using .entire.FOO filenames for the curl outputs will become clear shortly.