diff options
| author | aur-build <aur-build@localhost> | 2026-11-18 08:23:14 +0000 |
|---|---|---|
| committer | aur-build <aur-build@localhost> | 2026-11-18 08:23:14 +0000 |
| commit | eefbefed9cbea6b2edef65900fbe6cb6da0b48e4 (patch) | |
| tree | 1249788a49812fc15b644687af7c1384f94ba236 /testcorpus/dep-client | |
| parent | a6b652985f40cf022d6c522415c36fad13bc663d (diff) | |
| download | aur-build-eefbefed9cbea6b2edef65900fbe6cb6da0b48e4.tar.gz aur-build-eefbefed9cbea6b2edef65900fbe6cb6da0b48e4.zip | |
http: surfaces driven by live state — staleness, downgrades, deps, rebuild (I6)
Attention, the package page and the builds page now answer real questions
instead of rendering empty tables:
- Attention lists outdated dependencies derived from the recorded world
snapshots, naming the dependency that moved, what the artifact was built
against and what the index holds now; also missing dependencies and
downgrades (AUR offering a lower version than we serve), which is an
announcement for a human, not a build request.
- The package page shows depends-on from the recipe we actually serve and
needed-by from the packages whose recipes name it, plus staleness and the
aur_commit timeline, each release linking into cgit at that exact commit.
- Builds rows carry the version they are about, in both the live and the
recently-finished table.
- A manual rebuild reuses the approved source identity and mints no approval
(I6); the test asserts the approval count is unchanged before and after the
rebuild runs.
- A paused subscription is not observed at all: detection returns Paused
without polling, so pausing a broken package stops it opening reviews.
- Staleness stays computed on read (§10.2). Nothing stores a stale flag, so
nothing can serve a stale lie.
Also: dep-client fixture added for dependency pairs.
Diffstat (limited to 'testcorpus/dep-client')
| -rw-r--r-- | testcorpus/dep-client/PKGBUILD | 14 | ||||
| -rw-r--r-- | testcorpus/dep-client/manifest.json | 38 |
2 files changed, 52 insertions, 0 deletions
diff --git a/testcorpus/dep-client/PKGBUILD b/testcorpus/dep-client/PKGBUILD new file mode 100644 index 0000000..191c201 --- /dev/null +++ b/testcorpus/dep-client/PKGBUILD @@ -0,0 +1,14 @@ +pkgbase=dep-client +pkgver=1.0 +pkgrel=1 +pkgdesc="synthetic fixture that depends on plain-make" +url="https://example.invalid/dep-client" +license=(MIT) +arch=(x86_64) +depends=(plain-make) +build() { + echo building dep-client +} +package_dep-client() { + echo packaging dep-client +} diff --git a/testcorpus/dep-client/manifest.json b/testcorpus/dep-client/manifest.json new file mode 100644 index 0000000..6ea5f3d --- /dev/null +++ b/testcorpus/dep-client/manifest.json @@ -0,0 +1,38 @@ +{ + "name": "dep-client", + "build": "succeed", + "sig": true, + "packages": [], + "installed": [ + { + "name": "glibc", + "version": "2.39-1", + "arch": "x86_64" + }, + { + "name": "pacman", + "version": "6.1.0-1", + "arch": "x86_64" + }, + { + "name": "binutils", + "version": "2.42-1", + "arch": "x86_64" + }, + { + "name": "plain-make", + "version": "1.0-1", + "arch": "x86_64" + } + ], + "log_lines": [ + "==> Making package.", + "==> Entering fakeroot environment." + ], + "expect": { + "build": "succeed", + "packages": [ + "dep-client" + ] + } +}
\ No newline at end of file |
