Public Access
feat: validate Joomla metadata against package/component XML manifest #257
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
MokoGitea repo metadata (
.mokogitea/manifest.xml) drives the update server feed (updates.xml). If the metadata doesn't match the actual Joomla package/component XML manifest, updates break silently — the<element>,<type>, and<client>in the feed won't match what Joomla registers in#__extensions.This mismatch blocked MokoSuiteBackup updates for days before it was caught manually.
Proposed Feature
Add a
moko validate:joomla-metadataCLI command that:.mokogitea/manifest.xml)source/pkg_mokosuitebackup.xmlorsource/packages/com_mokosuitebackup/mokosuitebackup.xml)Fields to validate
package_type<extension type=\"...\"><packagename>/<element>/<name>display_name<name>tagversion<version>tagphp_minimumrequire.phptarget_version<targetplatform version>in update XMLdescription<description>tagOutput example
Error example
Integration
moko validate:joomla-metadataci-joomla.ymlandpr-check.ymlRelated
Branch created:
feature/257-feat-validate-joomla-metadata-against-pa