[Bug 740111] [NEW] Script to set up development environment

Daniel Holbach daniel.holbach at ubuntu.com
Tue Mar 22 11:10:15 UTC 2011


Public bug reported:

Binary package hint: ubuntu-dev-tools

It'd be great to have a script that sets up your development environment. In an ideal world, people would just run these commands and be fully set up:
 - $ sudo apt-get install ubuntu-dev-tools
 - $ ubuntu-dev-setup

The script would do the following (there's probably more it should do in the future, but this is all I can think of):
 - ask for name and email address
 - check if a gpg key exists (check for files in ~/.gnupg(?)), if not create one (there's an experimental feature of gnupg to create keys in 'batch mode') and upload it
 - check if a ssh key exists, if not create one (check for ~/.ssh/id_rsa.pub(?)) (ssh-keygen -t rsa)
 - add DEBFULLNAME/DEBEMAIL to ~/.bashrc (not sure yet, what's the best way to do that; also what about zsh users)
 - find out current development series (lplib) and run "pbuilder-dist <series> create" if necessary (check for ~/pbuilder/<series>-base.tgz)
 - find out launchpad id (lp.people.me) and run 'bzr whoami "<name> <<email>>"' and 'bzr launchpad-login <launchpad-id>'
 - open https://launchpad.net/people/+me/+editpgpkeys and https://launchpad.net/people/+me/+editsshkeys in a browser
 - open https://launchpad.net/+login if no launchpad id exists

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Wishlist
         Status: New

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in Ubuntu.
https://bugs.launchpad.net/bugs/740111

Title:
  Script to set up development environment




More information about the universe-bugs mailing list