Closed GoogleCodeExporter closed 9 years ago
It looks like your connection to github timed out:
] github.com[0: 192.30.252.131]: errno=Connection timed out
[0:06:31]
gclient could do a better job of giving you a nice error in this case.
Does this happen repeatedly? It if happens consistently can you try running
the failing git command on the command line. In this case it looks it would be:
$ git -c core.deltaBaseCacheLimit=512m clone --no-checkout --progress
git://github.com/gildas-lormeau/zip.js
If that fails then it looks like you can't use the git protocol from behind
your proxy. Is that what you would expect?
We should probably switch to using https in any case... can you try this by
changing git:// to https:// in src/DEP.
Original comment by sbc@chromium.org
on 25 Mar 2015 at 9:24
Original comment by sbc@google.com
on 25 Mar 2015 at 9:24
i tried
$ git -c core.deltaBaseCacheLimit=512m clone --no-checkout --progress
git://github.com/gildas-lormeau/zip.js
but it failed so then i tried
$ git -c core.deltaBaseCacheLimit=512m clone --no-checkout --progress
https://github.com/gildas-lormeau/zip.js
and it was successful, so git is not allowed on my proxy. Now when i change
git:// to https:// in src/DEP and then run "gclient sync" i get error
Syncing projects: 100% ( 1/ 1) src
src (ERROR)
----------------------------------------
[0:00:00] Started.
----------------------------------------
Error: 1>
1> ____ src at refs/remotes/origin/master
1> You have unstaged changes.
1> Please commit, stash, or reset.
how should i procede...?
Original comment by skysarth...@gmail.com
on 26 Mar 2015 at 12:04
You should add this line to your .gclient (in the top level directory):
"managed" : False
Sorry, this should be in the default checkout instructions. What this means is
that you are in the change of fetching changing in the main (src) repo.
Alternatively you could commit you change to DEPS in src.
Original comment by sbc@google.com
on 26 Mar 2015 at 12:06
I changed "managed" to false in .gclient, then i run "git commit -a" i get the
following :
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got
'sarthak@sarthak-Vostro-1550.(none)')
and i again tried gclient sync...this time i am getting the following error
________ running 'svn checkout https://github.com/gildas-lormeau/zip.js@4c93974
/home/sarthak/naclports/src/third_party/zip.js --revision 4c93974
--non-interactive --ignore-externals' in '/home/sarthak/naclports'
svn: E205000: Syntax error in revision argument '4c93974'
src/third_party/zip.js (ERROR)
----------------------------------------
[0:00:00] Started.
----------------------------------------
Error: Command svn checkout https://github.com/gildas-lormeau/zip.js@4c93974
/home/sarthak/naclports/src/third_party/zip.js --revision 4c93974
--non-interactive --ignore-externals returned non-zero exit status 1 in
/home/sarthak/naclports
Original comment by skysarth...@gmail.com
on 26 Mar 2015 at 3:42
I think you need to change zip.js@4c93974 to zip.js.git@4c93974 so that
gclient knows its git repo, rather than an svn repo.
I've got a fix for this that is about to be committed:
https://codereview.chromium.org/1011133003
Original comment by sbc@google.com
on 26 Mar 2015 at 4:54
Thank you for your time and help, finally the sync was successful
Original comment by skysarth...@gmail.com
on 26 Mar 2015 at 5:20
Original comment by sbc@google.com
on 26 Mar 2015 at 5:21
Original issue reported on code.google.com by
skysarth...@gmail.com
on 25 Mar 2015 at 9:12