<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/netstatus.rs, branch arti-v2.5.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-22T14:27:48Z</updated>
<entry>
<title>tor-netdoc: Add a TODO for use of include_str</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-22T14:26:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=29c7faf07c34e4d6e893a8f4fe1ecba5a0e8925a'/>
<id>urn:sha1:29c7faf07c34e4d6e893a8f4fe1ecba5a0e8925a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc tests: test vote roundtrip with testdata2</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-11T16:06:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9187c99f7acec9291196e4559be18093f1284324'/>
<id>urn:sha1:9187c99f7acec9291196e4559be18093f1284324</id>
<content type='text'>
Use roundtrip_netstatus, which does nearly all of the work for us.
But for it to round-trip, we must do a bunch of fudging.

This replaces the old parse2 vote test case (which used the poc type).

The test case has some adjustments to cope with missing fields.  Move
the TODOs for those fields to the test case, so that they're on lines
that will be deleted when the fields are implemented.
</content>
</entry>
<entry>
<title>tor-netdoc tests: Adjust `m` placement in routerdesc</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T12:08:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d9246e70ae34bd09a54fa69df6501f4a348e02e2'/>
<id>urn:sha1:d9246e70ae34bd09a54fa69df6501f4a348e02e2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc tests: Adjust shared-rand-* base64 padding</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T09:48:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=62fedb71c911ad018057f51c752ff1d80e6437f4'/>
<id>urn:sha1:62fedb71c911ad018057f51c752ff1d80e6437f4</id>
<content type='text'>
Right now we're working on votes, but the same issue arises in
consensuses; we just haven't noticed yet because the testdata2
consensus doesn't have an SRV.
</content>
</entry>
<entry>
<title>tor-netdoc tests: Make adjust_exp into a trait method (fmt)</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T09:50:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5ff6f4166a2f75dfe34ad8774e88e00c0f810c0c'/>
<id>urn:sha1:5ff6f4166a2f75dfe34ad8774e88e00c0f810c0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc tests: Make adjust_exp into a trait method</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-15T16:15:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=16f4f96a63ef484e915372b6135cd0bf6f8fabea'/>
<id>urn:sha1:16f4f96a63ef484e915372b6135cd0bf6f8fabea</id>
<content type='text'>
In the future (not quite yet in this branch), there will be tests that
want to use roundtrip_netstatus for other test files.

We'll want to be able to reuse the per-document-specific munging.  So
make that into a trait.  And document roundtrip_netstatus.
</content>
</entry>
<entry>
<title>tor-netdoc tests: roundtrip_netstatus: Improve an error message</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T11:40:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c59e3f70106e198c27241b065611fcbd21e0324c'/>
<id>urn:sha1:c59e3f70106e198c27241b065611fcbd21e0324c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc tests: roundtrip_netstatus: Add a useful debug bound</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-15T10:34:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=686166014dbc5eb9750afe2e5dabc67333fcc3dc'/>
<id>urn:sha1:686166014dbc5eb9750afe2e5dabc67333fcc3dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc tests: netstatus round trips: allow adjusting now</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-11T16:33:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=66e1a764bf084108dfd4665f104ba7be4595822e'/>
<id>urn:sha1:66e1a764bf084108dfd4665f104ba7be4595822e</id>
<content type='text'>
The vote test files are for the next consensus interval, so we need to
verify them at a slightly future time.
</content>
</entry>
<entry>
<title>tor-netdoc tests: Test verification of votes, error cases</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T17:20:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c3efaa7115addf3f34e6a9543eeab32a3ca440f4'/>
<id>urn:sha1:c3efaa7115addf3f34e6a9543eeab32a3ca440f4</id>
<content type='text'>
</content>
</entry>
</feed>
