<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-keymgr/src/arti_path.rs, branch arti-v1.2.3</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.3</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.3'/>
<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>tor-keymgr: Remove vestigial comment.</title>
<updated>2024-02-19T12:52:33Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-05T19:40:54Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=34823c95c81cd7f7cf0db59836c16be8000e7dc0'/>
<id>urn:sha1:34823c95c81cd7f7cf0db59836c16be8000e7dc0</id>
<content type='text'>
This removes a remnant of a now-gone TODO.
</content>
</entry>
<entry>
<title>tor-keymgr: Rename {to,from}_component to {to,from}_slug.</title>
<updated>2024-02-19T12:52:32Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-05T17:05:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1040df929f643a2fd2a1ccb0400f1dd2f2beac98'/>
<id>urn:sha1:1040df929f643a2fd2a1ccb0400f1dd2f2beac98</id>
<content type='text'>
Originally, these functions converted to and from `ArtiPathComponent`.
In !1931, we replaced `ArtiPathComponent` with `Slug` without renaming
the conversion functions. Since we're converting to and from `Slug` now,
I think it makes sense to rename them too.

Part of #1115
</content>
</entry>
<entry>
<title>tor-persist: Make all Slugs non-empty.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-30T19:08:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e01ba7dc06dc4300dbc91537d3b6579c5d31de63'/>
<id>urn:sha1:e01ba7dc06dc4300dbc91537d3b6579c5d31de63</id>
<content type='text'>
This also removes a TODO regarding adding a `Nickname` type for
representing `HsClientSpecifier` and `HsNickname` (we don't need it if
`Slug`s are non-empty).

Prompted by https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1931#note_2990227
</content>
</entry>
<entry>
<title>tor-keymgr: Allow empty denotators in ArtiPath.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-30T18:10:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=51108968924091437e7c70f761caa36340b91ee0'/>
<id>urn:sha1:51108968924091437e7c70f761caa36340b91ee0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-keymgr: Add a TODO about removing ValidatedString.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-25T20:28:03Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0ed7683566f6ab194913fe330ed772b2318931c'/>
<id>urn:sha1:f0ed7683566f6ab194913fe330ed772b2318931c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-keymgr: Abolish ArtiPathComponent.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-25T17:12:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=de4115126da6156d53482a370b8e12742c0114ec'/>
<id>urn:sha1:de4115126da6156d53482a370b8e12742c0114ec</id>
<content type='text'>
`ArtiPathComponent`s are really just `Slugs`.

Part of #1193, #1092
</content>
</entry>
<entry>
<title>tor-keymgr: Make ArtiPathComponent a Slug internally (fmt).</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-25T20:19:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3c4099aba30ba77d8ecb62cc35bd69f96a3f0a4f'/>
<id>urn:sha1:3c4099aba30ba77d8ecb62cc35bd69f96a3f0a4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-keymgr: Make ArtiPathComponent a Slug internally.</title>
<updated>2024-01-31T10:43:06Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-01-25T16:43:17Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf4f58a04fb3f51248c36f8b19dde9c9a0b28546'/>
<id>urn:sha1:cf4f58a04fb3f51248c36f8b19dde9c9a0b28546</id>
<content type='text'>
This will make it easier to replace `ArtiPathComponent` with `Slug`
later down the line.

Note this changes the syntax rules of `ArtiPathComponent`:
  * previously `ArtiPathComponent`s could be unicode strings,
    (now they are lowercase ASCII alphanumerics, plus `-`, `_`)
  * previously `ArtiPathComponent`s couldn't start with `-` or `_`,
    but now they can

Part of #1193, #1092
</content>
</entry>
<entry>
<title>tor-keymgr: ArtiPath[Component]: Manually reformat derive lists</title>
<updated>2023-12-07T12:12:34Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-12-07T11:43:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=924fa9b9e0962ed8ed9a3e3ffc007a03d0a54aef'/>
<id>urn:sha1:924fa9b9e0962ed8ed9a3e3ffc007a03d0a54aef</id>
<content type='text'>
</content>
</entry>
</feed>
