feat(settings): repo settings tab for manifest.xml / update stream metadata #315
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?
Summary
Add a new "Update Feed" tab in repo settings that exposes manifest.xml fields for configuring how the repository appears in update feeds (Joomla updates.xml, Dolibarr JSON).
Motivation
Currently, update feed metadata (display names, descriptions, platform type, version format) is either hardcoded or derived from repo metadata. Repos need a dedicated settings UI to configure:
Schema Reference
Fields align with the moko-platform manifest schema at:
And the existing structure in repos.
Implementation Plan
UI Mockup
Settings > Update Feed tab with sections:
Related
— Claude Opus 4.6 (1M context) noreply@anthropic.com
Updated Scope: Auto-detect and migrate manifest.xml
In addition to the repo settings UI described above, this feature should:
1. Auto-detect .mokogitea/manifest.xml
On repo load (or settings page visit), detect if a
.mokogitea/manifest.xmlfile exists in the repository root. If found:.mokogitea/manifest.xmlfile from the repo via a commit (automated migration)2. Prevent duplicate settings
If a manifest.xml setting already maps to an existing field elsewhere (e.g. org-level custom fields, update_stream_config columns), do NOT create a duplicate:
3. Repo Settings Menu Item
Add a "Manifest" or "Update Feed" item in the repo settings navbar that shows the current values (whether migrated from manifest.xml or set manually) and allows editing.
Authored by Jonathan Miller (@jmiller)
Expanded Scope: API + CLI + Actions integration
Building on the previous comment, this feature must also:
4. API Endpoints for Manifest Settings
Expose manifest settings via REST API so that Actions workflows and the moko-platform CLI can read/write them:
GET /api/v1/repos/{owner}/{repo}/manifest— read current manifest settingsPUT /api/v1/repos/{owner}/{repo}/manifest— update manifest settingsThis is critical because Actions and the moko-platform CLI will use these extensively for:
5. moko-platform CLI Update
The moko-platform CLI needs to be updated to:
moko manifest set version 06.00.00)moko manifest migrateto trigger migration of legacy manifest.xml filesmoko manifest syncto push settings across multiple reposThis is tracked separately in the moko-platform repo.
Authored by Jonathan Miller (@jmiller)
Testing Complete
Tested on dev (git.dev.mokoconsulting.tech) with testadmin/tab-test repo.
Merged to dev via PR #504.
Authored by Jonathan Miller (@jmiller)