How to fetch code [on Windows]
I’ve been meaning to write this for quite some time now so here it goes: a step by step guide on the recommended way to get the code from the phpBridges project.
- Setting up Launchpad and Bazaar
- Download and install Bazaar for Windows.
- Download PuttyGen and PageAnt from the Putty Homepage.
- Register an account at Launchpad.
- Use PuttyGen to generate an SSH key and store the private key somewhere safe (don’t close the window just yet!).
- Copy the Public Key from the PuttyGen window and add it to your launchpad account.
- Run PageAnd. Right click on the system tray icon and click Add Key to add your previously generated private key (you kept it in a place safe right?).
- Open a Command Line (start menu -> run -> type in “cmd” -> hit enter).
- type “bzr whoami launchpad_username <launchpad_email>”
- Setting up the Eclipse PDT
- Download the Zend Eclipse PDT and extract the files to the location of your choice.
- Open eclipse.exe from the files you extracted and choose your working directory.
- Follow the instructions to install the BzrEclipse plugin
- As soon as eclipse is restarted change to the php prespective and do:
- File -> New -> Project
- “Pull a branch as a new project” under Bazaar, hit next
- “Initialize a new branch location”, hit next
- As a location use the download url you can find at Launchpad
- hit next until you can name your project, choose whatever name you want and click finished.
- You’re now ready to start working!
And that does it, now you’re ready to start working on the phpBridges code. I’ll try to write up a guide on how to upload code to launchpad soon enough but for now just browse through the Launchpad Documentation on how to create new branches.
Tags: bazaar, code, contribute, eclipse, launchpad, pageant, pdt, phpbridges, putty, puttygen, ssh