<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/fs-mistrust/src/err.rs, branch arti-v1.1.5</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.5</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.5'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-01-27T16:02:42Z</updated>
<entry>
<title>add opaque ErrorHint API, impl ErrorHint from BadPermissions</title>
<updated>2023-01-27T16:02:42Z</updated>
<author>
<name>Shady Katy</name>
<email>katy@shady.zone</email>
</author>
<published>2022-10-04T13:00:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cc4c07678ac013a2f321088f7d6202f29e38837b'/>
<id>urn:sha1:cc4c07678ac013a2f321088f7d6202f29e38837b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow clippy::unchecked_duration_subtraction in tests</title>
<updated>2023-01-27T13:28:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-27T13:01:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a6dd92843edf2bd4c58de62a0d562921e4191ada'/>
<id>urn:sha1:a6dd92843edf2bd4c58de62a0d562921e4191ada</id>
<content type='text'>
This panics on error, and we're fine with a panic on misbehavior in
tests.
</content>
</entry>
<entry>
<title>test lint blocks: Add many many automatically</title>
<updated>2022-12-12T18:00:30Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-12-12T17:58:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=125a455bdcca841931f33f83f206e57637ae85c4'/>
<id>urn:sha1:125a455bdcca841931f33f83f206e57637ae85c4</id>
<content type='text'>
This is precisely the result of running the rune in
maint/adhoc-add-lint-blocks.
</content>
</entry>
<entry>
<title>Use anonymize_home() when displaying various messages.</title>
<updated>2022-08-31T13:38:35Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-08-26T16:38:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a9f19b00453ffd19fddb724f2b75f32ea1f37edb'/>
<id>urn:sha1:a9f19b00453ffd19fddb724f2b75f32ea1f37edb</id>
<content type='text'>
Closes #555
</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>Do not include error source() in display() format.</title>
<updated>2022-06-21T18:14:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-06-21T18:14:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=08d9bbf33b9fff8aa33a823422aa4e323137be07'/>
<id>urn:sha1:08d9bbf33b9fff8aa33a823422aa4e323137be07</id>
<content type='text'>
According to doc/Errors.md, and in keeping with current best
practices, we should not include display an error's `source()` as
part of that error's display method.  Instead, we should let the
caller decide to call source() and display that error in turn.

Part of #323.
</content>
</entry>
<entry>
<title>fs-mistrust: Improve BadPermission string</title>
<updated>2022-05-31T18:23:01Z</updated>
<author>
<name>Alex Xu (Hello71)</name>
<email>alex_y_xu@yahoo.ca</email>
</author>
<published>2022-05-30T18:18:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc6b02045ee4e5515f0f057998ef257638bffaf4'/>
<id>urn:sha1:bc6b02045ee4e5515f0f057998ef257638bffaf4</id>
<content type='text'>
To me, "Incorrect permissions on file or directory /path: g=w o=w"
implies that the current permissions on /path are 022.

Change the message to "Incorrect permissions: /path is
u=rwx,g=rwx,o=rwx; need g-w,o-w", which is closer to chmod syntax and is
more useful in non-interactive environments such as CI and support.
</content>
</entry>
<entry>
<title>fs-mistrust: BadPermission(_, _) -&gt; BadPermission(..)</title>
<updated>2022-05-31T18:15:03Z</updated>
<author>
<name>Alex Xu (Hello71)</name>
<email>alex_y_xu@yahoo.ca</email>
</author>
<published>2022-05-31T18:15:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=201107906ccbb00e96b27ac19108f46b85d278f7'/>
<id>urn:sha1:201107906ccbb00e96b27ac19108f46b85d278f7</id>
<content type='text'>
Next commit adds another parameter to Error::BadPermission.
</content>
</entry>
<entry>
<title>fs-mistrust: Add Group and User types.</title>
<updated>2022-05-24T14:54:02Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-05-18T18:36:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=330582a142e30a80fe5f62af043955ca7373b7e7'/>
<id>urn:sha1:330582a142e30a80fe5f62af043955ca7373b7e7</id>
<content type='text'>
This will help make the actual configuration more serializable,
I hope.
</content>
</entry>
</feed>
