怎么办关于AOSP回购同步卷曲clone.bundle错误卷曲、错误、AOSP、bundle

2023-09-05 05:42:01 作者:同神明观人间

在下载时的主分支从AOSP我收到以下错误:

卷曲:(22)所请求的URL返回的错误:404未找​​到
服务器不提供clone.bundle;忽略。
 

这是为什么错误来了吗?

日志:

  * [新标签] Android的CTS-4.4_r1  - > Android的CTS-4.4_r1
 * [新标签] Android的SDK-4.4.2_r1  - > Android的SDK-4.4.2_r1
获取项目:7%(四百四十八分之三十二)正在提取项目平台/封装/应用程序/ Launcher3
  %合计%收稿%Xferd平均速度时间时间时间电流
                                 DLOAD上传总花费左速度
  0 0 0 0 0 0 0 0  - : - : -   - : - : -   - : - : -  0
卷曲:(22)所请求的URL返回的错误:404未找​​到
服务器不提供clone.bundle;忽略。
 94 88.8M 94 83.9M 0 0 0 294K 0点05分〇八秒零时04分51秒0点00分17秒357kremote:发送约108.84 MIB ...
遥控器:计数对象:9,做
遥控器:寻找来源:100%(9/9)
 94 88.8M 94 84.1M 0 0 0 294K 0点05分〇八秒〇时04分52秒〇时00分16秒303kReceiving对象:0%(四万四千三百二十三分之一)
 

解决方案

回购尝试下载一个prepackaged包文件,以引导之前,通过Git的HTTP协议下载最新的数据每个混帐。后者是在服务器端,并导致更糟糕的表现更加昂贵,因此包文件允许下载削减一些角落。如果一个包文件不可用(如在这种情况下),回购会忽视它仍要继续。换句话说,不支付任何注意。

Win10系统时间设置 同步 同步服务器修改方法

Upon downloading the master branch from AOSP I get the following error:

curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.

Why is this error coming?

Log:

 * [new tag]         android-cts-4.4_r1 -> android-cts-4.4_r1
 * [new tag]         android-sdk-4.4.2_r1 -> android-sdk-4.4.2_r1
Fetching projects:   7% (32/448)  Fetching project platform/packages/apps/Launcher3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
 94 88.8M   94 83.9M    0     0   294k      0  0:05:08  0:04:51  0:00:17  357kremote:        Sending approximately 108.84 MiB ...
remote: Counting objects: 9, done
remote: Finding sources: 100% (9/9)
 94 88.8M   94 84.1M    0     0   294k      0  0:05:08  0:04:52  0:00:16  303kReceiving     objects:   0% (1/44323)   

解决方案

Repo attempts to download a prepackaged bundle file to bootstrap each git prior to downloading the most recent data via Git's HTTP protocol. The latter is more expensive on the server side and results in worse performance so the bundle file allows the download to cut some corners. If a bundle file isn't available (like in this case), Repo will ignore it and proceed anyway. In other words, don't pay any attention to this.