<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-dirserver/src/http, branch arti-v2.0.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.0.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.0.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-01-19T10:01:59Z</updated>
<entry>
<title>tor-dirserver: Rename `doc_id` to `docid`</title>
<updated>2026-01-19T10:01:59Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-15T14:53:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0ba6540a84dc6ee15b79cdb49137fa659f4a4de8'/>
<id>urn:sha1:0ba6540a84dc6ee15b79cdb49137fa659f4a4de8</id>
<content type='text'>
Because we went with `docid` in the database (due to `rowid`), it is
only natural to call the code variables `docid` too.
</content>
</entry>
<entry>
<title>tor-dirserver: Rename sha256 to docid in schema</title>
<updated>2026-01-19T10:01:59Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-15T14:50:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=30d43c6384c57c7f90dbac7f40d496143cec6102'/>
<id>urn:sha1:30d43c6384c57c7f90dbac7f40d496143cec6102</id>
<content type='text'>
This commit renames the sha256 column to docid for the reason that we
agreed upon making the schema visible to all modules, so if we were to
encapsulate docid properly, this change is only natural.
</content>
</entry>
<entry>
<title>database: Introduce DocumentId</title>
<updated>2026-01-19T10:01:59Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-01-15T14:33:19Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2e0bf76a2878e7f9979dcac4bebe5b986596d6aa'/>
<id>urn:sha1:2e0bf76a2878e7f9979dcac4bebe5b986596d6aa</id>
<content type='text'>
This commit introduces a new type in the database module named
`DocumentId` for abstracting the underlying content-addressable hash
algorithm we are using.
</content>
</entry>
<entry>
<title>Fix name of clippy lint to unchecked_time_subtraction (2)</title>
<updated>2025-11-06T11:28:22Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2025-11-06T11:23:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff'/>
<id>urn:sha1:a5fd5c48ea059a80cc1f6c50e248654b5ff3aaff</id>
<content type='text'>
Run maint/add_warning
</content>
</entry>
<entry>
<title>tor-dirserver: clippy fixes</title>
<updated>2025-11-03T12:59:27Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-11-03T12:59:27Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=325a6a476f931ea8aa62b177af5268824141e948'/>
<id>urn:sha1:325a6a476f931ea8aa62b177af5268824141e948</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirserver: Apply database changes to http</title>
<updated>2025-11-03T12:41:07Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-10-22T13:49:11Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=011a8d597aa04ad3277599ae541e962995b2b154'/>
<id>urn:sha1:011a8d597aa04ad3277599ae541e962995b2b154</id>
<content type='text'>
This commit applies the recent changes to the database module into the
http and http::cache module.

Notably, this includes the use of the database::sql! macro as well as
the use of database::read_tx and database::rw_tx for creation
transaction and saving, as well as retrying, although the latter one is
subject to SQLite's own busy handler
</content>
</entry>
<entry>
<title>tor-dirserver: Make database full sync</title>
<updated>2025-10-30T15:53:27Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-10-20T14:33:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b7dd6d4b7e230975347ec99c1db554498e2ace7e'/>
<id>urn:sha1:b7dd6d4b7e230975347ec99c1db554498e2ace7e</id>
<content type='text'>
This commit makes the entire database operations synchronous, thereby
replacing deadpool with r2d2.

The full motivation is outlined in a rustdoc comment at the top of the
`database` module, but it can be summarized to the fact that SQLite is
by design inherently synchronous due to directly interfacing with the
file system.
</content>
</entry>
<entry>
<title>tor-dirmirror: Introduce the `sql!` macro</title>
<updated>2025-10-30T15:53:06Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-10-01T10:53:35Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=64fdb7263c3e7bdb24eddf83c8addcbf4b6f33ec'/>
<id>urn:sha1:64fdb7263c3e7bdb24eddf83c8addcbf4b6f33ec</id>
<content type='text'>
This commit introduces the no-op sql macro used to mark string literals
as SQL statements.  It is purely semantical and serves the purpose to
quickly identify string literals as SQL statements.
</content>
</entry>
<entry>
<title>tor-dirserver: Expose Arc of StoreCache</title>
<updated>2025-10-15T11:20:36Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-10-08T11:39:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1126ea8d7a8a4c6311801258cc6b17d54c831508'/>
<id>urn:sha1:1126ea8d7a8a4c6311801258cc6b17d54c831508</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-dirserver: Do not lock during db query</title>
<updated>2025-10-15T11:20:35Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2025-10-08T10:24:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cf6759fe6cf1956097795e7929e7d1741c6a6717'/>
<id>urn:sha1:cf6759fe6cf1956097795e7929e7d1741c6a6717</id>
<content type='text'>
</content>
</entry>
</feed>
