Merge org wiki repos into profile repo wikis #593
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Consolidate the four organizational repos into two by merging wiki content into the profile repos' built-in Gitea wikis.
Current State
.profile.profile-privatewikiwiki-privateTarget State
.profilewikirepo.profile-privatewiki-privaterepowikiandwiki-privaterepos archived after migration.Plan
Phase 1: Prepare
.profileand.profile-privatehave wikis enabledPhase 2: Migrate Public Wiki
.profilerepo if not alreadywikirepo content as Gitea wiki pages on.profile.profile.wiki.git, copy markdown files, pushHome.mdnavigation links for new wiki URL structurePhase 3: Migrate Private Wiki
.profile-privaterepowiki-privaterepo content as Gitea wiki pages on.profile-privatePhase 4: Update References
.profileREADME wiki link to point to its own wiki.profile-privateREADME wiki linkfeedback_infra_private.mdmemoryPhase 5: Cleanup
wikirepo (do not delete — preserves git history)wiki-privaterepoConsiderations
Gitea wiki structure: Gitea wikis are flat (no subdirectories). The current wiki repos use directories (
standards/,architecture/, etc.). Options:standards-coding-phpinstead ofstandards/coding-php.mdWiki git access: Gitea wikis have their own git repo at
{repo}.wiki.git. Content can be pushed directly via git clone/push, which is the most efficient migration path.URL changes: Wiki URLs change from
wiki/wiki/Hometo.profile/wiki/Home. All internal links need updating."Correction: MokoGitea supports folder-based wikis
The Considerations section is wrong — upstream Gitea is flat-only, but MokoGitea supports directory-based wiki structure. This simplifies the migration significantly:
standards/coding-php.mdstays as-is.profile.wiki.gitRevised Migration (simplified)
No page renaming or link rewriting needed (except base repo URLs in cross-references).
Migration complete. All 5 phases done:
.profile.wiki.git.profile-private.wiki.gitwikiandwiki-privaterepos archivedWiki URLs: