ref: delete unreachable upstream-fetcher modules#1076
Merged
Conversation
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
3 times, most recently
from
May 7, 2026 09:05
04bcc30 to
90079cf
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 09:42
e23efb8 to
cb1e635
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 7, 2026 09:42
90079cf to
91b7770
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 09:57
cb1e635 to
38db91f
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
3 times, most recently
from
May 7, 2026 10:16
a6fad6e to
d43dfcd
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 10:16
38db91f to
cf465c2
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
2 times, most recently
from
May 7, 2026 10:22
9c17e98 to
79aeaec
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 18:28
cf465c2 to
f893288
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 7, 2026 18:28
79aeaec to
7ae6e0a
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 18:33
f893288 to
c2949c2
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 7, 2026 18:34
7ae6e0a to
cf2d5d8
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 18:47
c2949c2 to
e942312
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 7, 2026 18:47
cf2d5d8 to
e65a6a7
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 18:51
e942312 to
528ac12
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 7, 2026 18:52
e65a6a7 to
05d148c
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 18:58
528ac12 to
91fc701
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 7, 2026 18:59
05d148c to
63e42e8
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 19:43
91fc701 to
f2ab4f6
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 7, 2026 19:43
63e42e8 to
9905149
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 19:50
f2ab4f6 to
89c5875
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
2 times, most recently
from
May 7, 2026 19:51
e7de193 to
3d4c4b4
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
2 times, most recently
from
May 7, 2026 20:52
b5b2856 to
69a9d94
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 7, 2026 20:52
3d4c4b4 to
3077bf3
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 7, 2026 21:31
56c0766 to
47dfc42
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 7, 2026 21:40
6ad85eb to
9117439
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 7, 2026 21:41
47dfc42 to
dd4ad7e
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 8, 2026 02:10
9117439 to
9e2fbeb
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 8, 2026 02:10
dd4ad7e to
90f84bf
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 8, 2026 03:04
9e2fbeb to
e4ccae9
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 8, 2026 03:04
90f84bf to
7272c29
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 8, 2026 03:10
e4ccae9 to
0c33383
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
2 times, most recently
from
May 8, 2026 03:13
480d4a6 to
63457ec
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
from
May 8, 2026 03:14
0c33383 to
9e2fbeb
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 8, 2026 03:14
63457ec to
90f84bf
Compare
coolaj86
force-pushed
the
ref-cache-only-readonly
branch
3 times, most recently
from
May 8, 2026 17:48
b1d340e to
70067a6
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 8, 2026 18:15
90f84bf to
202b60e
Compare
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 8, 2026 22:21
202b60e to
5d80b5c
Compare
3 tasks
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 8, 2026 22:27
5d80b5c to
95bff1f
Compare
Stacked on the modifications PR. Now that no live code path references
the per-package fetchers, the shared HTTP/parsing helpers, the
in-process normalizer, or the example template, delete them. Pure
deletion — no behavior change.
- ~93 per-package <pkg>/releases.js fetcher modules.
- _common/{brew,fetcher,git-tag,gitea,github,github-source,
githubish,githubish-source}.js shared HTTP/parsing helpers.
- _webi/normalize.js in-process normalization layer (cache files
arrive normalized from webicached).
- _example/releases.js fetcher template for new packages.
The Go cache daemon (webicached) is now the sole producer of release
metadata; the Node process never makes an upstream request.
coolaj86
force-pushed
the
ref-cache-only-cleanup
branch
from
May 8, 2026 22:35
95bff1f to
9f28505
Compare
pull Bot
pushed a commit
to pianomanx/webi-installers
that referenced
this pull request
May 14, 2026
…e cache path The Node server's read path now goes through ~/.cache/webi/legacy/ only (see webinstall#1075). A handful of supporting tools and tests still carried references to the obsolete upstream-fetcher modules and the old year-month cache layout. Update them in place; the actual deletion of the orphaned modules follows in webinstall#1076. - _webi/classify-one.js — read from ~/.cache/webi/legacy/<pkg>.json instead of ../_cache/<yearMonth>/<pkg>.json. - _webi/builds-cacher-test.js — drop the bc.freshenRandomPackage(...) call; the freshener was removed when fetching went away. - _webi/builds.js — drop the //Releases: Releases stub comment. - _webi/lint-builds.js — drop two now-unused require()s. - _webi/test.js — adjust a single reference to the post-cleanup shape.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #1081. Pure deletion — zero file modifications, no behavior change. Once the supporting tools/tests stop referencing the obsolete fetcher modules (#1081), the modules themselves can be removed.
The Go cache daemon (webicached) is now the sole producer of release metadata; the Node process never makes an upstream request, so none of the deleted code is reachable from any live route.
What's deleted
<pkg>/releases.jsfetcher modules — the scrapers for GitHub, Brew, Gitea, git-tag, etc._common/{brew,fetcher,git-tag,gitea,github,github-source,githubish,githubish-source}.js— the shared HTTP/parsing helpers those fetchers built on._webi/normalize.js— the in-process normalization layer that fedtransform-releases.js. Cache files are already normalized by webicached._example/releases.js— the template fetcher for new packages.104 files changed, 4973 deletions(-)
Test plan
grep -rn '_common/.*\.js\|normalize\.js' _webi/returns no matches (all consumers were updated in ref(_webi): fix classify-one cache path + drop stale upstream-fetcher refs #1081).~/.cache/webi/legacy/populated:/api/releases/go.jsonreturns a real version,/nodereturns a#!/bin/shinstaller.Stack