how to download rohc branch with bazzaar?

Asked by Gregory G on 2013-05-30

Hi,

I would like to use your Rohc library on Linux kernel.
So I need to download source with bazaar command line, as "bzr branch lp:rohc".
I think something has been downloading (during 1,5 hours), but I get nothing on my PC.
Could you be so kind to help me in order to get last sources?

Best regards

Gregory

Question information

Language:
English Edit question
Status:
Answered
For:
rohc Edit question
Assignee:
No assignee Edit question
Last query:
2013-05-30
Last reply:
2013-05-30
Atik (atik) said : #1

Hi,

in my experience "bzr branch lp:rohc" download almost 2.7 GB,

can you do "bzr branch lp:rohc --lightweight" its about 110MB+

Regards
Atik

Atik (atik) said : #2

"bzr checkout lp:rohc --lightweight" sorry about copy paste mistake.

Actually, there seems to be a bug in bazzar:
- when you are using bazaar over HTTP (ie, without being identified by LP), it downloads the 2.7GB announced by Atik.
- when you are using bazaar over SSH (correctly identified with an SSH key), only ~300MB is downloaded.
No idea where this difference is coming from...

In either case, the resulting 'rohc' folder is (at rev 748) 261MB large (with ~122MB being bazaar metadata, ~138MB for test captures and the remaining is the source code).
The '--lightweight' checkout option pointed out by Atik does an history-less checkout of the repository, and ~122MB for metada is not downloaded.

Bottom line, if you only want the last revision, a lightweight checkout should be sufficient enough. If you want access to the full history, best option is to configure your LP id and SSH credential in your bazaar configuration (see https://help.launchpad.net/YourAccount/CreatingAnSSHKeyPair for explainations on how to do this).

Regards,
Audric

Gregory G (cg-giraud) said : #4

Thanks a lot
I will test it.

Actually, I could get last version. I compile kernel version and try to test it on my ubuntu.

Regards,
Greg

Can you help with this problem?

Provide an answer of your own, or ask Gregory G for more information if necessary.

To post a message you must log in.