<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirmgr/src/storage, 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-02-17T19:36:19Z</updated>
<entry>
<title>tor-dirmgr: Work around an apparent regression in `time`.</title>
<updated>2023-02-17T19:36:19Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-02-17T19:24:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2b515c8d257586f1cd6bc6c74a61ed0de60aab4f'/>
<id>urn:sha1:2b515c8d257586f1cd6bc6c74a61ed0de60aab4f</id>
<content type='text'>
Some code in our tests that worked fine with time 0.3.17 no
longer works with 0.3.19, despite the semver.

See https://github.com/time-rs/time/issues/552 for the upstream bug.
</content>
</entry>
<entry>
<title>Fix a bunch of "needless borrow" warnings on nightly</title>
<updated>2022-11-18T15:12:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-18T15:12:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d51162e55b19036528b4fafc1d4b15c8d9d23a04'/>
<id>urn:sha1:d51162e55b19036528b4fafc1d4b15c8d9d23a04</id>
<content type='text'>
It looks like, despite a few false starts, they've got this warning
right; there weren't any false positives.
</content>
</entry>
<entry>
<title>sqlite cache: Document reasoning about timestamps</title>
<updated>2022-11-08T13:00:51Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-08T13:00:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=93a150229a6d3b0fdd93dbd45262a433608dfd06'/>
<id>urn:sha1:93a150229a6d3b0fdd93dbd45262a433608dfd06</id>
<content type='text'>
As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/831#note_2851764
</content>
</entry>
<entry>
<title>bridge desc: Implement storage functions at the DB layer</title>
<updated>2022-11-04T19:08:32Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-04T19:06:07Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=636bff31937fd5c8e0ce3331872ce1ed2ffc901a'/>
<id>urn:sha1:636bff31937fd5c8e0ce3331872ce1ed2ffc901a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bridge desc: Implement cache reuse logic and if-modified-since</title>
<updated>2022-11-04T19:08:32Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-04T19:00:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5bc1d40a2baf20757941727eb0d955b9516b7761'/>
<id>urn:sha1:5bc1d40a2baf20757941727eb0d955b9516b7761</id>
<content type='text'>
This introduces the new API functions to Store.
But currently they are all no-ops.
So all this machinery doesn't actually do anything.

Also, it changes the API to the mockable downloader, to allow it to
support if-modified-since.  So this isn't used either.  But it is more
convenient to do this all at once in BridgeDescManager, since care
needs to be taken about the intraction between if-modified-since and
the persistent cache.
</content>
</entry>
<entry>
<title>bridge desc: Provide a Store to the bridge desc manager</title>
<updated>2022-11-04T19:02:23Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-04T14:32:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3f3f27193c191bcdecae350d8d64d9e7d0491692'/>
<id>urn:sha1:3f3f27193c191bcdecae350d8d64d9e7d0491692</id>
<content type='text'>
We use the one in the dirmgr.  That means that our constructor now has
to take a dirmgr.  And, the dirmgr must have a circmgr.

This is all rather odd, TBH.

Add .. to the binding of the return values from setup, as
future-proofing.

The tests now need to provide a Store too.  Make the sqlite::new_empty
function pub(crate) so we can use it.

We must retain the _db_tmp_dir, since when it goes away the tmp
directory is deleted and the db goes readonly.
</content>
</entry>
<entry>
<title>dirmgr sqlite store: Improve schema updates</title>
<updated>2022-11-04T19:01:24Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2022-11-03T18:20:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9a285ec4ad634fee7c48ce664bb359bde20de94e'/>
<id>urn:sha1:9a285ec4ad634fee7c48ce664bb359bde20de94e</id>
<content type='text'>
 * Centralise applying the schema updates, in a closure
 * Make the schema update SQL texts be in an array so we can loop
 * Make the version update statement generic, not cloned-and-hacked

This will make it possible to add another schema version without
error-prone conditions etc.
</content>
</entry>
<entry>
<title>fix clippy::needless_borrow</title>
<updated>2022-09-10T12:39:47Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-09-10T12:39:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8e7a904260dfe344eed70a9eef109695544347c1'/>
<id>urn:sha1:8e7a904260dfe344eed70a9eef109695544347c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge branch 'dirmgr_error_cleanup' into 'main'</title>
<updated>2022-07-18T14:40:11Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-18T14:40:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8d66f8ecd0b4676e463763432f2a8b19beec1266'/>
<id>urn:sha1:8d66f8ecd0b4676e463763432f2a8b19beec1266</id>
<content type='text'>
Clean up some errors in tor-dirmgr

Closes #521

See merge request tpo/core/arti!628</content>
</entry>
<entry>
<title>dirmgr: Add a helper to create LockFile errors.</title>
<updated>2022-07-18T14:10:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-07-18T14:10:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3c424c82d7e2873bde728b74ab6650988b79229b'/>
<id>urn:sha1:3c424c82d7e2873bde728b74ab6650988b79229b</id>
<content type='text'>
</content>
</entry>
</feed>
