<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-persist/src/state_dir.rs, branch tor-circmgr-v0.18.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-circmgr-v0.18.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=tor-circmgr-v0.18.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-04-03T12:11:39Z</updated>
<entry>
<title>Switch to derive-deftly</title>
<updated>2024-04-03T12:11:39Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-04-02T11:58:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b71d0bf6cd413650550b40ce81e02dc47ae2fa5e'/>
<id>urn:sha1:b71d0bf6cd413650550b40ce81e02dc47ae2fa5e</id>
<content type='text'>
This is the combination of a number of separate commits, many of which
were generated by seddery, and then rebased and squashed.

Cargo.toml
  perl -i~ -pe 's{^derive-adhoc}{derive-deftly = "0.10"}' crates/*/Cargo.toml
  (not regenerated during rebase)

update Cargo.lock
  `cargo fetch` without --locked
  (regenerated during rebase)

seddery
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{^use derive_adhoc}{use derive_deftly}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bdefine_derive_adhoc\b}{define_derive_deftly}g'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bAdhoc\b}{Deftly}g if m{derive}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[derive_adhoc\b}{#[derive_deftly}g'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{use derive_adhoc}{use derive_deftly}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc\b}{derive_deftly_adhoc} if m{use.*deftly}'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc!}{derive_deftly_adhoc!}'
  (not regenerated during rebase)

Manually add `#[derive_deftly_adhoc]` where needed.

seddery
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\#\[adhoc\b}{#[deftly}g'
  git-ls-files | grep '\.rs$' | xargs perl -i~ -pe 's{\bderive_adhoc_template}{derive_deftly_template}'
  (not regenerated during rebase)

Manually fix up an import

Manually update some builder attrs

Manually fix up tor_rtmock::time_core
  This was missed in my seddery, due to me rebasing the branch and not
  redoing the seddery.
</content>
</entry>
<entry>
<title>Run maint/add_warning.</title>
<updated>2024-03-13T16:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-03-13T16:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c'/>
<id>urn:sha1:c0c9bd15d42897825dd0ab3d3b8dd1c17bd6320c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use tor_basic_utils::PathExt::display_lossy</title>
<updated>2024-03-05T15:34:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-03-04T19:23:09Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=418d4c588839eb116666b29ba03cc5bf262d3d71'/>
<id>urn:sha1:418d4c588839eb116666b29ba03cc5bf262d3d71</id>
<content type='text'>
Change Path::display to this new function, in call sites where it's
being used for a diagnostic.
</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: 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>
