refactor: MokoGiteaAdapter + manifest.xml primary lookup #32

Merged
jmiller merged 11 commits from dev into main 2026-05-21 22:19:50 +00:00
+4 -4
View File
@@ -47,11 +47,11 @@ foreach ($argv as $i => $arg) {
$root = realpath($path) ?: $path;
$manifestFile = null;
// Priority: .manifest.xml > .moko-platform (backward compat)
// Priority: manifest.xml (current standard)
$candidates = [
"{$root}/.mokogitea/.manifest.xml",
"{$root}/.mokogitea/.moko-platform",
"{$root}/.mokogitea/.mokostandards", // legacy v4
"{$root}/.mokogitea/manifest.xml",
"{$root}/.mokogitea/.manifest.xml", // legacy (dot-prefixed)
"{$root}/.mokogitea/.moko-platform", // legacy v4
];
foreach ($candidates as $candidate) {