<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-persist/src/lib.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-24T19:55:59Z</updated>
<entry>
<title>arti-client: Unlock the state manager on failure to bootstrap</title>
<updated>2022-02-24T19:55:59Z</updated>
<author>
<name>eta</name>
<email>tor@eta.st</email>
</author>
<published>2022-02-18T16:02:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c6fdd7c0037df821a7cfc475993322958c2f006a'/>
<id>urn:sha1:c6fdd7c0037df821a7cfc475993322958c2f006a</id>
<content type='text'>
`StateMgr` got a new `unlock()` method that does what it says on the
tin. We now call it from `bootstrap()` using the new
`util::StateMgrUnlockGuard`, which works in a manner similar to the
`BoolResetter` from `tor_dirmgr`.

(A decent small little task in future might be to unify these types in
some sort of general arti utility crate?)

closes arti#335
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/mr/340'</title>
<updated>2022-02-23T14:29:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-23T14:29:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=92141c6d72b0b7a72cd08b50cad3b473f5a7ff70'/>
<id>urn:sha1:92141c6d72b0b7a72cd08b50cad3b473f5a7ff70</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make NoLock into BadApiUsage.</title>
<updated>2022-02-22T21:13:37Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-22T21:13:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=784f1531bbf9c93f60d53249197c9e98a6977d26'/>
<id>urn:sha1:784f1531bbf9c93f60d53249197c9e98a6977d26</id>
<content type='text'>
To implement this, we had to refactor the tor_circmgr api for
flushing state changes to disk, so that it checks if it has the lock,
and only then tries to store.
</content>
</entry>
<entry>
<title>Remove clippy::needless_borrow exception in CI.</title>
<updated>2022-02-20T14:09:38Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-20T14:09:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dd55f5ce2d0120733d1eb488dfa114f1c136c733'/>
<id>urn:sha1:dd55f5ce2d0120733d1eb488dfa114f1c136c733</id>
<content type='text'>
This exception is no longer necessary now that the underlying CI bug
is fixed.
</content>
</entry>
<entry>
<title>Change deny(clippy::all) to warn(clippy::all).</title>
<updated>2022-02-14T14:24:06Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-02-14T14:24:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1cecc7e45a9a432f87a8f11abb8cb86b35464a0b'/>
<id>urn:sha1:1cecc7e45a9a432f87a8f11abb8cb86b35464a0b</id>
<content type='text'>
Closes #338.
</content>
</entry>
<entry>
<title>errors: Drop "Error" and "Failed" from various enum variants</title>
<updated>2022-02-04T14:42:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-04T14:31:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f5e874cf916856eb563e307c3f551aa8512068e9'/>
<id>urn:sha1:f5e874cf916856eb563e307c3f551aa8512068e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor_persist::Error: impl HasKind and adjust comments</title>
<updated>2022-02-04T14:42:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-01-13T18:05:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6239821978506ec0f158b360d2c9682f9b2f94d'/>
<id>urn:sha1:a6239821978506ec0f158b360d2c9682f9b2f94d</id>
<content type='text'>
And change the comments to slightly reinterpret these errors, to
relate to the circumstances rather than error generation site.
</content>
</entry>
<entry>
<title>tor-persist: Distinguish load vs. store json errors</title>
<updated>2022-02-04T14:33:09Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-01-13T16:50:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a4765717da64cc287f09e429989c79b97d794ded'/>
<id>urn:sha1:a4765717da64cc287f09e429989c79b97d794ded</id>
<content type='text'>
Serialisation errors ought not to occur, since they would represent an
attempt to store malformed data, or something.  (We always convert to
a string, so the JSON error never contains IO errors or the like.)

Deserialisation errors mean the persistent state is corrupt.
</content>
</entry>
<entry>
<title>Temporarily disable some clippy lints on nightly</title>
<updated>2022-02-02T21:57:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>iwj@torproject.org</email>
</author>
<published>2022-02-02T21:57:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7be3bf63398fc660fc9ad251b5c9ecdf03d3d4de'/>
<id>urn:sha1:7be3bf63398fc660fc9ad251b5c9ecdf03d3d4de</id>
<content type='text'>
</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>
</feed>
