作者gpc (gpc)
看板AndroidDev
标题Re: [问题] 请问一下现在能连android.git.kernel.o …
时间Mon Sep 5 15:36:53 2011
※ 引述《gpc (gpc)》之铭言:
: 不能抓code的日子还真难熬阿
: ----
: Yes, android.git.kernel.org and review.source.android.com are down
: right now. We have taken them offline while we verify that the Android
: source code (which includes gerrit and repo) has not been affected by
: the recent kernel.org security breach. We are reviewing the code now
: and will and restore these systems as quickly as possible.
: Sorry for the inconvenience.
等太久 附上可以抓code的方法 因为git挂了 但HTTP没 所以用HTTP抓
$ curl
https://android.git.kernel.org/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
把bin/repo里面的 git://改成http://
REPO_URL='
http://android.git.kernel.org/tools/repo.git'
同上 把git://改成http://
$ repo init -u
http://android.git.kernel.org/platform/manifest.git -b froyo
进入 .repo/manifest/default.xml 改一下 remote fetch的位置 一样是同上
<remote name="korg"
fetch="
http://android.git.kernel.org/"
改好储存 再来就是 repo sync即可抓!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 118.167.234.115
1F:推 james732:太感谢了啦! 09/07 00:31
2F:推 leohi:感谢+1 09/07 09:24
3F:推 hanhong:感谢! 苦恼很久了! 09/07 15:58
4F:推 hanhong:怪了 我改成http还是不行 >"< 09/07 16:21
5F:→ qrtt1:现在 server 不存在啊xd 09/07 17:02
6F:→ hanhong:冏 被绵羊啃了吗 09/07 17:12
7F:→ nvidia:绵羊不见了 !!!! 09/08 01:36
8F:→ gpc:看起来是彻底挂了 只能等了?@? 09/08 13:09
9F:→ qrtt1:有些东西在失去後才知道他的重要 (泪) 09/08 14:40