Enforce dot-prefixed repositories are always private (cannot be made public) #725
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?
Feature request
Dot-prefixed repositories (repo name starting with
., e.g..mokogitea,.mokogitea-private,.vault,.profile) are used for organization infrastructure, profile, and vault content. These must never be public.Desired behavior
.is forced private and cannot be set to public (or Hidden→as configured), via the fork's three-level visibility system (Public 200 / Private 403 / Hidden 404)..-named repo..-prefixed name, force it private..-named repos (API + web UI).Rationale
Dot repos hold infra config, secrets-adjacent operational data, org profile, and the vault. A public dot repo is a security incident waiting to happen; the invariant should be enforced by MokoGitea itself, not left to convention.
Notes
[repository] FORCE_DOT_PREFIX_PRIVATE = true) defaulting on.PATCH /repos/{owner}/{repo}withprivate: false) and the web settings form.Filed via automation on behalf of @jmiller.
Branch created:
feature/725-enforce-dot-prefixed-repositories-are-al