mvhub-dev team mailing list archive
-
mvhub-dev team
-
Mailing list archive
-
Message #00228
[Merge] lp:~omacneil/mvhub/update_dev_setup_checklist into lp:mvhub
Dan MacNeil has proposed merging lp:~omacneil/mvhub/update_dev_setup_checklist into lp:mvhub.
Requested reviews:
MVHub devs with commit rights (mvhub-commit)
see commit msg
--
https://code.launchpad.net/~omacneil/mvhub/update_dev_setup_checklist/+merge/26363
Your team MVHub Developers is subscribed to branch lp:mvhub.
=== modified file 'app-mvhub/doc/checklists/setup_developer_on_brave.txt'
--- app-mvhub/doc/checklists/setup_developer_on_brave.txt 2010-04-23 20:35:25 +0000
+++ app-mvhub/doc/checklists/setup_developer_on_brave.txt 2010-05-29 03:30:44 +0000
@@ -32,10 +32,13 @@
sudo su $NEW_DEV_USER -c 'bzr init-repo source-code'
cd source-code
- # Create trunk and release branches
+ # if user has not setup launchpad .ssh key yet
+ # move their launchpad/bazaar config out of the way
+ sudo mv ~$NEW_DEV_USER/.bazaar ~$NEW_DEV_USER/.bazaar.old
+
+ # Create trunk branch
sudo su $NEW_DEV_USER -c 'bzr branch lp:mvhub trunk'
- sudo su $NEW_DEV_USER -c 'bzr branch lp:mvhub/release release'
# Create the junk branch and set it to be the user's default
# active branch
@@ -44,59 +47,8 @@
cd ..
sudo ln -s $BASE_DIR/source-code/+junk link-to-live-code
-___ Setup Bazaar environment for new user
-
- ___ Create user's .bazaar configuration settings
-
- # Create .bazaar folder in user's home directory
- cd /home/$NEW_DEV_USER
- sudo su $NEW_DEV_USER -c 'mkdir .bazaar'
-
- # Copy bazaar config templates to user's .bazaar directory
- cdw
- cd app-mvhub/project-tools/developer_home_dir/bazaar
- sudo cp * /home/$NEW_DEV_USER/.bazaar/
-
- ___ Modify the bazaar.conf file
-
- # Replace all instances of $FIRST_NAME, $LAST_NAME,
- # $EMAIL_ADDRESS, and $LAUNCHPAD_LOGIN to fill in the user's
- # respective info. If the user has not created a launchpad
- # account, set $LAUNCHPAD_LOGIN to that user's username and
- # let the user know when they create a launchpad account to
- # use that for their login name.
-
- cd /home/$NEW_DEV_USER/.bazaar
- sudo $EDITOR bazaar.conf
-
-
-
- ___ Modify the locations.conf file
-
- # Replace all instances of $USER and $LAUNCHPAD_LOGIN with
- # the user's respective username and launchpad username.
- # These will very likely be the same thing.
-
- sudo $EDITOR locations.conf
-
-
- ___ Set the permissions
-
- sudo chown -R $NEW_DEV_USER:$NEW_DEV_USER \
- /home/$NEW_DEV_USER/.bazaar
-
- ___ Create user's .ssh config file
-
- # Change to the ssh template directory
-
- cdw
- cd app-mvhub/project-tools/developer_home_dir/ssh
-
- # Copy the config file to the user's .ssh directory
- sudo cp -ir config /home/$NEW_DEV_USER/.ssh
-
- # Set the permissions
- sudo chown $NEW_DEV_USER:$NEW_DEV_USER /home/$NEW_DEV_USER/.ssh -R
+ # move their launchpad/bazaar config back if needed
+ sudo mv ~{NEW_DEV_USER}/.bazaar/ ~${NEW_DEV_USER}/.bazaar.old
___ setup apache basic auth
Follow ups