<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/parse2/poc/netstatus, branch arti-v2.4.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.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-05-27T12:43:10Z</updated>
<entry>
<title>tor-netdoc: introduce VoteStatusConsensus and VoteStatusVote</title>
<updated>2026-05-27T12:43:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-12T20:00:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=785e7cd9676de48a9102bf314aa11f29b9972717'/>
<id>urn:sha1:785e7cd9676de48a9102bf314aa11f29b9972717</id>
<content type='text'>
Replacing poc's.  The new define_fixed_string macro is really helping
here.
</content>
</entry>
<entry>
<title>tor-netdoc: NetworkStatusVersionItem, replacing poc's tuple</title>
<updated>2026-05-27T12:43:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-12T20:20:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bfa47db273bede961d4ac14426fb3e4c0c5f48a2'/>
<id>urn:sha1:bfa47db273bede961d4ac14426fb3e4c0c5f48a2</id>
<content type='text'>
Defining a struct gives us a place to hang the documentation, and
avoids an accidentally-exhaustive tuple.
</content>
</entry>
<entry>
<title>tor-netdoc: VarietyKeyword, replacing poc's flavour type</title>
<updated>2026-05-27T12:43:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-12T10:09:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1f8919e69927bd5227755892c56ce623bec7f671'/>
<id>urn:sha1:1f8919e69927bd5227755892c56ce623bec7f671</id>
<content type='text'>
This is more code than the poc version but much of the extra is
documentation, and it seems much less magical this way.

We still need a handwritten parser for plain consensuses, sadly.
</content>
</entry>
<entry>
<title>tor-netdoc: Promote/adjust poc's NetworkStatusSignatures</title>
<updated>2026-05-27T12:43:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-12T11:26:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c4ed766e476cb029e48ac878a42cae04cb23a2e4'/>
<id>urn:sha1:c4ed766e476cb029e48ac878a42cae04cb23a2e4</id>
<content type='text'>
The order of arguments of poc's ns_type macro is different to that of
the real code.  This is very confusing!

However, the type is correct, once we've added the singleton signature
for votes.
</content>
</entry>
<entry>
<title>tor-netdoc: Replace poc's NddDirectoryFooter with new Footer</title>
<updated>2026-05-27T12:43:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-05-11T15:14:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9b87534fd9e1cbc1ff88e255217ef96fe36168c2'/>
<id>urn:sha1:9b87534fd9e1cbc1ff88e255217ef96fe36168c2</id>
<content type='text'>
This is the whole of the footer section, with docs, appropriate
derives, and so on.
</content>
</entry>
<entry>
<title>tor-netdoc: consensus authority section: ConsensusAuthoritySection</title>
<updated>2026-04-27T15:49:05Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-15T14:26:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=221c0bf0c7f041fc84c60c8a844fac34da7d5fe5'/>
<id>urn:sha1:221c0bf0c7f041fc84c60c8a844fac34da7d5fe5</id>
<content type='text'>
Replace poc code with new ConsensusAuthoritySection.
This is an entirely new parsing approach.

Key differences:

 * We parse the arguments to dir-source, which poc didn't.

 * We don't clone the input and fully parse the first item; instead,
   we dismantle the dir-source line ad-hoc to determine the item type.

 * Rather than a Vec of Enums, we parse into two Vecs
   of the different entry types.

The few lines that aren't rewritten show up as moved in
  git show  --color-moved --color-moved-ws=allow-indentation-change
but I suggest reviewing the new implementation de novo.
</content>
</entry>
<entry>
<title>tor-netdoc: VoteAuthoritySection: promote poc to prod</title>
<updated>2026-04-27T15:49:05Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-27T15:47:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1df2d81bc074542bdaf3648a2329939927a30faa'/>
<id>urn:sha1:1df2d81bc074542bdaf3648a2329939927a30faa</id>
<content type='text'>
Almost entirely code motion.  Review with --color-moved.

This is new correct for votes, and uses the non-poc names for things.
We'll improve up a few minor things in a moment.

The cfg situation is getting very tangled.  There are already various
TODOs about this.  I think it is time to bite the bullet; I will do
that separately from this MR.
</content>
</entry>
<entry>
<title>tor-netdoc: VoteAuthoritySection: promote poc to prod (prep, use's)</title>
<updated>2026-04-27T15:48:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-15T15:16:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0dd308815e9f8c85f648556417d8b58ae67b846'/>
<id>urn:sha1:f0dd308815e9f8c85f648556417d8b58ae67b846</id>
<content type='text'>
Prepare for the namespace environment in the mainline doc/netstatus
modules.  (Add a couple of temporary use's.)
</content>
</entry>
<entry>
<title>tor-netdoc: VoteAuthoritySection: promote poc to prod (prep, rename)</title>
<updated>2026-04-27T15:48:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-15T15:11:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5c15e2f124edd8b52ad94bdfe996a4b13ee33290'/>
<id>urn:sha1:5c15e2f124edd8b52ad94bdfe996a4b13ee33290</id>
<content type='text'>
We are going to move this code to the main doc/netstatus modules.

Rename the struct and its associated derive macro, to the naming
approach used outside poc.

We leave a `use` behind in poc.  That can remain until poc is
eventually abolished.
</content>
</entry>
<entry>
<title>tor-netdoc: VoteAuthoritySection: deindent NddAuthoritySection</title>
<updated>2026-04-27T15:48:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-14T17:28:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6aa3a12f92dd15030050f8670c17300a44463b36'/>
<id>urn:sha1:6aa3a12f92dd15030050f8670c17300a44463b36</id>
<content type='text'>
Purely whitespace change: deindent certain lines by 4.
`git show -w` is helpful.
</content>
</entry>
</feed>
