Chinaunix首页 | 论坛 | 博客
  • 博客访问: 349844
  • 博文数量: 90
  • 博客积分: 2017
  • 博客等级: 大尉
  • 技术积分: 615
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-19 08:10
文章分类

全部博文(90)

文章存档

2012年(4)

2011年(74)

2010年(11)

2009年(1)

分类: 嵌入式

2011-06-21 20:11:10

//ubuntu 9.04
//http proxy: 192.168.0.6:8080
$ pwd
/home/goosen/bin
$ cat http-proxy-gw
connect -H 192.168.0.6:8080 $@

//eidt repo
#REPO_URL='
'
REPO_URL='
'

//repo init        //http proxy
//repo init -u

$ repo init -u

//repo sync
$ repo sync
FATAL: failed to begin relaying via HTTP.
fatal: The remote end hung up unexpectedly
error: Cannot fetch platform/bionic

//修改 .repo/manifest.xml(或manifests/default.xml) 为如下
fetch="
"
review="review.source.android.com" />
remote="korg" />








$ repo sync -j8         // ok!!
Getting alternates list for

Getting pack list for
Getting index for pack 775383b7b9c9fdfbda81945b50e239fd26ee1547
Getting pack 775383b7b9c9fdfbda81945b50e239fd26ee1547
which contains 74dca8530234ad6feba3f24f72af3329b4705720
got 5af37e58d633222f01765663337c6e596f228320
.......

and so on

一直以来,对于git/repo 使用git http代理都存在这样或那样的问题。
到目前为止,基本算是找到了个可行的、且也有效的方式。

阅读(2257) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

tianbianfei2011-07-15 12:45:21

楼主您好,本人刚学android,不知道android为什么签名啊?签名都有哪些作用?麻烦楼主到http://doumiw.com/market/community/t!showTopic.do?topicId=24这个网址帮着解答一下,行吗?谢谢了!

tianbianfei2011-07-14 11:06:01

楼主,请帮忙解决一个问题好吗?http://doumiw.com/market/community/t!showTopic.do?topicId=24