【问题标题】:What is the meaning for the aosp repo tool's manifest file having remote element with attribute fetch =".."aosp repo 工具的清单文件具有属性 fetch =\"..\" 的远程元素是什么意思
【发布时间】:2022-10-06 12:56:01
【问题描述】:

好的,在 android repo 工具的清单文件中。执行后 回购初始化-uhttps://android.googlesource.com/platform/manifest

我们有一个 .repo 文件夹,其中包含一个清单文件夹,其中我们有 default.xml ,其中包含有关要提取的 repos 的信息。

根据https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.md 对于远程,获取应该具有应该在每个项目之前添加前缀的 url。

但是 default.xml\ 的 fetch 字段包含

<remote  name=\"aosp\"
           fetch=\"..\"
           review=\"https://android-review.googlesource.com/\" />

fetch 字段不应该是 android.googlesource.com。

    标签: android-source repo


    【解决方案1】:

    “..”表示清单的上层目录。清单是https://android.googlesource.com 上的主机,目录为“platform”,上层目录为“.”。所以“..”在这里表示“https://android.googlesource.com”。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-05-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-25
      • 2011-02-17
      • 2013-08-22
      相关资源
      最近更新 更多