feat(manifest): consolidate update server settings into manifest #582
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?
Problem
Update server metadata is duplicated between
UpdateStreamConfigandRepoManifest. Fields like extension name, display name, maintainer, target version, PHP minimum, and extension type exist in the update stream config but should live in the manifest as the single source of truth.Current State
UpdateStreamConfig has these fields that overlap with or should come from manifest:
ExtensionName- already in manifest asName+ auto-constructedElementNameDisplayName- should be a manifest fieldDescription- already in manifestExtensionType- already in manifest asPackageTypeMaintainer- should be a manifest fieldMaintainerURL- should be a manifest fieldInfoURL- should be a manifest fieldTargetVersion- should be a manifest field (platform-specific)PHPMinimum- should be a manifest field (platform-specific)UpdateStreamConfig should keep only:
LicensingEnabled(rename to update server enabled)RequireKeyFeedVisibilityDownloadGatingSupportURLKeyPrefixStreamMode+CustomStreamsPlan
RepoManifest:DisplayName,Maintainer,MaintainerURL,InfoURL,TargetVersion,PHPMinimumTargetVersionandPHPMinimumonly for joomla/wordpress)UpdateStreamConfigUpdateStreamConfigmodel (keep backward compat by reading from manifest if config field is empty)detect_platformCLI to populate manifest from Joomla/Dolibarr manifest filesMigration Path
Related
Branch created:
feature/582-feat-manifest-consolidate-update-server-