Support GitHub-style org and user profile repos (.github, .profile) #651

Open
opened 2026-06-19 07:43:40 +00:00 by jmiller · 0 comments
Owner

Summary

GitHub uses .github and .github-private repos for org-level profile READMEs and community health files. MokoGitea uses .mokogitea and .mokogitea-private equivalents, but should also alias the GitHub naming convention so that:

  • .github works as an alias for the org profile repo (currently org-profile / .mokogitea)
  • .github-private works as an alias for private org config
  • .profile works for user-level profile READMEs

Current Behavior

MokoGitea only recognizes .mokogitea-prefixed repo names for org/user profiles.

Expected Behavior

Both .github and .mokogitea naming conventions should be recognized, with .mokogitea taking priority if both exist. This ensures compatibility with repos migrated from GitHub and reduces friction for users familiar with GitHub conventions.

Context

Our GitHub backup mirrors map org-profile.github and .mokogitea-private.github-private. Having MokoGitea natively support both naming patterns would eliminate the need for these name translations.

## Summary GitHub uses `.github` and `.github-private` repos for org-level profile READMEs and community health files. MokoGitea uses `.mokogitea` and `.mokogitea-private` equivalents, but should also alias the GitHub naming convention so that: - `.github` works as an alias for the org profile repo (currently `org-profile` / `.mokogitea`) - `.github-private` works as an alias for private org config - `.profile` works for user-level profile READMEs ## Current Behavior MokoGitea only recognizes `.mokogitea`-prefixed repo names for org/user profiles. ## Expected Behavior Both `.github` and `.mokogitea` naming conventions should be recognized, with `.mokogitea` taking priority if both exist. This ensures compatibility with repos migrated from GitHub and reduces friction for users familiar with GitHub conventions. ## Context Our GitHub backup mirrors map `org-profile` → `.github` and `.mokogitea-private` → `.github-private`. Having MokoGitea natively support both naming patterns would eliminate the need for these name translations.
Sign in to join this conversation.