<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-persist/src/fs.rs, branch arti-v0.6.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.6.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v0.6.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2022-07-06T15:47:17Z</updated>
<entry>
<title>tor-persist: Big refactoring on Error type.</title>
<updated>2022-07-06T15:47:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-05T14:28:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=853aed685983a83e97c273f2135d23f09ff2bef0'/>
<id>urn:sha1:853aed685983a83e97c273f2135d23f09ff2bef0</id>
<content type='text'>
Every error now has an action (what we were trying to do), a
resource (what we were trying to do it to), and a source (what
problem we encountered).

Initially I tried to add "action" and "resource" fields to error
variants individually, but that led to a combinatorial explosion.

Part of #323.
</content>
</entry>
<entry>
<title>tor-persist: Move Error to a module.</title>
<updated>2022-07-06T10:38:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-05T14:05:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aeef36a5386faee95aa2279740ea5d05bef22547'/>
<id>urn:sha1:aeef36a5386faee95aa2279740ea5d05bef22547</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fs-mistrust: convert Io error variant to a struct.</title>
<updated>2022-06-22T19:21:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-22T19:21:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=813a648ce248e2f43fc4257562e7da09549a02ae'/>
<id>urn:sha1:813a648ce248e2f43fc4257562e7da09549a02ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Editorial improvements on fs-mistrust errors</title>
<updated>2022-06-22T12:03:15Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-21T19:13:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=326ab1a7aecfeed7b26d820c0b64d14b45ef9bef'/>
<id>urn:sha1:326ab1a7aecfeed7b26d820c0b64d14b45ef9bef</id>
<content type='text'>
These changes make sure that the errors conform to our preferred
style, and include a description of what exactly we were doing when
something went wrong.
</content>
</entry>
<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>
</feed>
