作者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
推 james732:太感謝了啦! 09/07 00:31
推 leohi:感謝+1 09/07 09:24
推 hanhong:感謝! 苦惱很久了! 09/07 15:58
推 hanhong:怪了 我改成http還是不行 >"< 09/07 16:21
→ qrtt1:現在 server 不存在啊xd 09/07 17:02
→ hanhong:冏 被綿羊啃了嗎 09/07 17:12
→ nvidia:綿羊不見了 !!!! 09/08 01:36
→ gpc:看起來是徹底掛了 只能等了?@? 09/08 13:09
→ qrtt1:有些東西在失去後才知道他的重要 (淚) 09/08 14:40