Private repositories
appreise reaches your repositories through the appreise-ledger GitHub App:
- Go to
https://github.com/apps/appreise-ledger/installations/new(thegrant_urlinlist_reposgives the same link). - Pick your account. Choose Only select repositories, and tick the repositories that hold your ledger. GitHub refuses appreise every other repository.
- Back in the AI app, ask to add your repositories.
To grant more repositories, or take some back, use the same link, or GitHub's Settings, Applications, appreise-ledger, Configure. A repository in a GitHub organization also works when the organization installed appreise-ledger on it and your GitHub account has write or admin access to the repository; add it by its URL with add_repo, adopt_repo, or create_ledger.
For a repository on another forge (such as Forgejo or GitLab), pass credential to add_repo, adopt_repo, or create_ledger: an HTTPS access token for an https:// remote, or an unencrypted SSH private deploy key for an SSH remote, scoped with write access to that one repository. The service stores the credential encrypted at rest with AES-256-GCM in your per-user repo_credentials.json (bound to your user ID and repository URL), never logs it, and deletes it when remove_repo removes the repository. Each user on the hosted service is isolated in a separate users/<user-id>/ directory, and nightly state backups exclude repository checkouts (ws/) and the encryption key; see Chapter 6 of the user manual.
Ledgers hosted by appreise itself are turned off for now: keep your ledger on GitHub. At any time, download_repo downloads a standalone .zip Git archive of any repository you added.