cd /cygdrive/j/download
mkdir bin
PATH=$PWD/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
mkdir src
cd src
repo init -u https://android.googlesource.com/platform/manifest -b android-2.3_r1
repo sync
after downloading begin, sometime connection will be broken, when connection is broken, input command "repo sync", downloading can continue.
when downloading re-start, more times counter is x%(y/165), fewer is x%(y/166), i don't know why.
when downloading reach 97% (161/165) or 97% (162/166), don't forward any more
---------------------------------------------------------------------------------------------------------------------------
Fetching projects: 97% (161/165) Fetching project platform/external/blktrace
when z/901775 reach 80% or so again, connection will be broken again, repo sync it again. like this over and over, again and again, i'v been downloading eight days, not yet finished.
i checked all downloaded source file's sum size, it's increasing from 5G, to 10G, 20G, 30G, now time is 36G.
others tell me it's a 2G zip files and unzip to 5G size, another tell me downloaded all size is 10G, but i have downloaded 36G, not fininshed
my question is:
1. is there wrong with my downloading?
2. what' size of android-2.3_r1 source?
any advise is appreciated.
Sad story... I am a Chinese too.
At first,the VPN you buy is not very good.VPN don’t need any client usually,I think it would be better if you buy a VPS on digitalocean or linode and then setup a pptp VPN server by yourself,and in this way you can download sourcecode on linux rather than cygwin.
Also, you say that you have download sourcecode about 8 days,but i don't think it can be that long.
> --
> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
run curl failed, because https://storage.googleapis.com cannot access:
curl https://storage.googleapis.com/git-repo-downloads/repo > ./bin/repo
so i copy cywin on winxp repo to centos 6.0
cd ~
mkdir -p android/android-2.3_r1
cd android
mkdir bin
--copy repo from cywin on winxp to ~/android/bin
PATH=$PWD/bin:$PATH
cd android-2.3_r1
repo init -u https://android.googlesource.com/platform/manifest -b android-2.3_r1
then failed
---------------------------------------------------------------------------
Get https://gerrit.googlesource.com/git-repo
fatal: Unable to find remote helper for 'https'
216.239.32.6 android.googlesource.com
216.239.32.6 gerrit.googlesource.com
203.208.46.200 www.googlesource.com
yum install zlib-devel curl curl-devel openssl-devel perl cpio expat-devel gettext-devel
install curl-7.29.0
wget http://curl.haxx.se/download/curl-7.29.0.tar.gz
tar zxvf curl-7.29.0.tar.gz
cd curl-7.29.0
./configure
make
make install
curl --version //used check curl version
install expat-2.1.0 openssl
change /lib/libexpat.so.1 link to new install version
install git-latest.tar.gz
wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz
tar xzvf git-latest.tar.gz
cd git-2012-10-11
autoconf
./configure
make
make install
mkdir -p android/android-2.3_r1
cd android
mkdir bin
//copy repo from cywin run on winxp to ./bin
chmod a+x ./bin/repo
PATH=$PWD/bin:$PATH
cd android-2.3_r1
git config --global user.email "em...@gmail.com" (replace email a real one)
git config --global user.name "google-user-name" (replace username a real one)