<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aur-build/tools/__pycache__/arch-census.cpython-314.pyc, branch ai/main</title>
<subtitle>Unnamed repository
</subtitle>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/aur-build/'/>
<entry>
<title>chore: stop tracking compiled Python caches from the census tools</title>
<updated>2026-11-20T23:53:42+00:00</updated>
<author>
<name>aur-build</name>
<email>aur-build@localhost</email>
</author>
<published>2026-11-20T23:53:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/aur-build/commit/?id=3936ef9fa3428908880eb98282eea7c83f6e610b'/>
<id>3936ef9fa3428908880eb98282eea7c83f6e610b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>pkgver: move the pure version and dependency tests into the module</title>
<updated>2026-11-20T20:14:27+00:00</updated>
<author>
<name>aur-build</name>
<email>aur-build@localhost</email>
</author>
<published>2026-11-20T20:14:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.jnsn.dev/cgit/aur-build/commit/?id=68ec6971b872d8be561e8c2c2748c6c143bfef7d'/>
<id>68ec6971b872d8be561e8c2c2748c6c143bfef7d</id>
<content type='text'>
Ten tests in tests/versions.rs were unit tests of pkgver wearing an
integration test's clothing: the comparison vectors, the chunk rule, the
epoch rules, the dependency grammar, the constraint checks, the recorded
oracle. None of them touched a database or a fixture. They were written
against the crate's public API because that was the only way to reach
them from outside, and that single fact — that a test had to import a
name to exercise it — is what had been keeping five items public:

    vercmp_string, Dep, DepOp, Dep::satisfied_by, split_full_version

All five are private now. `vercmp_string` is called by `vercmp` and by
nothing else; `Dep` and `DepOp` are the internals of `dep_names`, which
*is* used in production; `satisfied_by` and `Dep::name` are used only by
this module's tests, so they are gated rather than merely private, and
`cargo check --release` without the test-support feature compiles clean,
which is the proof that nothing production needs them was left behind.

The oracle test now resolves testcorpus/ through CARGO_MANIFEST_DIR
rather than the harness helper, so it no longer depends on the working
directory. The live pacman differential came with it and stays gated on
AUR_LIVE_VERCMP, recording its absence the same way.

What remains in tests/versions.rs is two tests that genuinely need the
harness: they build a package, publish it, and move its upstream.

pkgver: 14 pub / 5 test-only -&gt; 8 pub / 0 test-only.
Suite: 281 passed, 0 failed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ten tests in tests/versions.rs were unit tests of pkgver wearing an
integration test's clothing: the comparison vectors, the chunk rule, the
epoch rules, the dependency grammar, the constraint checks, the recorded
oracle. None of them touched a database or a fixture. They were written
against the crate's public API because that was the only way to reach
them from outside, and that single fact — that a test had to import a
name to exercise it — is what had been keeping five items public:

    vercmp_string, Dep, DepOp, Dep::satisfied_by, split_full_version

All five are private now. `vercmp_string` is called by `vercmp` and by
nothing else; `Dep` and `DepOp` are the internals of `dep_names`, which
*is* used in production; `satisfied_by` and `Dep::name` are used only by
this module's tests, so they are gated rather than merely private, and
`cargo check --release` without the test-support feature compiles clean,
which is the proof that nothing production needs them was left behind.

The oracle test now resolves testcorpus/ through CARGO_MANIFEST_DIR
rather than the harness helper, so it no longer depends on the working
directory. The live pacman differential came with it and stays gated on
AUR_LIVE_VERCMP, recording its absence the same way.

What remains in tests/versions.rs is two tests that genuinely need the
harness: they build a package, publish it, and move its upstream.

pkgver: 14 pub / 5 test-only -&gt; 8 pub / 0 test-only.
Suite: 281 passed, 0 failed.
</pre>
</div>
</content>
</entry>
</feed>
