Gitea or Forgejo
gitea Clone from a Gitea or Forgejo server, Codeberg included, with an access token, an OAuth2 application, or a deploy key, optionally limited to one owner.
Setup
Choose how Pando signs in
Create an access token
- Open Settings → Applications. On Forgejo, choose New access token.
- Enter a Token name. Under Repository and organization access, choose All (public, private, and limited).
- Under Select permissions, set these:
Permission Access repository Read user Read - Choose Generate token and copy the token.
Create an OAuth2 application
- Open Settings → Applications.
- Under Create a new OAuth2 application, enter an Application name.
- Set Redirect URIs to your Pando address plus
/api/v1/sources/callback. - Leave Confidential client checked and choose Create application.
- Copy the Client ID and Client secret.
Add a deploy key
- Run
ssh-keygen -t ed25519 -f pando-deploy -N "". - In the repository, open Settings → Deploy keys → Add deploy key (Add SSH key on Gitea).
- Enter a Title, paste
pando-deploy.pubinto Content, and add the key. - Paste
pando-deploybelow. - Run
ssh-keyscanwith the host's name, on a machine you trust, and paste its output below.
- Run
Choose an owner
Settings (12)
methodHow Pando signs inRequiredhostHostRequiredThe host repositories are on. Change it for a self-managed server.
scopeOwnerLimit the connection to one user's or organization's repositories, such as acme. Empty is every repository the credential can read.
usernameUsernameThe token's account. Empty is oauth2.
tokenAccess tokenCredentialNeeds Read on repository and user.
client_idOAuth2 client IDThe client ID of an OAuth2 application created under Settings → Applications, with Pando's callback as its redirect URI.
client_secretOAuth2 client secretCredentialRequired.
ssh_private_keySSH private keyCredentialThe private half of a deploy key or access key added to the repository. Pando reads the repository with it and never writes.
ssh_passphraseKey passphraseCredentialOnly if the key has one.
known_hostsKnown hostsThe host's public key, as ssh-keyscan <host> prints it.
api_urlAPI addressAdvancedWhere the host's API is, if not where Pando would look for it.
ca_bundleCertificate authorityAdvancedPEM certificates to trust for a self-managed host on a private certificate authority, beside the system's.
Presets
- Codeberg Create an access token on Codeberg under Settings → Applications, with Read on repository and user.