feat(updateserver): use repo_manifest as metadata source in feed generators #512

Open
opened 2026-06-06 14:56:27 +00:00 by jmiller · 0 comments
Owner

Summary

The update server feed generators (Joomla, WordPress, Dolibarr, etc.) should read from the repo_manifest table as an additional data source in the cascading fallback chain.

Current Priority Chain

  1. Custom field values (org-level repo-scoped fields)
  2. update_stream_config table
  3. Repo-derived defaults (name, description)

Proposed Priority Chain

  1. Custom field values (highest priority, user-defined)
  2. repo_manifest table (project identity metadata)
  3. update_stream_config table (feed-specific config)
  4. Repo-derived defaults (fallback)

Field Mapping

Manifest Field Feed Usage
name Extension element name fallback
description Feed description
version Version number for feeds
license_spdx License display in feeds
package_type Extension type (component, module, plugin, etc.)
language Used for build context

Implementation

Modify resolveExtensionMetadata() in services/updateserver/joomla.go (and equivalent functions in other generators) to query repo_manifest between custom fields and update_stream_config lookups.


Authored by Jonathan Miller (@jmiller)

## Summary The update server feed generators (Joomla, WordPress, Dolibarr, etc.) should read from the `repo_manifest` table as an additional data source in the cascading fallback chain. ## Current Priority Chain 1. Custom field values (org-level repo-scoped fields) 2. `update_stream_config` table 3. Repo-derived defaults (name, description) ## Proposed Priority Chain 1. Custom field values (highest priority, user-defined) 2. `repo_manifest` table (project identity metadata) 3. `update_stream_config` table (feed-specific config) 4. Repo-derived defaults (fallback) ## Field Mapping | Manifest Field | Feed Usage | |---------------|------------| | `name` | Extension element name fallback | | `description` | Feed description | | `version` | Version number for feeds | | `license_spdx` | License display in feeds | | `package_type` | Extension type (component, module, plugin, etc.) | | `language` | Used for build context | ## Implementation Modify `resolveExtensionMetadata()` in `services/updateserver/joomla.go` (and equivalent functions in other generators) to query `repo_manifest` between custom fields and update_stream_config lookups. --- *Authored by Jonathan Miller (@jmiller)*
Sign in to join this conversation.