DEV Community

goodpa
goodpa

Posted on

Repo Address Migration — One-Page Checklist

A worksheet, not an essay. Four passes, one page, about an hour.

Your build does not break because the upstream code changed. It breaks because something you wrote three years ago hardcoded a URL that a stranger just stopped serving. The redirect they promised is not in your control, and it is not on your calendar.

The failure is common enough that it keeps showing up in public postmortems: a competent team, a Tuesday, and an announcement that old links will keep working. They do, for a while. Then they do not, and the person who knew where the links were written has left. Nobody had ever listed the addresses. There was no page.

So here is the page. Fill it in before you touch CI. One page, four passes, about an hour if you are honest and ten minutes if you are not.

Pass 1 — Inventory the addresses (30 min)

List every place a remote address appears. Be boring and exhaustive; the failure will be in the row you almost skipped.

Where Find it with Count found Owner
Source git remote -v, .gitmodules, submodules
CI/CD pipeline configs, runner images, clone/checkout steps
Package manifests dependency specs pinned to git URLs or tarball URLs
Container builds FROM, ADD, COPY --from= referencing remote registries
Webhooks & integrations inbound hooks, deploy keys, bot tokens
IaC / deploy Terraform providers, Helm chart repos, Ansible roles
Docs & runbooks onboarding docs, internal wikis, README install lines
Scripts & cron `curl \ bash` lines, sync jobs, backup targets

Rule: if a row is empty, write none found — checked by <name>, <date>. An empty cell is not a finding. It is a row nobody looked at.

Pass 2 — Classify each address (15 min)

Three labels only. Do not invent a fourth.

  • MOVABLE — you control it (your own mirror, proxy, DNS entry, or registry). Fix by repointing one place.
  • PINNED-BY-SOMEONE-ELSE — you depend on an address you do not control and cannot mirror. This is your risk list.
  • UNKNOWN — you cannot tell who serves it or whether it is still maintained. Treat as PINNED until proven otherwise.

Unknown is a deliverable. A row that says "unknown, owner not identified" is worth more than a row that says "probably fine." The second one is an opinion, and it will be repeated in a meeting until it sounds like a fact.

Pass 3 — Repoint and prove it (per address)

For every MOVABLE address:

  1. Mirror first, switch second. Copy the artifact to a location you control. Do not switch the build to a proxy you have not tested.
  2. Change one consumer at a time. Repoint, run the full pipeline, record the result. The point is not speed; the point is knowing which change broke it.
  3. Prove the fallback. Point the address at a dead host on purpose. The build must fail loudly and identifiably — not silently fetch a stale cache. If it fails quietly, you do not have a fallback, you have a delay.

For every PINNED address:

  1. Name the human. Not the company — the person or team who would answer. If there is no name, that dependency has no succession plan.
  2. Set a monitor. A daily check that the address still resolves and returns the expected content. Cheap, and it is the only thing that turns a surprise into a ticket.
  3. Write the cost of loss in one sentence. "If this disappears, we cannot ship for N days." If you cannot fill in N, you have not finished the pass.

Pass 4 — The rollback page (10 min)

One page, three lines, stored where the on-call person will actually look:

  • What we changed: <address → new address, date>
  • How to undo it: <exact commands, tested on a clean checkout>
  • Who to call: <name, channel, timezone>

If the rollback has never been executed, mark it UNTESTED. Do not ship a rollback page you have not run. An untested rollback is a plan, and plans are what you had before the incident.

If you do this as a job

The work is priced by scope, not by hours. The buyer is not buying your time; they are buying the date on which their build stops being hostage to someone else's announcement.

Scope Deliverable Price Time
Single repo / single forge move Passes 1–2 + repoint list $400 2–3 days
Multi-repo or monorepo + CI Passes 1–4 + tested rollback $800 3–5 days
Org-wide (registry + DNS + certs) Full inventory + monitoring + handover $1,500–3,000 1–2 weeks

The ten-second version

Open git remote -v and your CI config. Count the addresses you did not write and cannot repoint. That number is how many strangers are standing between you and your next deploy.


That is the whole worksheet. Template is this page — copy it, fill it, keep it. No form, no email, nothing to request.

If one pass is where your list got uncomfortable, say which one in the comments. The answer differs depending on whether it was Pass 1 (you never listed them) or Pass 3 (you listed them and never proved the fallback), and both are worth knowing.

Top comments (0)