<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src/err.rs, 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-22T20:38:13Z</updated>
<entry>
<title>Rename TorConnectionFailed to TorAccessFailed</title>
<updated>2022-02-22T20:38:13Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-22T20:38:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d4a57d5fa1a500f074835ecb0d8b204bc99d012'/>
<id>urn:sha1:7d4a57d5fa1a500f074835ecb0d8b204bc99d012</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename TorShuttingDown to ArtiShuttingDown</title>
<updated>2022-02-22T20:36:09Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-22T20:36:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0e242831b2520f7b2d205daa24ba7740740672af'/>
<id>urn:sha1:0e242831b2520f7b2d205daa24ba7740740672af</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use TorConnectionFailed for failure to download directory.</title>
<updated>2022-02-17T17:37:07Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-17T17:37:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5e4e24537a022c8e84062b05fe4bf9bb8f879f4'/>
<id>urn:sha1:a5e4e24537a022c8e84062b05fe4bf9bb8f879f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirmgr: Use Bug type for sqlite-detected bugs</title>
<updated>2022-02-17T13:32:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-17T13:22:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c9aa3b99379a9e1458610185fb8a5346f76a9e5a'/>
<id>urn:sha1:c9aa3b99379a9e1458610185fb8a5346f76a9e5a</id>
<content type='text'>
So we get a stack trace
</content>
</entry>
<entry>
<title>tor-dirmgr: Make sqlite_error_kind take rusqlite::Error</title>
<updated>2022-02-17T13:31:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-17T13:21:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1a9a209771008dac048e3eda14d039e89045dbe3'/>
<id>urn:sha1:1a9a209771008dac048e3eda14d039e89045dbe3</id>
<content type='text'>
We're about to reuse this and we'll want it to take the higher-level
type.  Also it seems more proper like this.
</content>
</entry>
<entry>
<title>dirmgr: Remember where netdocs came from.</title>
<updated>2022-02-16T21:28:23Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-16T21:28:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2a7087ff93eecb94946a73a72d24659b85217efa'/>
<id>urn:sha1:2a7087ff93eecb94946a73a72d24659b85217efa</id>
<content type='text'>
This isn't complete (see TODO), but it's enough to let us report the
right ErrorKind if something fails to parse.
</content>
</entry>
<entry>
<title>dirmgr: eliminate StringParsingError.</title>
<updated>2022-02-16T21:02:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-16T21:02:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4bb7c973991ec48178bf2371727def1f1d912e95'/>
<id>urn:sha1:4bb7c973991ec48178bf2371727def1f1d912e95</id>
<content type='text'>
It had too many possible Kinds depending on what kind of string had
failed to parse.

I decided to use #[source] here instead of #[from], so that we
would have to explicitly convert these errors where they show up.
</content>
</entry>
<entry>
<title>dirmgr: HasKind for internal and sqlite errors</title>
<updated>2022-02-16T20:48:24Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-16T20:48:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f71473cf73a84afd0606817665e5b27fa290584d'/>
<id>urn:sha1:f71473cf73a84afd0606817665e5b27fa290584d</id>
<content type='text'>
At first I had thought that all sqlite errors would be internal, but that's
not the case.
</content>
</entry>
<entry>
<title>dirmgr: implement HasKind for the easier variants</title>
<updated>2022-02-16T20:22:21Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-16T20:22:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9e03643f658c598dfd1a394069cbff44d78b74b8'/>
<id>urn:sha1:9e03643f658c598dfd1a394069cbff44d78b74b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow creating unbootstrapped `TorClient`s (and `DirMgr`s)</title>
<updated>2022-02-11T16:42:19Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-02-09T16:27:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=882e75cd280ede6dc284f11db9e8f17947435ebe'/>
<id>urn:sha1:882e75cd280ede6dc284f11db9e8f17947435ebe</id>
<content type='text'>
This commit changes how the `TorClient` type works, enabling it to be
constructed synchronously without initiating the bootstrapping process.
Daemon tasks are still started on construction (although some of them
won't do anything if the client isn't bootstrapped).

The old bootstrap() methods are now reimplemented in terms of the new
create_unbootstrapped() and bootstrap_existing() methods.

This required refactoring how the `DirMgr` works to enable the same sort
of thing there.

closes #293
</content>
</entry>
</feed>
