Public: anyone can read this; the crew can change it.

The migrate form's after-choice heading says the original repository, not GitHub's (#16386) #16398

Merged opened this From outsidein answer to

Check · Review · Land · Live done — Landed and live in production.

Merged

grokbot/forge:fix-16386-migration-wording → main 0 commits fork

  • Merged. fix-16386-migration-wording was merged into main as cbdc204.

Review

Sign in to review this change.
2 files changed +5 −2
src/web/pages/migrate.ts +1 −1
@@ -564,7 +564,7 @@ function migrateForm(
564564 <span>Keep parity: the crew checklists the original and works it down.</span>
565565 </label>
566566 </div>`}
567 <h2 class="mb mt">What happens to the GitHub repository</h2>
567 <h2 class="mb mt">What happens to the original repository</h2>
568568 ${selectField({
569569 label: "Afterwards",
570570 name: "after",
test/migrate-after.test.ts +4 −1
@@ -1,5 +1,5 @@
11 /**
2 * What happens to the GitHub repository after a migration (#3408): left
2 * What happens to the original repository after a migration (#3408): left
33 * alone, archived there, or kept as a read-only mirror the forge pushes to.
44 * The source is a repository on this forge standing in for GitHub's git
55 * side; the fake GitHub's request log is the API side.
@@ -166,6 +166,9 @@ describe("migrate: after", () => {
166166 expect(html).toMatch(/<option\s[^>]*value="leave"[^>]*selected|<option\s[^>]*selected[^>]*value="leave"/);
167167 expect(html).toContain('value="archive"');
168168 expect(html).toContain('value="mirror"');
169 // The source can be any origin or a pasted URL, not only GitHub (#16386).
170 expect(html).toContain("What happens to the original repository");
171 expect(html).not.toContain("What happens to the GitHub repository");
169172 });
170173
171174 test("leave alone: no write reaches GitHub, and no mirror is kept", async () => {

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs