can't download sources

521 views
Skip to first unread message

Nicolas Micoud

unread,
Nov 19, 2012, 6:56:36 AM11/19/12
to idem...@googlegroups.com
Hi,

Since last friday, i've tried 5 times to download sources of Idempiere. It never succeed.
Here extract from command window (i'm using Windows 7) :

D:\Dev\deviDempiereTest\idempiere>hg clone https://bitbucket.org/idempiere/idempiere
destination directory: idempiere
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
abort: stream ended unexpectedly (got 273325 bytes, expected 529680)


Any ideas ?

Thanks,

Nicolas

Henrique Meira

unread,
Nov 19, 2012, 7:31:35 AM11/19/12
to idem...@googlegroups.com
the size of source code is very big (1,6 GB). Probably your connection was lost.

I did clone from my server in Germany, with lan speed 100mbit/s.

If you want, I can send you a link to you download the ziped source code, then, you will need update your local source code.

henrique.





2012/11/19 Nicolas Micoud <nmi...@tgi.fr>

Nicolas Micoud

unread,
Nov 19, 2012, 7:38:38 AM11/19/12
to idem...@googlegroups.com
Yes, that would be helpful.
Nevertheless, when i will have unzipped sources, will they be 'linked' the the repository ? So i can easily make updates ?

Thanks,

Nicolas

Heng Sin Low

unread,
Nov 19, 2012, 7:55:32 AM11/19/12
to idem...@googlegroups.com
you can try


I believe it should contains the full history which will allow you to make hg pull later.

Nicolas Micoud

unread,
Nov 19, 2012, 8:13:44 AM11/19/12
to idem...@googlegroups.com
I managed to download the zip fastly !
I extract it but when trying to execute an hg command, i got this message :

D:\Dev\devIdempiereTest\idempiere>hg pull https://bitbucket/idempiere/idempiere
abort: no repository found in 'D:\Dev\devIdempiereTest\idempiere' (.hg not found)!

So, i think this zip only contains 'raw' sources.

WDYT ?


--
Nicolas MICOUD

Tél : 04 37 41 30 00 - Fax : 04 37 41 00 01

- Saint Genis Les Ollières
nmi...@tgi.fr

Henrique Meira

unread,
Nov 19, 2012, 8:21:23 AM11/19/12
to idem...@googlegroups.com
Try it:

user: nicolas.micoud
pass: idempiere

You'll see an folder named Shared.

Download the idempiere.tar.gz (the 7-zip is enabled to extract tgz files).

After, extract and run:

cd <where idempiere folder is>
hg pull
hg update

That's it. This package is targeted to https://bitbucket.org/idempiere/idempiere .

henrique.
signbody.jpg
signhead.jpg
signfoot.jpg

Carlos Antonio Ruiz Gomez

unread,
Nov 19, 2012, 8:29:54 AM11/19/12
to idem...@googlegroups.com
Nicolas, mercurial is not able to restart a failed clone operation.

The trick we used on slow connections is:

hg clone -r 1 https://bitbucket.org/idempiere/idempiere
cd idempiere
hg pull -r 100 -u
hg pull -r 200 -u
hg pull -r 300 -u
hg pull -r 400 -u
hg pull -r 500 -u
and so on

The number of revisions downloaded on each step can vary depending on your internet connection.
You can make this a shell script and just leave it running

Regards,

Carlos Ruiz

Nicolas Micoud

unread,
Nov 19, 2012, 9:12:00 AM11/19/12
to idem...@googlegroups.com
@ Henrique : It works perfectly, thanks a lot !

@ Carlos : It also works perfectly, thanks a lot ! (i'm currently using it  on my fork of idempiere)

Regards,

Nicolas


redhuan d. oon

unread,
Nov 19, 2012, 11:54:41 PM11/19/12
to idem...@googlegroups.com
After doing a hg clone, you go into the new folder. Do a cd \<idempiere> before doing a hg pull (without the website URL). And ensure you have permisisons. For mine i do it from su root.

kiruba...@konnectbi.com

unread,
Nov 14, 2017, 9:16:53 AM11/14/17
to iDempiere
 can you please tell me how to clone source code in my windows based machine 

i'm using tortoiseHG mercurial client but not clone completely it's automatically stop in middle of clone 

Carlos Antonio Ruiz Gomez

unread,
Nov 14, 2017, 12:52:25 PM11/14/17
to idem...@googlegroups.com
You can try to download the zipped repository from:
https://sourceforge.net/projects/idempiere/files/v5.1/source-repo/

And then pull the updates with tortoise.

Regards,

Carlos Ruiz
Reply all
Reply to author
Forward
0 new messages