GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fork seams: announce a new seam line, then add it; list guards and op… · scuttletoby/t3code@c631798

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github
    • fork-seams.json
    • scripts
      • fork-follow.sh
      • fork-follow.test.sh
      • fork-seam-check.cjs
      • fork-seam-check.test.cjs
  • docs/fork
    • updates.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/fork-seams.json‎

Copy file name to clipboardExpand all lines: .github/fork-seams.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"//": "Upstream files with fork lines, and every line the fork may add to each (indentation and blank lines ignored). Checked by .github/scripts/fork-seam-check.cjs against the base branch's copy of this file; see docs/fork/updates.md.",
2+
"//": "Upstream files with fork lines, and every line the fork may add to each (indentation and blank lines ignored). Checked by .github/scripts/fork-seam-check.cjs against the base branch's copy of this file; see docs/fork/updates.md. A new line is first announced in its entry (\"announced\": {\"since\": day, \"added\": [lines]}), then added by a later pull request that moves it to \"added\" (docs/fork/updates.md, Adding a seam line).",
33
"files": {
44
"packages/contracts/src/settings.ts": {
55
"why": "Fork settings live in forkSettings.ts; settings.ts takes them with one spread per struct. automaticUpdates stays inline: upstream's pending setting has the same name and place.",
@@ -211,7 +211,6 @@
211211
"apps/server/src/waits/",
212212
"apps/server/src/workAdmission*",
213213
"apps/web/src/clientPersistenceStorage.removedKeys.test.ts",
214-
"apps/web/src/components/chat/MarkdownFileLink.logic.test.ts",
215214
"apps/web/src/components/settings/WaitsAndSlotsSettings*",
216215
"apps/web/src/components/settings/waitsAndSlotsSettings*",
217216
"packages/contracts/src/editor.test.ts",
@@ -226,9 +225,10 @@
226225
"packages/shared/src/capacity*",
227226
"packages/shared/src/waitFor*",
228227
"scripts/lib/release-repository.ts",
229-
"scripts/release-repository.test.ts"
228+
"scripts/release-repository.test.ts",
229+
"!scripts/scenarios/fork-title-regenerates-from-inherited-history.e2e.ts"
230230
],
231-
"//lost": "Seam and pending files that lost upstream lines, counted from upstream (as fork-follow runs the check): \"lines\", the upstream lines not kept in order and indentation; \"gone\", those whose text is gone. Held exactly, like a ceiling; an unlisted file counts 0. Lower a count when a line comes back, and keep each one small: a line counted here may move unseen.",
231+
"//lost": "Seam and pending files that lost upstream lines, counted from upstream (as fork-follow runs the check): \"lines\", the upstream lines not kept in order and indentation; \"gone\", those whose text is gone. Held exactly, like a ceiling; an unlisted file counts 0. Lower a count when a line comes back, and keep each one small: a count is not a set of lines, so a line counted here may move unseen, and in a pending file a pull request can put back one gone upstream line and delete another with both counts unchanged.",
232232
"lost": {
233233
"packages/shared/src/serverSettings.ts": {
234234
"lines": 1,
Collapse file

‎.github/scripts/fork-follow.sh‎

Copy file name to clipboardExpand all lines: .github/scripts/fork-follow.sh
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ seam_check() { # seam_check BASE WHAT [--after-rebase]
195195
return 0
196196
fi
197197
if ((status == 1)) && grep -qF "$seam_refusal" "$logs/seam-check.log"; then
198-
fail "$2 does not fit the seam list (.github/fork-seams.json):" '```' "$(cat "$logs/seam-check.log")" '```'
198+
fail "$2 does not fit the seam list (.github/fork-seams.json):" '```' "$(cat "$logs/seam-check.log")" '```' \
199+
"The series was left as it is."
199200
fi
200201
fail "The seam check crashed (exit $status), so it did not say whether the series stays within the seams:" \
201202
'```' "$(tail -n 20 "$logs/seam-check.log")" '```' "The series was left as it is."
Collapse file

‎.github/scripts/fork-follow.test.sh‎

Copy file name to clipboardExpand all lines: .github/scripts/fork-follow.test.sh
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ seams "fork seam" "inline fork line"
417417
plan
418418
check "plan: a fork line beyond the seams stops the plan, naming it" \
419419
eval 'has "The series does not fit the seam list" "$root/report.md" && has "inline fork line" "$root/report.md" && [[ -z "$(out action)" ]]'
420+
check "plan: the seam refusal says the series was left as it is" has "The series was left as it is" "$root/report.md"
420421

421422
# Round 5: upstream workflow files the fork deletes (.github/fork-removed-workflows.txt) stay
422423
# deleted on every follow, and a new upstream workflow that someone outside the fork can start

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.