<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/doc/netstatus, branch arti-v0.1.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.1.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.1.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-02-14T18:08:28Z</updated>
<entry>
<title>Refactor tor_netdoc::Error</title>
<updated>2022-02-14T18:08:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T18:08:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b6d23c36bef1322e4fc6f89769222daa91c4d8f3'/>
<id>urn:sha1:b6d23c36bef1322e4fc6f89769222daa91c4d8f3</id>
<content type='text'>
This error type doesn't impement HasKind, since the kind will depend
on context.

However, the existing implementation was pretty messy and inconsistent:
Some errors had positions, some didn't.
Some took messages as str, some as String.
Some had internal errors that were somewhat orthogonal to their actual
types.

This commit refactors tor_netdoc::Error to use a ParseErrorKind, and
adds a set of convenience functions to add positions and
messages to the errors that need them.
</content>
</entry>
<entry>
<title>netdoc: Make doc-build errors a separate type</title>
<updated>2022-02-14T15:46:04Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T15:46:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b27c51d3a2ad4a7b8ec00c2a06be55af9459507a'/>
<id>urn:sha1:b27c51d3a2ad4a7b8ec00c2a06be55af9459507a</id>
<content type='text'>
Every other case of tor_netdoc::Error means a parse failure.  This one,
though, means a failure to construct  a document.
</content>
</entry>
<entry>
<title>Remove dir_port from RouterStatusBuilder</title>
<updated>2021-12-02T05:51:49Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-12-02T05:51:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f5362028b4a988cfd73abe4174bdedd14dbd29ca'/>
<id>urn:sha1:f5362028b4a988cfd73abe4174bdedd14dbd29ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove address from VoterInfoBuilder</title>
<updated>2021-11-29T04:44:27Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-11-29T04:44:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=50bf2e7c86ef6d09fb0b83132a28a0f307c4065c'/>
<id>urn:sha1:50bf2e7c86ef6d09fb0b83132a28a0f307c4065c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove unused 'address' field from DirSource struct</title>
<updated>2021-11-29T03:54:15Z</updated>
<author>
<name>Neel Chauhan</name>
<email>neel@neelc.org</email>
</author>
<published>2021-11-29T03:54:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1d4b448ec2485a09840d53157db5a22da226f190'/>
<id>urn:sha1:1d4b448ec2485a09840d53157db5a22da226f190</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'ticket125' into 'main'</title>
<updated>2021-11-16T18:31:00Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2021-11-16T18:31:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a85e83c8072a41407a33881157204ffe6bc2f840'/>
<id>urn:sha1:a85e83c8072a41407a33881157204ffe6bc2f840</id>
<content type='text'>
Put most non-universally-needed functionality behind features

Closes #125

See merge request tpo/core/arti!129</content>
</entry>
<entry>
<title>Remove the unused `published` field from GenericRouterStatus.</title>
<updated>2021-11-12T18:54:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-12T18:54:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=69bb6313fd16a232d06af9596c6b3bb72115a0f1'/>
<id>urn:sha1:69bb6313fd16a232d06af9596c6b3bb72115a0f1</id>
<content type='text'>
This field isn't used in modern Tor, and has never been used in
Arti.  If tor!489 is merged, then it will no longer contain a useful
value in future consensuses.  We shouldn't store it, or else
somebody else will get the smart idea of using it for something.

This commit breaks API compatibility for tor-netdoc with the
`build_docs` feature enabled.  I haven't entered that into the
semver_status.md file, since we already have a pending tor-netdoc
API breaker in !129.
</content>
</entry>
<entry>
<title>tor-netdoc: put NS consensus documents behind a feature.</title>
<updated>2021-11-12T17:15:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-12T16:49:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=773c0dc3326d942a3d15105f572627b00b3b8e38'/>
<id>urn:sha1:773c0dc3326d942a3d15105f572627b00b3b8e38</id>
<content type='text'>
Clients never need these.

Part of #125.
</content>
</entry>
<entry>
<title>tor-netdoc: Split the two kinds of routerstatus into their own modules</title>
<updated>2021-11-12T17:15:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-12T16:38:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=84fbff54a5b071de65ac3cc55f61a49f07266441'/>
<id>urn:sha1:84fbff54a5b071de65ac3cc55f61a49f07266441</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix most warnings from nightly.</title>
<updated>2021-10-19T20:21:12Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-10-19T20:21:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=445ec6d22053d3f76534844b6c02aefa1fbaedd7'/>
<id>urn:sha1:445ec6d22053d3f76534844b6c02aefa1fbaedd7</id>
<content type='text'>
(One represents code that I forgot to write.)
</content>
</entry>
</feed>
