<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-persist/src/err.rs, branch arti-v1.1.13</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.13'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-01-31T13:17:52Z</updated>
<entry>
<title>tor-persist: Add a test for Resource::InstanceState</title>
<updated>2024-01-31T13:17:52Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-31T12:35:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d5c00cf92020cf83f8897d4a3f8268b0d154741'/>
<id>urn:sha1:2d5c00cf92020cf83f8897d4a3f8268b0d154741</id>
<content type='text'>
We should add more tests for these error representations but we want
to rework these errors so let's not do all that now.
</content>
</entry>
<entry>
<title>tor-hsservice: state_dir: Quote some strings in an error</title>
<updated>2024-01-31T12:54:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-31T10:50:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2bad785a5c0d07e2118a1930636cfcd07023e8ae'/>
<id>urn:sha1:2bad785a5c0d07e2118a1930636cfcd07023e8ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-hsservice: state_dir: Fix a wrong error string</title>
<updated>2024-01-31T12:54:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-31T10:49:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a9d95fb41ddf752dbc63823c4344ebe071f5ffe8'/>
<id>urn:sha1:a9d95fb41ddf752dbc63823c4344ebe071f5ffe8</id>
<content type='text'>
We use `/` to separate, not `+`.
</content>
</entry>
<entry>
<title>tor-hsservice: state_dir: Fix typo</title>
<updated>2024-01-31T12:54:09Z</updated>
<author>
<name>gabi-250</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-31T10:46:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d02ef52a3c1cde2703c066fd780bffb7b0e90625'/>
<id>urn:sha1:d02ef52a3c1cde2703c066fd780bffb7b0e90625</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-persist: state_dir: Implement acquire_instance</title>
<updated>2024-01-31T12:54:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-29T11:07:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=453ab77c87b51805021c413c45cdc52e375ebc45'/>
<id>urn:sha1:453ab77c87b51805021c413c45cdc52e375ebc45</id>
<content type='text'>
And also instance_peek_storage, which needs to share some code, so
determined the shape of this implementation.

Make StateDirectory have the (one) field we need.
</content>
</entry>
<entry>
<title>tor-persist: Error: Provide for handling LocalResourceAlreadyInUse</title>
<updated>2024-01-31T12:54:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-29T19:41:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d285ab0c4ec02e78feff742f777744951342b0c7'/>
<id>urn:sha1:d285ab0c4ec02e78feff742f777744951342b0c7</id>
<content type='text'>
state_dir doesn't support a "shared read-only" mode, so it needs an
error.
</content>
</entry>
<entry>
<title>tor-persist: Error: Provide for handling BadSlug</title>
<updated>2024-01-31T12:54:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-25T18:32:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08ede5953ff80cf1e7426e2f5024bbdedf13f2e3'/>
<id>urn:sha1:08ede5953ff80cf1e7426e2f5024bbdedf13f2e3</id>
<content type='text'>
Introduce a Bug variant.

Then, use it for conversions from BadSlug.  See the comment for why I
think this is appropriate.
</content>
</entry>
<entry>
<title>Fix doc comments.</title>
<updated>2024-01-24T16:29:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-24T16:12:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b4fe404fcfea8a5fe978f69b4bf325abde1f876c'/>
<id>urn:sha1:b4fe404fcfea8a5fe978f69b4bf325abde1f876c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-persist: have load_store module provide deletion</title>
<updated>2024-01-24T16:29:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-01-24T12:05:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=da5ce095b7bb46936b49ae1d80a90a73cdce40c1'/>
<id>urn:sha1:da5ce095b7bb46936b49ae1d80a90a73cdce40c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-persist: Provide FsMistrustErrorExt, and use it</title>
<updated>2023-12-13T17:02:45Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-12-07T16:18:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=76bd3c0f4dc5886dbc4a11304a87661d1252b829'/>
<id>urn:sha1:76bd3c0f4dc5886dbc4a11304a87661d1252b829</id>
<content type='text'>
This code needs fs_mistrust::Error and tor_error::ErrorKind.  I think
we probably don't want fs_mistrust to depend on tor_error or vice
versa.

tor_persist is approximately the place where these two threads of
thought come together, and it's currently the lowest place where this
is needed.

Use it in tor-dirmgr too, which is currently the other place that
embodies this knowledge about fs_mistrust::Error.
</content>
</entry>
</feed>
