← Back to team overview

mvhub-dev team mailing list archive

[Branch ~mvhub-commit/mvhub/trunk] Rev 393: merged update_dev_setup_checklist

 

Merge authors:
  Dan MacNeil (omacneil)
Related merge proposals:
  https://code.launchpad.net/~omacneil/mvhub/update_dev_setup_checklist/+merge/26363
  proposed by: Dan MacNeil (omacneil)
  review: Approve - Lee Goodrich (leegoodrich)
------------------------------------------------------------
revno: 393 [merge]
committer: Dan MacNeil <dan@xxxxxxxxxx>
branch nick: trunk
timestamp: Tue 2010-06-01 16:32:33 -0400
message:
  merged update_dev_setup_checklist
modified:
  app-mvhub/doc/checklists/setup_developer_on_brave.txt


--
lp:mvhub
https://code.launchpad.net/~mvhub-commit/mvhub/trunk

Your team MVHub Developers is subscribed to branch lp:mvhub.
To unsubscribe from this branch go to https://code.launchpad.net/~mvhub-commit/mvhub/trunk/+edit-subscription
=== 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 02:55: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