Feature requestIn progress

Gitea / Forgejo git account support (or SSH auth for custom git remotes)

1devtoolPosted

The problem

Problem

Server Compass 1.46.3 supports git deploys only from GitHub, GitLab.com, and self-managed GitLab accounts. Self-hosted Gitea (and Forgejo) instances — a very common choice in exactly the self-hosting audience this app serves — cannot be connected at all:

  • The "Connect Git Account" dialog accepts only a GitLab API token; pointing it at a Gitea instance fails (the GitLab 15.5 version check calls /api/v4/version, which Gitea does not serve).
  • The generic "Git URL" source only accepts public HTTPS remotes — it rejects ssh:// URLs and any credential in the URL, so a private Gitea repo cannot deploy.
  • The "Generate and upload an SSH key" option exists, but only inside a connected GitHub/GitLab account — there is no way to attach a deploy key to a custom/self-hosted remote.

Net result: a private repo on a LAN Gitea instance (e.g. http://10.0.1.78:3323/owner/repo.git, SSH on port 2222) is undeployable through the Stack Wizard, forcing manual git clones outside the app.

Request

Either:

  1. Add a gitea/forgejo provider to Git Accounts — Gitea's API (/api/v1) covers user, repos, and deploy keys, so PAT-auth + deploy-key upload would mirror the GitLab flow closely; or
  2. Extend the custom git remote path with an SSH auth mode: store the ssh:// remote, generate/upload a deploy key to the server, and clone with it (the custom provider enum already exists for public remotes — it just has no authenticated mode).

Why it matters

Self-hosted Gitea/Forgejo is the standard lightweight git host for the same homelab/self-hosting market Server Compass targets — single binary, sips RAM, LAN-friendly. GitLab self-managed is a multi-GB omnibus stack that is vastly oversized for this audience, so GitLab-only support effectively excludes many of your likely users.

Roadmap progress

  1. PENDING

  2. REVIEWING

    —

  3. PLANNED

    —

  4. IN PROGRESS

  5. COMPLETED

    —

  • — 1devtool submitted this request
  • — Khoa - StoicSoft Team moved it to In progress

Discussion0

Newest first
  • No comments yet. Add context or ask a question below.

Sign in to comment, vote and follow this request.

Sign in to reply