<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src/err.rs, branch tor-dirmgr-v0.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-dirmgr-v0.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-06-21T18:14:14Z</updated>
<entry>
<title>Do not include error source() in display() format.</title>
<updated>2022-06-21T18:14:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-21T18:14:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08d9bbf33b9fff8aa33a823422aa4e323137be07'/>
<id>urn:sha1:08d9bbf33b9fff8aa33a823422aa4e323137be07</id>
<content type='text'>
According to doc/Errors.md, and in keeping with current best
practices, we should not include display an error's `source()` as
part of that error's display method.  Instead, we should let the
caller decide to call source() and display that error in turn.

Part of #323.
</content>
</entry>
<entry>
<title>DirMgr:: Remove Error::NoChange as redundant.</title>
<updated>2022-05-25T12:58:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-25T12:58:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0caa5bcba5c3be8aca2fb90331a830d1a22f5e22'/>
<id>urn:sha1:0caa5bcba5c3be8aca2fb90331a830d1a22f5e22</id>
<content type='text'>
Now that the relevant functions now report changed/not-changed
status via a boolean out-parameter (see !527), there's no reason to
have a separate NoChanged error case.

Closes #484.
</content>
</entry>
<entry>
<title>Remove BootstrapAction::Impossible</title>
<updated>2022-05-19T12:00:41Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-19T12:00:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6aebb18e64f148d6f554ad1bd84e19b0128e121a'/>
<id>urn:sha1:6aebb18e64f148d6f554ad1bd84e19b0128e121a</id>
<content type='text'>
It does nothing that Fatal does not.  Suggested by @eta in review.
</content>
</entry>
<entry>
<title>DirMgr: Start refactoring error handling.</title>
<updated>2022-05-17T13:52:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-17T13:46:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6bacf3b303b4f94b0eaf4132c83225c8675e035c'/>
<id>urn:sha1:6bacf3b303b4f94b0eaf4132c83225c8675e035c</id>
<content type='text'>
This commit adds a couple of new error types that we will soon want
to distinguish, and a new way of classifying errors.  These are not
yet all used.
</content>
</entry>
<entry>
<title>On a blocking error, blame the appropriate directory cache</title>
<updated>2022-05-16T16:49:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-16T16:22:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1af40e638053b36029a83712f1e4ab261fe6340'/>
<id>urn:sha1:d1af40e638053b36029a83712f1e4ab261fe6340</id>
<content type='text'>
Fortunately, the only error type that we need to handle blocking
errors with actually has a DirSource in it already.
</content>
</entry>
<entry>
<title>Delete tor_dirmgr::Error::BadNetworkConfig</title>
<updated>2022-05-12T15:49:06Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-05-12T15:49:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d847d49858d480dc24713e8edab418340733b97e'/>
<id>urn:sha1:d847d49858d480dc24713e8edab418340733b97e</id>
<content type='text'>
This was anomalous, in that it contains &amp;'static str, rather than a
proper nested error (eg a config::ConfigError, maybe).

But in fact it tursn out it is now not constructed.  The last
construction site was removed a long time ago in
  Use derive_builder for Authority and FallbackDir.
</content>
</entry>
<entry>
<title>tor-dirmgr/bootstrap.rs: error on older netdirs, add log line</title>
<updated>2022-05-10T12:29:39Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-05-10T10:21:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8347f8cb7e749d9413b68ddc1aa673b7f9e2d14b'/>
<id>urn:sha1:8347f8cb7e749d9413b68ddc1aa673b7f9e2d14b</id>
<content type='text'>
- We don't want to inadvertently replace our netdir with one that's
  actually older, so detect and error on this condition.
- Also, print a debug line when we get a new netdir without enough
  guards.
- (An unrelated TODO was also added.)
</content>
</entry>
<entry>
<title>Update tor-dirmgr to use fs-mistrust.</title>
<updated>2022-05-09T18:40:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-03T17:08:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=20a85061b6c7c5a88b98497aabdf986cd6a462df'/>
<id>urn:sha1:20a85061b6c7c5a88b98497aabdf986cd6a462df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2022-04-20T11:48:43Z</updated>
<author>
<name>Samanta Navarro</name>
<email>ferivoz@riseup.net</email>
</author>
<published>2022-04-20T11:46:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=142e57b03a6ec3a051c0693273eedeb6241cfec2'/>
<id>urn:sha1:142e57b03a6ec3a051c0693273eedeb6241cfec2</id>
<content type='text'>
Typos found with codespell.
</content>
</entry>
<entry>
<title>Treat expired/not-yet-valid directory objects as Errors.</title>
<updated>2022-04-05T19:54:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-05T19:54:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d05022dea4186b39647b077b0850e6c25f39dc41'/>
<id>urn:sha1:d05022dea4186b39647b077b0850e6c25f39dc41</id>
<content type='text'>
Doing this will make us treat caches that send us these objects as
not-working, and close circuits to them instead of trying over and
over.

The case where we add a document from the cache requires special
handling: it isn't actually a error to find an expired document in
our cache (unless the passage of time itself is erroneous, which is
a debatable proposition at best).

Fixes #431.
</content>
</entry>
</feed>
