Skip to content

Instantly share code, notes, and snippets.

@nottrobin
Last active August 29, 2015 14:14
Show Gist options
  • Select an option

  • Save nottrobin/3da2be44e6e9b214df04 to your computer and use it in GitHub Desktop.

Select an option

Save nottrobin/3da2be44e6e9b214df04 to your computer and use it in GitHub Desktop.
Setup user permissions for the bzr-sync server
sudo adduser bzr-sync # Create new bzr-sync user
sudo su bzr-sync # Change to bzr-sync user
ssh-keygen # Create new RSA key
cat ~/.ssh/id_rsa.pub # Add this public key to Github and Launchpad
# Now check we can clone your github projects properly
git clone git@github.com:example/example-project
rm -r example-project # Once we've tested this, delete the project again
# And check we can branch and push to launchpad projects
bzr branch lp:example-project # Branch a project
cd example-project # Change to its directory
bzr push :parent # Check pushing works
rm example-project # Cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment