<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src, branch arti-v1.3.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.3.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-10-15T11:14:10Z</updated>
<entry>
<title>Replace _ =&gt; panic!() elsewhere</title>
<updated>2024-10-15T11:14:10Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-10-15T11:14:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0f6eadfd9836b3507ad22a0bf4fae5749b8cf8b8'/>
<id>urn:sha1:0f6eadfd9836b3507ad22a0bf4fae5749b8cf8b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Upgrade to derive_more version 1.0.0</title>
<updated>2024-09-25T14:37:18Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-25T14:37:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6a12c2ba8515226a772d5f4a81930bf42d67535a'/>
<id>urn:sha1:6a12c2ba8515226a772d5f4a81930bf42d67535a</id>
<content type='text'>
The `derive_more` crate broke backward compatibility with this version,
so this change involved quite a few manual fixups.
With luck, they'll keep compatibility for some while in the future.
</content>
</entry>
<entry>
<title>rtcompat: Add an extension trait for building modified Runtimes</title>
<updated>2024-09-24T13:10:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-09-18T20:43:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0121822457f77b9d669c38194919b5bfd908b9a1'/>
<id>urn:sha1:0121822457f77b9d669c38194919b5bfd908b9a1</id>
<content type='text'>
With this extension trait, we no longer need to construct
`CompoundRuntime` directly outside of tor-rtcompat.  This in turn
will make it a little less painful when we have to add more generics
to CompoundRuntime.
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2024-09-03T08:09:02Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-09-03T08:09:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=676f913463b7d84f34dd6101b99d03ef79cf57ad'/>
<id>urn:sha1:676f913463b7d84f34dd6101b99d03ef79cf57ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>extract tor_async_utils::oneshot into ::oneshot-fused-workaround</title>
<updated>2024-08-28T14:27:46Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-08-22T19:20:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=46f7f01092e6ac55e3e958dc3a2228b1d36e26a1'/>
<id>urn:sha1:46f7f01092e6ac55e3e958dc3a2228b1d36e26a1</id>
<content type='text'>
Having this in the `tor-async-utils` crate prevents us from doing both
of the following without introducing a circular dependency:

* using it in `tor-rtmock` (which we currently do, particularly in
  tests).
* using `tor-rtmock` to test things in `tor-async-utils`. We don't do
  this yet, but it is generally sensible to do so. In particular we
  want to move the `stream_peak` module there, which is currently tested
  with `tor-rtmock`.

Moving this into its own crate avoids this circular dependency.
</content>
</entry>
<entry>
<title>Merge branch 'sqlite-race' into 'main'</title>
<updated>2024-07-31T08:59:43Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-31T08:59:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=041ef9b3068d281bbcdd32f65b57215f835dbb42'/>
<id>urn:sha1:041ef9b3068d281bbcdd32f65b57215f835dbb42</id>
<content type='text'>
tor-dirmgr: Return an error if storage is readonly and DB is missing/incompatbile.

Closes #1497

See merge request tpo/core/arti!2283</content>
</entry>
<entry>
<title>tor-dirmgr: Use Path::try_exists() instead of Path::exists().</title>
<updated>2024-07-30T14:20:38Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-30T14:17:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e2b7ac36df973ef97b3740e51acd9cd1da80a357'/>
<id>urn:sha1:e2b7ac36df973ef97b3740e51acd9cd1da80a357</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirmgr: Replace from_conn impl with a call to from_conn_internal helper.</title>
<updated>2024-07-30T10:00:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-29T15:42:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=89331d0862f347427507360c2f7e1a23b1dd8f32'/>
<id>urn:sha1:89331d0862f347427507360c2f7e1a23b1dd8f32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirmgr: Return an error if storage is readonly and DB is missing/incompatbile.</title>
<updated>2024-07-30T10:00:48Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-07-23T15:16:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d7b92bd91d117deb6be85f82bfadd1bbae463a2c'/>
<id>urn:sha1:d7b92bd91d117deb6be85f82bfadd1bbae463a2c</id>
<content type='text'>
This fixes a bug in `SqliteStore`'s constructor: previously, it would
unconditionally try to create the missing database, even if it didn't
have write access. As a result, it was impossible to reliably start
multiple concurrent arti processes configured with the same (empty or
nonexistent) cache_dir, because many of them would fail with errors such
as
```
attempt to write a readonly database: Error code 8: Attempt to write a readonly database
```

Returning a `LocalResourceAlreadyInUse` error kind here enables us to
leverage the retry loop from `TorClientBuilder::create_unbootstrapped`
(which retries on local resource errors if `local_resource_timeout` is
set).

Closes #1497
</content>
</entry>
<entry>
<title>tor-dirmgr: Deprecate Error::CachePermissions, use CacheAccess</title>
<updated>2024-07-10T10:50:44Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-07-09T13:35:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=19fd35e1a3936929a88f077c58019189323044b0'/>
<id>urn:sha1:19fd35e1a3936929a88f077c58019189323044b0</id>
<content type='text'>
</content>
</entry>
</feed>
