<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src/state.rs, branch derive-traits</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=derive-traits</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=derive-traits'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-02-23T18:56:52Z</updated>
<entry>
<title>dirmgr::Store.expire_all takes config</title>
<updated>2022-02-23T18:56:52Z</updated>
<author>
<name>tharvik</name>
<email>tharvik@users.noreply.github.com</email>
</author>
<published>2022-02-11T12:02:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b28803d861030c56b8d77deacbfc9fd29746bb27'/>
<id>urn:sha1:b28803d861030c56b8d77deacbfc9fd29746bb27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dirmgr: add Store trait</title>
<updated>2022-02-23T18:50:33Z</updated>
<author>
<name>tharvik</name>
<email>tharvik@users.noreply.github.com</email>
</author>
<published>2022-02-03T15:35:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8658052ce3c4c65fb8cfdc41dab5ead681dc3e9f'/>
<id>urn:sha1:8658052ce3c4c65fb8cfdc41dab5ead681dc3e9f</id>
<content type='text'>
</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>Fix test failure in tor_dirmgr::state::test::get_microdescs_state</title>
<updated>2022-01-27T22:13:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-27T22:13:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98d81716105c3bc90256a7b1533071c92d9594e1'/>
<id>urn:sha1:98d81716105c3bc90256a7b1533071c92d9594e1</id>
<content type='text'>
This failure occurred because our tests use canned data to exercise
the directory state functionality, and the canned consensus has
suddenly become very expired.

There are better fixes possible, but this is a minimal one that
should get CI working on main again.
</content>
</entry>
<entry>
<title>bootstrap reporting: Documentation fixups from review.</title>
<updated>2022-01-19T13:22:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-19T13:22:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1c362f30873f4f937d0452fdd5d804948622770'/>
<id>urn:sha1:d1c362f30873f4f937d0452fdd5d804948622770</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirmgr: Create a bootstrap-status exporting mechanism.</title>
<updated>2022-01-18T18:06:08Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-01-13T18:55:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f34faec7d96fdb87aa84744950ac37264b215965'/>
<id>urn:sha1:f34faec7d96fdb87aa84744950ac37264b215965</id>
<content type='text'>
The interface is similar to the one exposed by `arti-client`: it
internally uses postage::watch to give a series of events showing
when a bootstrap status is changing.

Thanks to the existing state/driver separation in the DirMgr design
we don't need much new logic: each download state needs to expose
(internally) how far along it is in its download, which the
bootstrap code passes to the DirMgr if it has changed.

I believe that in the long run, we'll probably want to expose more
(or different) information here, and we'll want to process it
differently.  With that in mind, I've made the API for
`DirBootstrapStatus` deliberately narrow, so that we can change its
of its internal later on without breaking code that depends on it.

(The information exposed by this commit is not yet summarized in
`arti-client`.)

Part of #96.
</content>
</entry>
<entry>
<title>Fixup broken doc comment from arti!220</title>
<updated>2022-01-10T15:10:41Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-01-10T15:10:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=de1b19c22a60aa7e86c56023b65b14722ac33c05'/>
<id>urn:sha1:de1b19c22a60aa7e86c56023b65b14722ac33c05</id>
<content type='text'>
That's what I get for blindly trusting @nickm :p
</content>
</entry>
<entry>
<title>Merge branch 'ticket_178' into 'main'</title>
<updated>2022-01-10T14:02:24Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-01-10T14:02:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=da848a1b9cb4cf6b829f24a4b7b994ba9e60b6ae'/>
<id>urn:sha1:da848a1b9cb4cf6b829f24a4b7b994ba9e60b6ae</id>
<content type='text'>
Fix ticket 178: Don't use a NetDir until we have microdescriptors for all of our primary guards.

Closes #178

See merge request tpo/core/arti!220</content>
</entry>
</feed>
