Question

I only want to clone some things, without changing them.

Is there any way to clone a repository without all the hassle of opening an account, setting up a SSH key, etc?

Was it helpful?

Solution

It's really easy. Use bzr branch lp:PROJECTNAME.

Example (no Launchpad login or keys on this machine):

$ bzr branch lp:bzr
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".

and then it proceeds to download the code.

OTHER TIPS

For those that can't or don't want to install Bazaar, we can download a tarball of a specific revision.

For example:

curl -sLo sakura.tar https://bazaar.launchpad.net/~dabisu/sakura/sakura/tarball/621

Where the revision number is a change from https://bazaar.launchpad.net/~dabisu/sakura/sakura/changes.


Or, maybe the project has the project source available for download from its project page:

curl -sLo sakura.tar.bz2 https://launchpad.net/sakura/trunk/3.7.1/+download/sakura-3.7.1.tar.bz2

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top