Launchpad & Bazaar Use Launchpad to work on team projects Use Bazaar a Distributed Version Control System D-VCS.

Slides:



Advertisements
Similar presentations
TortoiseSVN By Group 1 Team B. Installing TortoiseSVN.
Advertisements

Client-server practices DSC340 Mike Pangburn. Agenda Overview of client-server development Editing on client (e.g., Notepad) or directly on server (e.g.,
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Services Course Live SkyDrive Participant Guide.
My Workspace Profile. Using the course menu, click on Profile.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
Presented by Mina Haratiannezhadi 1.  publishing, editing and modifying content  maintenance  central interface  manage workflows 2.
Tutorial Introduction Fidelity NTSConnect is an innovative Web-based software solution designed for use by customers of Fidelity National Title Insurance.
What do I need in order to use TeamSpot? The TeamSpot A 42” monitor and computer with special software located in Moody Garden Lab. Always kept logged.
Version Control with Subversion. What is Version Control Good For? Maintaining project/file history - so you don’t have to worry about it Managing collaboration.
SSH. Review 1-minute exercise: Find the open ports on you own VM [Good] nmap [Better] netstat -lpunt.
A primer on version control at OTN
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Drexel University Software Engineering Research Group Git for SE101 1.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
1. If you know your user name (first initial, last name) and password, you will start here If you do not know your user name, start here and register.
Wiki Workshop Tech PD.
CSE 219 Computer Science III CVS
Git Fundamentals Rochelle Terman 13 January 2014.
Configuring Sourceforge’s CVS to work with Forte (3.0 or later) on WindowsNT and Windows 2000 Specific for MAExplorer.sourceforge.net Written by Eric Shen,
Access Forms and Queries. Entering Data in Your Table  You can add data to your table in Datasheet view, by typing in the columns and rows.  This.
1 Double Click to Edit. Installing Evernote 22 First, download the installation software. Open your favorite web browser and visit the Evernote Web site.
Linux Services Configuration
Apache, MySQL and PHP Installation and Configuration Chapter 2 MySQL Installation and Configuration.
Intro to Git presented by Brian K. Vagnini Hosted by.
12 CVS Mauro Jaskelioff (originally by Gail Hopkins)
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
1 CSE 303 Lecture 19 Version control and Subversion ( svn ) slides created by Marty Stepp
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Here are some things you can do while you wait 1.Open your omeka.net site in your browser (e.g. 2.Open.
Multi-Domain Hosting CPTE 212 “Missing Slides” for 1/22/2015 John Beckett.
Building Your Own Website Using:. Install & configure LAMP. Download WordPress and run it as a local website on your Raspberry Pi. Configure WordPress.
Git A distributed version control system Powerpoint credited to University of PA And modified by Pepper 28-Jun-16.
Jun-Ru Chang Introduction GIT Jun-Ru Chang
9/21/04 James Gallagher Server Installation and Testing: Hands-on ● Install the CGI server with the HDF and FreeForm handlers ● Link data so the server.
GIT Version control. Version Control Sharing code via a centralized DB Also provides for Backtracking (going back to a previous version of code), Branching.
Installing iHRIS Install iHRIS Manage on an Ubuntu System
Lesson 13 PROTECTING AND SHARING DOCUMENTS
Version Control Systems
Using the Personal Image Photo Library
Development Environment
Using iLocker.
SVN intro (review).
Version Control.
CS/COE 1520 Recitation Week 2
L – Modeling and Simulating Social Systems with MATLAB
L – Modeling and Simulating Social Systems with MATLAB
Version Control overview
Part 3 – Remote Connection, File Transfer, Remote Environments
Services Course 9/9/2018 3:37 PM Services Course Windows Live SkyDrive Participant Guide © 2008 Microsoft Corporation. All rights reserved.
Version Control Systems
Assignment Preliminaries
Launchpad & Bazaar Use Launchpad to work on team projects
Storing, Sending, and Tracking Files Recitation 2
Lab 1 introduction, debrief
Bomgar Remote support software
Lesson 13 PROTECTING AND SHARING DOCUMENTS
Creating a Media Server with a Raspberry Pi
How to use PSCEZPRINT prairiestate.edu/ezprint Web site address: 1 2
Lesson 6: Protecting, Maintaining and Managing Databases
User Guide Subversion client TortoiseSVN
SMS The following presentation will provide a brief synopsis of the key functions of the FltPlan.com FRAT system and your SMS program. Rev. 2, Updated.
Configuring Internet-related services
Microsoft Visual Source Safe How & Why
Version control with Git Part II
Git CS Fall 2018.
CMPE/SE 131 Software Engineering February 14 Class Meeting
Teacher Registration for MathXL® for School
Presentation transcript:

Launchpad & Bazaar Use Launchpad to work on team projects Use Bazaar a Distributed Version Control System D-VCS

Launchpad & Bazaar: SSH Key Browse to and create an account: usernamehttp:// Generate a ssh-key on your machine: Open a terminal Install ssh: sudo apt-get install openssh-client Generate a key: ssh-keygen -t rsa When prompted, press Enter to accept the default file name for your key Enter a password (Optional) Public key is stored in: ~/.ssh/id_rsa.pub Private key (secret!) is stored in: ~/.ssh/id_rsa.pub

Launchpad & Bazaar: SSH Key Upload the ssh-key to launchpad Browse to You will see a place that says SSH Keys with an exclamation point (!) in a yellow circle next to it Click on the (!) scroll down until you see Add an SSH Key and a text box We will paste our public key into this text box: In a terminal: gedit ~/.ssh/id_rsa.pub & Copy and paste from gedit to the web browser Now simply click on the button Import Public Key Each computer you use, you need to import the ssh-key

Launchpad & Bazaar: Bazaar Bazaar is a Version Control Software (VCS) bzr is the main command to use Create a branch to hold your code: bzr init Add files to your branch: bzr add Tell bzr who you are: bzr whoami Change and commit code to your branch: bzr commit See what has not been commited: bzr status See what changes have been made: bzr log Make a copy of a branch: bzr branch Install bzr: sudo apt-get install bzr bzrtool

Launchpad & Bazaar: Locations Bazaar can work with files on your computer Launchpad has a Bazaar service you can use to host branches Files are publically readable You can control who can change the files by individual or teams Don't have to worry about backing up source code Create a project on launchpad to hold multiple branches: ihris-manage, i2ce, ihris-manage-lesotho Use the translation capabilities built into launchpad bzr knows about launchpad – it's easy!

Launchpad & Bazaar: Example Our playground: Create a ”hello world” application in PHP work in teams

Launchpad & Bazaar: Teams Our playground: Launchpad uses teams to control who can modify code it stores under bazaar Split up into teams Designate a team owner Create a team his-workshop-teamZ Everyone join the team

Launchpad & Bazaar: Project Our playground: Launchpad uses projects to group related code (branches), manage software releases, translations, etc Create a project his-helloworld-Z GPL V3 Assign your teams as the Maintainer of the project: Click the yellow exclamation point

Apache: helloworld.php Owner creates a directory for trunk of our hello world web application mkdir -p ~/helloworld/trunk Create our helloworld.php gedit ~/helloworld/trunk/helloworld.php Add the following to our helloworld.php <?php echo ” Hello HIS Gathering \n”; Make it available to apache webserver sudo ln -s ~/helloworld/trunk /var/www/helloworld

Bazaar: Initial Commit Team owner needs to make the bzr branch and the intial commit cd ~/helloworld/trunk bzr init bzr add bzr commit -m ”Initial code for hello world application”

Bazaar & Launchpad: Putting the Code on Launchpad Team owner goes to ”Registers a Branch” at: Owner: his-workshop-teamZ Name: trunk Branch Type: hosted Team owner puts the code on launchpad cd ~/helloworld/trunk bzr push --use-existing-dir lp://staging/~his-workshop/his-helloworld-Z/trunk bzr bind lp://staging/~his-workshop/his-helloworld-Z/trunk

Bazaar Launchpad: Getting the code Other team members want to checkout code. Get a copy of the code from launchpad mkdir ~/helloworld bzr branch lp://staging/~his-workshop/his-helloworld-Z/trunk Bind the code to launchpad – all commited changes automatically go to launchpad cd ~/helloworld/trunk bzr bind lp://staging/~his-workshop/his-helloworld-Z/trunk

Bazaar & Launchpad: Commits Team owner needs to make the intial commit If we commit to the (unbound) branches changes are only local – they do not get pushed up to launchpad automatically To put changes to code on launchpad can use: bzr checkout: use instead of bzr branch bzr push: if you used bzr branch this will move committed code to launchpad one time only bzr bind: changes a bzr branch to a bzr checkout bzr info: tells you what is going on

Changing The Code Other team member wants to add a footer file cd ~/helloworld/trunk gedit footer.php Add the contents and save: echo ” Today is ”. date("D, d M Y"). ” \n”; Edit the helloworld.php gedit helloworld.php Append the line to the end of the file and save: include(”footer.php”);

Committing the Changes Commit the changes to launchpad cd ~/helloworld/trunk bzr add footer.php bzr commit -m ”Added footer” Look at changes at: Team members get changes: cd ~/helloworld/trunk bzr update

Renaming files Team member notices helloworld should be index cd ~/helloworld/trunk bzr mv helloworld.php index.php bzr commit -m ”Renamed helloworld.php to index.php” Team members get changes: cd ~/helloworld/trunk bzr update