Skip to content

docs: remove the filesystem-to-database migration guide - #68

Merged
kuzdogan merged 1 commit into
mainfrom
chore/remove-apiv1-migration-docs
Jul 29, 2026
Merged

docs: remove the filesystem-to-database migration guide#68
kuzdogan merged 1 commit into
mainfrom
chore/remove-apiv1-migration-docs

Conversation

@kuzdogan

@kuzdogan kuzdogan commented Jul 27, 2026

Copy link
Copy Markdown
Member

Summary

Removes Migration from Filesystem to Database (docs/8. Run your instance/6. Database migrations.md, slug /database-migration).

Companion to argotorg/sourcify#2877.

The guide is unusable now that API v1 is gone. Its core step (3c) runs
`npm run sourcify:database sync`, which POSTs to the v1 `/verify`
endpoint removed in argotorg/sourcify#2877.

It had already rotted independently of that:

- step 3b reads chain IDs from services/server/src/sourcify-chains-default.json,
  deleted by the chain-config refactor
- steps 1b and 3c configure the DB through database.json and
  `npm run migrate:up -- --env=`, but the service moved to dbmate + .env
- the closing "What's next" section says the repository APIs still read
  from RepositoryV1, which stopped being true when the database became
  the source of truth

The migration it describes was a one-off from the filesystem repository
to the database, completed long ago. Anyone who still needs it can read
it from git history alongside the pinned sourcify-server@1.6.0 tag the
process depended on.

The API v1 Brownouts blog post is deliberately left in place — it is a
dated announcement and part of the historical record, not documentation
of a supported workflow.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
kuzdogan added a commit to kuzdogan/sourcify that referenced this pull request Jul 27, 2026
The guide is being deleted in sourcifyeth/docs#68 because its sync step
depends on the v1 /verify endpoint this PR removes. The "Run server"
docs page live-embeds this README, so leaving the link would render a
dead link on docs.sourcify.dev.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0f637e1
Status: ✅  Deploy successful!
Preview URL: https://be116e3b.docs-8pb.pages.dev
Branch Preview URL: https://chore-remove-apiv1-migration.docs-8pb.pages.dev

View logs

@kuzdogan
kuzdogan marked this pull request as draft July 27, 2026 14:21
@kuzdogan
kuzdogan marked this pull request as ready for review July 28, 2026 08:48
@kuzdogan kuzdogan moved this to Sprint - Needs Review in Sourcify Public Jul 28, 2026
@kuzdogan
kuzdogan merged commit 4bf7ac6 into main Jul 29, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from Sprint - Needs Review to Sprint - Done in Sourcify Public Jul 29, 2026
@kuzdogan
kuzdogan deleted the chore/remove-apiv1-migration-docs branch July 29, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants