В конце дня я понял, что могу поместить то, что мне нужно, когда захочу. Насколько мне известно, лучшей практики Magento нет. Мой вопрос возник из-за необходимости использовать modman для развертывания списка модулей из Github. Вот какой хакерский код, в котором этот xml оказался использованным:
... //after cloning the repositories, for each module:
$modules = glob('.modman/$moduleName/app/etc/modules/*.xml');
$filename = $modules[0];
$xmlString = file_get_contents($filename, FILE_TEXT);
$xml = simplexml_load_string($xmlString);
$jsonStr = json_encode($xml);
$obj = json_decode($jsonStr);
$modules = $obj->modules;
foreach ($modules as $key=>$module){}
$fullName = explode('_', $key);
$namespace = $fullName[0];
$codePool = $module->codePool;
$channel = $codePool;
$configFile = ".modman/$moduleName/app/code/$channel/$namespace/$moduleName/etc/config.xml";
$configXml = file_get_contents($configFile, FILE_TEXT);
$xml = simplexml_load_string($configXml);
$jsonStr = json_encode($xml);
$obj = json_decode($jsonStr);
$modules = $obj->modules;
$module = reset($modules);
if (isset($module->minimum_version)) {
$minimumVersion = $module->minimum_version;
$magentoVersion = Mage::getVersion();
$tooOld = version_compare($magentoVersion, $minimumVersion, '<');
if ($tooOld < 0) {
$exec = "modman remove $name";
exec($exec, $output);
}
}
Выполнено.