<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-persist, branch arti-v1.2.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-04T12:24:40Z</updated>
<entry>
<title>Bump patchlevel of crates with functional changes.</title>
<updated>2024-03-04T12:24:40Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-29T18:54:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c1c81600935df2420981d881f08fe8e9e2642525'/>
<id>urn:sha1:c1c81600935df2420981d881f08fe8e9e2642525</id>
<content type='text'>
Functional changes were made, but no APIs were added or broken:
```
tor-events (async_broadcast 0.6.0 -&gt; 0.7.0)
tor-netdoc (signature 1 -&gt; 2)
tor-guardmgr
arti-testing (config 0.13.4 -&gt; 0.14.0)
tor-persist (breaking changes gated behind experimental feature)
fslock-guard (fix lockfile_has_path compilation on Windows)
```

Done with:
```
cargo set-version --bump patch -p tor-events
cargo set-version --bump patch -p tor-netdoc
cargo set-version --bump patch -p tor-guardmgr
cargo set-version --bump patch -p arti-testing
cargo set-version --bump patch -p tor-persist
cargo set-version --bump patch -p fslock-guard
```
</content>
</entry>
<entry>
<title>tor-persist: Improve test portability</title>
<updated>2024-03-01T12:56:54Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2024-03-01T10:51:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0f882658e2bf2d4fc218de559871be812f8c6951'/>
<id>urn:sha1:0f882658e2bf2d4fc218de559871be812f8c6951</id>
<content type='text'>
The test fails on Windows systems for two reasons:
- File separator \ is printed in error message instead of expected /
- Temporary files are located within home directory, which is anonymized

Test failure can be provoked on Linux as well by setting TMPDIR to point
to a directory within HOME.
</content>
</entry>
<entry>
<title>tor-persist: state_dir: Use DOT_LOCK in the final location</title>
<updated>2024-02-08T16:33:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-08T12:10:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e6dae0a4a77e4e781868ada6a448eee351bc98e6'/>
<id>urn:sha1:e6dae0a4a77e4e781868ada6a448eee351bc98e6</id>
<content type='text'>
Actually, we want to test handling of the string with whatever the
extension would be, if it changed.
</content>
</entry>
<entry>
<title>tor-persist: state_dir: Introduce DOT_LOCK</title>
<updated>2024-02-08T16:33:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-08T11:42:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bdde561aacae320f07b2ffb242d976320a3956e8'/>
<id>urn:sha1:bdde561aacae320f07b2ffb242d976320a3956e8</id>
<content type='text'>
And replace ".lock" with it.

Now the only place that the "lock" extension this is still present as
a literal is in a test.
</content>
</entry>
<entry>
<title>tor-persist: state_dir: Introduce LOCK_EXTN</title>
<updated>2024-02-08T16:33:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-08T11:40:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=69bfd973313601bae5cb41716521591b226b947e'/>
<id>urn:sha1:69bfd973313601bae5cb41716521591b226b947e</id>
<content type='text'>
And replace "lock" with it.  This is the first half of not open-coding
this; the sites where the literal string is ".lock" are in the next
commit, to help avoid the slip of using the wrong constant.
</content>
</entry>
<entry>
<title>tor-persist: state_dir: Add a note about the instance modification time</title>
<updated>2024-02-08T16:33:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-08T11:23:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aaad5fda2bacb183c82f6142f5a68d3156646e28'/>
<id>urn:sha1:aaad5fda2bacb183c82f6142f5a68d3156646e28</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-persist: state_dir: Test that junk is ignored</title>
<updated>2024-02-08T16:33:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-08T11:20:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d6fbb27c06d8f4b6a3d79b2095025cfa91e2a356'/>
<id>urn:sha1:d6fbb27c06d8f4b6a3d79b2095025cfa91e2a356</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-persist: state_dir: Fix typo</title>
<updated>2024-02-08T16:33:22Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-08T11:24:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6bdcdd2cf1537d9e98bf05ba403feaec71adb241'/>
<id>urn:sha1:6bdcdd2cf1537d9e98bf05ba403feaec71adb241</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-persist: state_dir: Improve an error message</title>
<updated>2024-02-08T16:33:22Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-02-08T11:07:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=851137a5884635beb46115beeafb951f333112f9'/>
<id>urn:sha1:851137a5884635beb46115beeafb951f333112f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-persist: state_dir: Add a clippy allow</title>
<updated>2024-02-08T16:33:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-07T15:47:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b4914f61925a316f040288f0d7d6a479e4d73df9'/>
<id>urn:sha1:b4914f61925a316f040288f0d7d6a479e4d73df9</id>
<content type='text'>
</content>
</entry>
</feed>
