Repository navigation
Features
- Export and import settings (#587, #592, #593, thanks @zwimer). Export settings at the top of the Configuration page downloads the settings, the sources and the organization and repository choices as a JSON file, without tokens, passwords or webhook URLs. It is sorted so it diffs cleanly in git. Import settings reads it back, on the same instance or a new one, and shows what would change before anything is saved. Tokens are not in the file, so sources that need one come back turned off until you enter it, and the dialog lists what is left to do. Also
GET /api/config/exportandPOST /api/config/import. - Pre-releases with assets (#588, #591, thanks @zwimer). A separate cap on how many pre-releases keep their assets, so a run of release candidates keeps its notes without filling the disk. With assets at 8 and pre-releases at 3, the three newest pre-releases and the five newest stable releases get their files. The release numbers now sit in one table under Releases & tags. Also per organization and repository, and
RELEASE_PRERELEASE_ASSET_LIMIT.
Changes
- Fewer beta labels (#594). GitLab and Gitea / Forgejo sources (Codeberg included), the Forgejo destination and Git LFS mirroring have had three months of use and fixes and are no longer marked beta. The Git URL source and the GitHub and GitLab push destinations stay in beta.
Fixes
- Repository cleanup now checks public only sources (#589, #590, thanks @zwimer). For a source without a token, cleanup asked for the account's own repositories, which failed on every run, so a repository deleted there was never noticed. It now checks the organizations added to that source and looks up its other repositories one at a time.
Notes
- The per organization and repository Mirror options dialog uses the table's words: Releases to keep, Releases with assets, Pre-releases to keep and Pre-releases with assets.
As always, back up your Gitea before upgrading.
Full changelog: v3.58.1...v3.59.0