<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src/lib.rs, branch arti-v0.0.4</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.4</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.0.4'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-01-18T18:06:08Z</updated>
<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>extend lints to include 'clippy::all'</title>
<updated>2021-12-28T20:15:40Z</updated>
<author>
<name>Daniel Eades</name>
<email>danieleades@hotmail.com</email>
</author>
<published>2021-12-28T20:15:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=592642a9e6c1c03e525f8b452f4b97e6fd17ff9b'/>
<id>urn:sha1:592642a9e6c1c03e525f8b452f4b97e6fd17ff9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor directory events to use a FlagPublisher mechanism.</title>
<updated>2021-12-14T19:05:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-09T19:10:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7f4578bec162c95da232a2f424abcd5ad55c9496'/>
<id>urn:sha1:7f4578bec162c95da232a2f424abcd5ad55c9496</id>
<content type='text'>
This approach tries to preserve the current interface, but uses a
counter-based event backend to implement a coalescing stream of
events that can be represented as small integers.  The advantage
here is that publishing events no longer needs to be a blocking
operation, since there is no queue to fill up.
</content>
</entry>
<entry>
<title>Add a few tests to tor-config.</title>
<updated>2021-12-08T00:52:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-08T00:52:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b3b6a92145380ebe685bd2410db32fdee4a97e9b'/>
<id>urn:sha1:b3b6a92145380ebe685bd2410db32fdee4a97e9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make override_net_params take effect sooner.</title>
<updated>2021-12-08T00:26:01Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-08T00:22:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=42ae8c7a2ad776cfdc54c9587a3381a8a3189740'/>
<id>urn:sha1:42ae8c7a2ad776cfdc54c9587a3381a8a3189740</id>
<content type='text'>
This is still not as soon as I'd like: a real change here will require
refactoring DirMgr::notify().
</content>
</entry>
<entry>
<title>Make much of DirMgrConfig reconfigurable.</title>
<updated>2021-12-07T22:36:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-07T22:36:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e8ca0d7742e984381be130c01bf3ca0a4d20dd91'/>
<id>urn:sha1:e8ca0d7742e984381be130c01bf3ca0a4d20dd91</id>
<content type='text'>
We can't change the authorities while in-flight: that would be pretty
miserable to implement.

Similarly we can't change the cache while in-flight.

Everything else should be fair game, though there are a couple of tricky
bits.  I've tried to document those.
</content>
</entry>
<entry>
<title>Sketch API for reconfiguration.</title>
<updated>2021-12-07T20:42:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-06T18:54:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=606d64eac5936a9f0bfec32b8b5a85f3dea77559'/>
<id>urn:sha1:606d64eac5936a9f0bfec32b8b5a85f3dea77559</id>
<content type='text'>
This patch doesn't actually make anything reconfigurable, but it
does create an API that will tell you "you can't change the value of
that!"  If the API looks reasonable, I can start making it possible
to change the values of individual items.
</content>
</entry>
<entry>
<title>Resolve roughly half of the XXXXs.</title>
<updated>2021-12-06T20:11:03Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-06T20:01:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=31b385c5b20205e879a847a9331c30a37dc2e6f5'/>
<id>urn:sha1:31b385c5b20205e879a847a9331c30a37dc2e6f5</id>
<content type='text'>
We want to only use TODO in the codebase for non-blockers, and open
tickets for anything that is a bigger blocker than a TODO.  These
XXXXs seem like definite non-blockers to me.

Part of arti#231.
</content>
</entry>
<entry>
<title>dont warn on bootstrap error when error == manager dropped</title>
<updated>2021-11-30T11:50:27Z</updated>
<author>
<name>dagon</name>
<email>dagon12@tutanota.com</email>
</author>
<published>2021-11-30T11:50:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0122e1533998144015245e01509caac2f54f449f'/>
<id>urn:sha1:0122e1533998144015245e01509caac2f54f449f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'config-updates-and-tests'</title>
<updated>2021-11-29T18:59:41Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-11-29T18:59:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eb861b7edd35fa60d1fb21a907400c42ab8e08fd'/>
<id>urn:sha1:eb861b7edd35fa60d1fb21a907400c42ab8e08fd</id>
<content type='text'>
</content>
</entry>
</feed>
