Prepare Forgejo migration #37

Merged
barrettruth merged 1 commit from port/forgejo-first-round into main 2026-05-05 15:11:03 +00:00
Owner

Problem

import-cost.nvim is partially on Forgejo, but the public docs, templates, migration help, runtime source warning, and LuaRocks deploy setup still need the finalized Forgejo-first porting shape.

Solution

  • Add the Forgejo README banner, Forgejo vim.pack install docs, and migration vimdoc.
  • Add the one-time GitHub-source warning with state-file suppression.
  • Normalize Forgejo issue templates and add the GitHub PR redirect workflow for the eventual mirror.
  • Restore Forgejo LuaRocks stable/nightly deploy workflows using luarocks-tag-release-forgejo@v0.2.0.
  • Point rockspec metadata at Forgejo and normalize license/email metadata.

Not included

  • No GitHub mirror configuration yet.
  • No branch pruning yet.
  • No release tag or version bump.

Verification

  • nix develop .#ci --command just format
  • nix develop .#ci --command just lint
  • nix shell nixpkgs#luarocks -c luarocks lint import-cost.nvim-scm-1.rockspec
  • Headless Neovim warning test: GitHub origin warns once and writes the marker; second run is suppressed; Forgejo origin does not warn.
  • Headless Neovim help test: :help import-cost.nvim-migration opens from generated helptags.
## Problem `import-cost.nvim` is partially on Forgejo, but the public docs, templates, migration help, runtime source warning, and LuaRocks deploy setup still need the finalized Forgejo-first porting shape. ## Solution - Add the Forgejo README banner, Forgejo `vim.pack` install docs, and migration vimdoc. - Add the one-time GitHub-source warning with state-file suppression. - Normalize Forgejo issue templates and add the GitHub PR redirect workflow for the eventual mirror. - Restore Forgejo LuaRocks stable/nightly deploy workflows using `luarocks-tag-release-forgejo@v0.2.0`. - Point rockspec metadata at Forgejo and normalize license/email metadata. ## Not included - No GitHub mirror configuration yet. - No branch pruning yet. - No release tag or version bump. ## Verification - `nix develop .#ci --command just format` - `nix develop .#ci --command just lint` - `nix shell nixpkgs#luarocks -c luarocks lint import-cost.nvim-scm-1.rockspec` - Headless Neovim warning test: GitHub origin warns once and writes the marker; second run is suppressed; Forgejo origin does not warn. - Headless Neovim help test: `:help import-cost.nvim-migration` opens from generated helptags.
port: prepare Forgejo migration
All checks were successful
quality / Lint (pull_request) Successful in 5s
quality / Format (pull_request) Successful in 9s
743eb64975
barrettruth force-pushed port/forgejo-first-round from 743eb64975
All checks were successful
quality / Lint (pull_request) Successful in 5s
quality / Format (pull_request) Successful in 9s
to 98295d6270
All checks were successful
quality / Lint (pull_request) Successful in 5s
quality / Format (pull_request) Successful in 8s
2026-05-05 15:09:23 +00:00
Compare
barrettruth changed title from WIP: prepare Forgejo migration to Prepare Forgejo migration 2026-05-05 15:09:35 +00:00
barrettruth deleted branch port/forgejo-first-round 2026-05-05 15:11:03 +00:00
barrettruth referenced this pull request from a commit 2026-05-05 15:11:04 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/import-cost.nvim!37
No description provided.