问题标签 [repo]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1694 浏览

android - Android/Cyanogenmod 构建:从 roomservice.xml 中删除项目

我想从 CM 中早午餐生成的 roomservice.xml 中删除一个与设备相关的项目,并自己添加一个不同的 repo。理论上(在我的本地清单中,称为 mint.xml),我应该只需要 <remove-project name="Cyanogenmod/.... 但是 repo sync 告诉我

remove-project 元素指定不存在的项目

那是因为我的本地清单是在roomservice.xml之前获取的吗?

这个问题与这个有点相关: Trouble-with-cyanogenmod-local-manifest

其他来源: 关于删除项目的 CM Wiki

您知道如何在 roomservice.xml之后获取自己的清单或以某种方式实现相同吗?

感谢您的任何回答。

0 投票
1 回答
20965 浏览

git - 如何更新 repo 版本

以下是我在尝试回购同步时看到的消息。

信息:有新版本的 repo 可用

错误:无法运行 gpg:没有这样的文件或目录
错误:无法运行 gpg。
错误:无法验证标签“v1.12.17”

警告:跳过升级到未经验证的版本

如何更新我的回购版本?

0 投票
2 回答
41 浏览

node.js - 退出私有 NPM 回购

所以......我知道这可能是一个愚蠢的问题,但我似乎无法在任何地方找到信息,我想我不能成为第一个问的人......

我一直在使用我的公司内部托管的 NPM Repo 很长时间了,我忘记了如何摆脱它并切换回公共项目来进行我正在从事的个人项目......

Cookie 给第一个人告诉我怎么做。

0 投票
2 回答
11549 浏览

android - repo for all except some projects not all. is there a repo command to do this?

I have tried googling this but havent found anything relavant to what im looking for. I have a few projects in android that i have rebased to the tip. After doing that I would like to move all the remaining projects to the tip.

The below command will checkout all the projects to the tag. repo forall -c "git checkout "

I would like to skip the ones that i have rebased manually.

Appreciate your help. Thanks!

0 投票
2 回答
2480 浏览

android - repo:同步时卡住(也与-f一起使用)

昨天我想做 repo sync(我正在编译 android 源),然后我注意到它卡在 99%

我做了一些研究,人们建议使用 repo sync -f,但问题是一样的。同样在android官方页面,他们说你可以试试这个命令“sysctl -w net.ipv4.tcp_window_scaling=0”,但也不管用。

与我同步同一个 repo 的其他人没有这些问题,所以我使用这个命令来了解发生了什么(repo --trace sync -c -d -f -j8)

这是奇怪的部分:

......

: 导出 GIT_DIR=/home/yaymalaga/AOSPA+/.repo/projects/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.8.git : git rev-parse --verify refs/tags/android-5.0 .2_r1^0 1>| 2>| :加载参考/home/yaymalaga/AOSPA+/.repo/projects/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.8.git 获取项目平台/prebuilts/clang/darwin-x86/host/3.4:解析/home/yaymalaga/AOSPA+/.repo/projects/prebuilts/clang/darwin-x86/host/3.4.git/config

: 导出 GIT_DIR=/home/yaymalaga/AOSPA+/.repo/projects/prebuilts/clang/darwin-x86/host/3.4.git : git rev-parse --verify refs/tags/android-5.0.2_r1^0 1> | 2>| :加载参考/home/yaymalaga/AOSPA+/.repo/projects/prebuilts/clang/darwin-x86/host/3.4.git

在这里它卡住了。我还尝试删除 .repo 文件夹并重新进行 repo sync,但是在下载源代码时它也卡住了(99%),使用 repo sync -f 也是如此,所以知道我能做什么吗?

0 投票
1 回答
919 浏览

android - 选择性下载安卓源代码

我正在关注Google关于如何下载 Android 源代码的文档。但是我的 ISP 很慢,我已经下载了 5 天了。

我注意到它下载了对许多我不想要的设备的支持,比如 LG nexus 等。有没有办法轻松下载核心源代码和对 Nexus 7(2013,flo)的支持?

0 投票
1 回答
2115 浏览

git - 如何为 Qualcomm MSM 系统编译 Android 4.4.2?

我需要使 OpenCV 的本机摄像头在使用带有高通对 snapdragon 系统(Android 4.4.2)更改的 android 版本的设备上工作。根据这个错误报告的答案,我需要为我的项目编译目标 android 树,以便在编译 OpenCV 的本机相机库时引用。

我已将此标签标识为与设备相关的标签:LNX.LA.3.6-00210-8084.0

我获得了来源

repo init -u git://codeaurora.org/platform/manifest.git -b release --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable

回购同步

默认分支是 4.0.4。我试图用

repo forall -c git checkout LNX.LA.3.6-00210-8084.0

但是,许多子项目缺少此标签。结果,这些项目似乎不同步/不匹配。我有一种强烈的感觉,这不是更改为 MSM 4.4.2 树的正确方法,但我未能找到正确的方法。在每个项目中尝试签出标签后,运行午餐时出现错误

build/core/product_config.mk:223: *** 找不到产品“aosp_arm”的配置生成文件。停止。

** 没有产品规格:'aosp_arm' ** 你有正确的回购清单吗?

使用 repo 克隆源后,我需要运行哪些命令才能使项目处于 MSM 4.4.2 的可构建状态 - 特别是标签 LNX.LA.3.6-00210-8084.0?首次初始化时是否需要运行不同的 repo 命令?

0 投票
1 回答
60 浏览

git - Git存储库中“标签”的含义是什么以及“标签”如何工作?

我是 Git 存储库的新手。而且我不知道“标签”。它是如何工作的,我们可以从标签中得到什么?

0 投票
3 回答
6253 浏览

android - Android Repo 同步致命错误

$ repo sync为了

构建 LMY47V android-5.1.1_r1 Lollipop

导致错误:

回购同步持续了一段时间,然后因错误而失败。

有什么办法可以解决这个问题?我可以用吗

0 投票
1 回答
283 浏览

git - 在 Cygwin 中带有“winsymlinks:nativestrict”的 Android 存储库

我正在使用cygwin内置的 git 和 python 来进行 Android 回购工具。

如果我设置CYGWIN=winsymlinks,一切正常。

如果我设置CYGWIN=winsymlinks:nativestrict告诉 cygwin 制作 Windows 本机符号链接并以管理员身份运行 cygwin,在 repo init 过程中,我会收到错误消息: