Android repo工具的清单格式是什么?

oli*_*bre 4 documentation file-format repository manifest manual

我已经将repo命令行用于基于许多Git存储库的新项目.什么是清单格式?我没有找到任何关于它的规范/手册/文档.

例如,这是简化的 default.xml

<manifest>
  <remote  name="aosp" fetch="https://android.googlesource.com" review="android-review.googlesource.com"/>
  <remote  name="github" fetch=".." review="review.cyanogenmod.org"/>
  <remote  name="private" fetch="ssh://git@github.com"/>
  <default revision="refs/tags/1.3-1" remote="github" sync-c="true" sync-j="4"/>
  <project path="build" name="CyanogenMod/android_build">
    <copyfile src="core/root.mk" dest="Makefile"/>
  </project>
  <project path="android" name="CyanogenMod/android"/>
  <project path="abi/cpp" name="CyanogenMod/android_abi_cpp"/>
</manifest>
Run Code Online (Sandbox Code Playgroud)

oli*_*bre 7

我终于找到了一些文件,我在这里发布它们对其他人有用;)

  1. 输入命令repo help manifest(来自Edward Falk的评论)
  2. 编辑文件.repo/repo/docs/manifest-format.txt(来自Bjarke Freund-Hansen的回答)
  3. 转到https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.txt(来自David Fraser的评论)