Skip to content
This repository was archived by the owner on Oct 15, 2026. It is now read-only.

refactor(taskfile): adopt lib v2.6.0 - #18

Merged
jshvn merged 6 commits into
mainfrom
josh/lib-v2.6.0
Oct 8, 2026
Merged

jshvn merged 6 commits into
mainfrom
josh/lib-v2.6.0

Conversation

@jshvn

@jshvn jshvn commented Oct 8, 2026

Copy link
Copy Markdown
Member

Consistency review, phase 3, for tlnet: adopt lib v2.6.0 (tagged at 36d75e6) in this mirror's own files.

  • C1, C2, C6 aws.config and its env: block, the include's IMAGE and the report-engine exclude are gone.
  • C21 LIST_FLOOR 15000 (17,061 lines through the new FILTER). C22 CANARY texlive.tlpdb.sha512. C23 FILTER admits /timestamp and FRESH_KEY is timestamp. C28 the MENU block is gone. C53 CEILING_GB's comment drops the free-tier claim.
  • index (owner-approved fix): sed writes .run/index.html first, and aws uploads it only after sed succeeded. The streamed upload could blank the landing page.
  • C19 check.yml and sync.yml pin lib v2.6.0 (36d75e6).
  • C35, C78 the Taskfile, workflow and op.env comments in ASD-STE100; the header names what lib supplies and what is the mirror's own.
  • render.txt accepts v2.6.0: the filter, the floor, the canary, fresh with timestamp, C5's .run/chain tests, the index command, lib PR C's retry comments.

Test plan

  • task check against v2.6.0 (render.txt accepted after rm -rf .task/remote)
  • Before the tag: the same render against lib's main through local copies
  • Fact check (spec §4) of every comment by a second agent; items and STE review approved

jshvn added 6 commits October 8, 2026 15:34
- C1: delete aws.config and its env: block; the rsync image sets
  AWS_CONFIG_FILE to its own /etc/aws.config.
- C2: drop IMAGE from the toolbox include; the engine names it.
- C6, C35: drop report-engine from the toolbox excludes, and the
  "Two includes, one namespace" paragraph.
- C28: drop the MENU block.
- C21: LIST_FLOOR is 15000, about 90% of the 17,060-line listing.
- C22: CANARY is tlpkg/texlive.tlpdb.sha512, read as a Perl client.
- C23: FILTER admits CTAN's root timestamp, and FRESH_KEY names it.
- C53: the CEILING_GB comment drops the free-tier claim.
… STE

- C35: the shared mirror header: upstream, R2 bucket, daily, the list
  diff; lib's toolbox and rsync engine at v2, flattened; the items
  that are this mirror's own; the secrets, by name, from the vault.
- C78: every Taskfile, workflow and op.env comment in ASD-STE100. The
  TL and FILTER comments name CTAN's root timestamp file (C23). The
  op.env header matches lib's examples (C73); no op:// line changes.
sed writes the dated page to .run/index.html, and aws uploads that
file only once sed exits 0, so a sed error leaves the bucket's page
as it was. The upload keeps its text/html type, no-cache and the
bucket-root key, and the stamp still follows the upload. With no pipe
left in the task, set: [pipefail] goes too.
The header that lib's examples and every mirror use. No op:// line
changes.
- The header takes the gnu and nongnu shape: a full first sentence,
  "below the vars", one topic per paragraph, and each secret goes to
  the image "with its name, not on a command line".
- SOURCE: a secondary mirror gets a change one day after the master.
- LIST_FLOOR: approximately 17,000 files.
- FRESH_KEY: "before each new version of TeX Live".
- Var labels are full sentences; OWN is "not in the listing"; the
  FILTER doubling and the no-cache sentence say what they count;
  index's comment is two paragraphs.
@jshvn
jshvn merged commit 5c5d2ce into main Oct 8, 2026
1 check passed
@jshvn
jshvn deleted the josh/lib-v2.6.0 branch October 8, 2026 23:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant