<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-netdoc/src/util.rs, branch arti-v2.5.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-07-30T13:21:17Z</updated>
<entry>
<title>tor-netdoc: testing: Expose regsub</title>
<updated>2026-07-30T13:21:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-30T10:35:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=45efdb01ec87cf697b43dc4a3f0ca5a77fb2370f'/>
<id>urn:sha1:45efdb01ec87cf697b43dc4a3f0ca5a77fb2370f</id>
<content type='text'>
Involves code motion.  Review with --color-moved.
</content>
</entry>
<entry>
<title>tor-netdoc: testing: Expose assert_eq_or_diff</title>
<updated>2026-07-30T13:21:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-07-23T15:01:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=96640c46e62746e8ddf713d64be2f762a843a298'/>
<id>urn:sha1:96640c46e62746e8ddf713d64be2f762a843a298</id>
<content type='text'>
Involves lots of code motion.  Review with --color-moved.
</content>
</entry>
<entry>
<title>tor-netdoc: rangemap_mutate_range: New function</title>
<updated>2026-07-02T14:39:13Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-29T13:45:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fd982de89e252008a43b844a1facb886464b5e1b'/>
<id>urn:sha1:fd982de89e252008a43b844a1facb886464b5e1b</id>
<content type='text'>
This will be used for exit port summary calculations.
</content>
</entry>
<entry>
<title>tor-netdoc tests: Make regsub take a Replacer</title>
<updated>2026-06-22T14:27:48Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-16T11:30:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7cbfb2741f1e8aae50104ef1b964fa4324a6a4d8'/>
<id>urn:sha1:7cbfb2741f1e8aae50104ef1b964fa4324a6a4d8</id>
<content type='text'>
This will let us do more exciting munging more clearly.
</content>
</entry>
<entry>
<title>tor-netdoc: tests: Add regsub utility function</title>
<updated>2026-06-17T09:33:17Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-11T17:25:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e084b2a55e330fb6fd629a9d90843ece56481948'/>
<id>urn:sha1:e084b2a55e330fb6fd629a9d90843ece56481948</id>
<content type='text'>
We're going to need this for fudges in round trip tests of consensuses
etc.
</content>
</entry>
<entry>
<title>tor-netdoc: Replace ad-hoc pseudo-diff with unidiff from imra</title>
<updated>2026-06-11T11:38:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-06-11T11:05:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=fa1feb06cff0492dda770bd9df4334fce57e6909'/>
<id>urn:sha1:fa1feb06cff0492dda770bd9df4334fce57e6909</id>
<content type='text'>
And wrap it up nicely in an assert_eq_or_diff macro.

I've tested the output by sabotaging one of the test2 tests.
</content>
</entry>
<entry>
<title>tor-netdoc: Turn DirectorySignatureHashAlgo back into a normal struct</title>
<updated>2026-04-29T17:48:03Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-29T16:45:06Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f0ea2b71e52d57d6a8e25479ec384cb30311c44'/>
<id>urn:sha1:9f0ea2b71e52d57d6a8e25479ec384cb30311c44</id>
<content type='text'>
Abolish the terrible macro.

Review with --color-moved-ws=allow-indentation-change --color-moved.
</content>
</entry>
<entry>
<title>tor-netdoc: derive Display for DirectorySignatureHashAlgo</title>
<updated>2026-04-29T16:32:28Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-29T14:02:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=93c18a201ffe85350bc856dd33b28ef3833ed030'/>
<id>urn:sha1:93c18a201ffe85350bc856dd33b28ef3833ed030</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-netdoc: Promote DirectorySignatureHashAlgo from poc as nasty macro</title>
<updated>2026-04-29T10:38:37Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-04-29T10:28:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3d1f272aab1c4815bef932c09efa5e12ed318a9c'/>
<id>urn:sha1:3d1f272aab1c4815bef932c09efa5e12ed318a9c</id>
<content type='text'>
We want DirectorySignatureHashAlgo for prod's directory Signature
type.

However, for complex cfg gate and macro scoping reasons, we can't just
move the definition out of poc.  Hence this rather unpleasant
intermediate state.  This will go away, and become normal again, when
we can abolish poc's signatures and have poc use a prod signature
type.

Review with
  git show --color=always --color-moved-ws=allow-indentation-change --color-moved
</content>
</entry>
<entry>
<title>tor-netdoc: Provide AsMutSelf derive macro</title>
<updated>2026-03-19T10:37:47Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2026-03-05T16:44:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d864e956248a32f38a903384f6ca84e7b07878fa'/>
<id>urn:sha1:d864e956248a32f38a903384f6ca84e7b07878fa</id>
<content type='text'>
We're going to want this for sets of netdoc signature hashes.
</content>
</entry>
</feed>
