<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-persist/src/fs.rs, branch arti-v0.4.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.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-05-26T13:59:48Z</updated>
<entry>
<title>Remove some stray dbg!() calls.</title>
<updated>2022-05-26T13:59:48Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-26T13:59:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c33a9d1f4e81b38bba7907a2fd852fc46e0f6bf6'/>
<id>urn:sha1:c33a9d1f4e81b38bba7907a2fd852fc46e0f6bf6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Test a few more corner cases in tor-persist</title>
<updated>2022-05-25T19:57:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-25T16:42:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=60023ef6565992e7d7e382ab1745eb4d7d6e81d0'/>
<id>urn:sha1:60023ef6565992e7d7e382ab1745eb4d7d6e81d0</id>
<content type='text'>
Also, if we get an IoError from a call to fs-mistrust, report it as
an IoError.
</content>
</entry>
<entry>
<title>fs-mistrust: make Mistrust have a corresponding Builder type.</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-18T17:26:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=95200383b52d1644d4de357c2a8a50d91fdc1021'/>
<id>urn:sha1:95200383b52d1644d4de357c2a8a50d91fdc1021</id>
<content type='text'>
This is an approximately minimal revision to get Builder in place;
subsequent commits will clean up the API.
</content>
</entry>
<entry>
<title>tor-persist: Use fs-mistrust to verify state file permissions.</title>
<updated>2022-05-09T18:40:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-03T15:59:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=984190b3a3d36cdf90ddcf6a9925722fbe5912a1'/>
<id>urn:sha1:984190b3a3d36cdf90ddcf6a9925722fbe5912a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-persist::fs::clean: Tweaks based on review.</title>
<updated>2022-04-13T23:44:52Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-13T23:44:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=93cd0bc383271d71645d00696ae3dba3a78e1420'/>
<id>urn:sha1:93cd0bc383271d71645d00696ae3dba3a78e1420</id>
<content type='text'>
Rename "deletable" to "obsolete".

Simplify function structure.

Report errors from `metadata()` and `modified()`.

Don't claim that we're going to delete something unless we are.

Comment about making CUTOFF configurable.
</content>
</entry>
<entry>
<title>Remove obsolete files from our state directory.</title>
<updated>2022-04-12T21:15:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-04-12T21:15:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=64699a2b9935b7d474d0b97ebba8d0fcb515536b'/>
<id>urn:sha1:64699a2b9935b7d474d0b97ebba8d0fcb515536b</id>
<content type='text'>
This patch removes files created by older versions of arti, if they
are at least 4 weeks old.

Closes #282
</content>
</entry>
<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>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>clippy: Pass simply &amp;output to fs::write</title>
<updated>2022-02-02T18:33:23Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-02-02T17:52:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b695ebd039fd71af75beb1d7685f5b54138dec31'/>
<id>urn:sha1:b695ebd039fd71af75beb1d7685f5b54138dec31</id>
<content type='text'>
clippy::needless_borrow quibbles here, IMO correctly.  Its suggestion
didn't go far enough: output is a String and a &amp;String can be passed
to write as-is for identical effect.
</content>
</entry>
<entry>
<title>Fix Rustdoc errors.</title>
<updated>2021-12-08T15:06:22Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-12-08T15:06:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9767a1d063491434e75689478e268373c3e11310'/>
<id>urn:sha1:9767a1d063491434e75689478e268373c3e11310</id>
<content type='text'>
</content>
</entry>
</feed>
