 Tips and Tricks for Using StarTeam More Effectively StarTeam 3002 Preconference Tutorial.

Slides:



Advertisements
Similar presentations
Introduction to Settings WEAVE: Assessment on Your Own Terms.
Advertisements

The essentials managers need to know about Excel
Lecture 10 Sharing Resources. Basics of File Sharing The core component of any server is its ability to share files. In fact, the Server service in all.
Setting up Articles Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic.
Using MicroStrategy with Excel
Lecture 4 Basic Scripting. Administrative  Files on the website will be posted in pdf for compatibility  Website is now mirrored at:
ONYX RIP Version Technical Training General. Overview General Messaging and What’s New in X10 High Level Print and Cut & Profiling Overviews In Depth.
How to use a scanner Throughout this slide show there will be hyperlinks (highlighted in blue) follow the hyperlinks to navigate to the specified Topic.
Student Manager Catalog Builder An ACEware Webinar.
Software Configuration Management Donna Albino LIS489, December 3, 2014.
TAKS Strategies Review. Strategies Review… Today we will review the strategies we have discussed over the course of this six weeks. Write down the strategies.
CVS Selim Çıracı Ahmet Kara Metin Tekkalmaz. CVS – Open Source Version Control System Outline What are Version Control Systems? And why do we need them?
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
1 CMPT 275 Software Engineering Revision Control.
G51FSE Version Control Naisan Benatar. Lecture 5 - Version Control 2 On today’s menu... The problems with lots of code and lots of people Version control.
Introduction to Git and Github Joshua imtraum.com.
BIT 285: ( Web) Application Programming Lecture 07 : Tuesday, January 27, 2015 Git.
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.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Electronic Student Information System. NC WISE Setting Up the Spreadsheet for 3-5 teachers Note: The spreadsheet must be set up each year prior to use.
The Design Workshop Introduction to Version Control 1.
1 Software Development Configuration management. \ 2 Software Configuration  Items that comprise all information produced as part of the software development.
G-Databases Competency 7.00 Objective 7.01 Demonstrate basic database concepts and functions.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Presenter- Deborah Coker  Advantages of having a site  Features you may want to have on your site  Menus, Tabs, and Ribbons  Creating.
Version control Using Git Version control, using Git1.
…using Git/Tortoise Git
Welcome to 5 th Grade Mrs. Rydzel’s Class. About Our Class: I strongly believe that parents and teachers working together will give each student the best.
ClearCase Basics XML presentation.
SIGNZ V3.39 Centre Proposals SIGNZ V3.39 Centre Proposals.
Colleague, Excel & Word Best of Friends Presented by: Joan Kaun & Yvonne Nelson College of the Rockies.
Team 708 – Hardwired Fusion Created by Nam Tran 2014.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
Introduction to Excel Editing Your Workbook.
PROJECT LOG MOLLY ATKINSON. 10/09 Today, I got to grips with the course outline, which included creating the relevant folders for all my future publications,
Microsoft ® Office Excel 2003 Training Using XML in Excel SynAppSys Educational Services presents:
By: Anuj Sharma. Topics covered:  GIT Introduction  GIT Benefits over different tools  GIT workflow  GIT server creation  How to use GIT for first.
Easy Grade Pro: The Basics Presented By Mr. Paul Salmon.
Refactoring and Synchronization with the StarTeam Plug-in for Eclipse  Jim Wogulis  Principal Architect, Borland Software Corporation.
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Lesson # 9 HP UCMDB 8.0 Essentials.
LANDESK SOFTWARE CONFIDENTIAL Tips and Tricks with Filters Jenny Lardh.
1 MSTE Visual SourceSafe For more information, see:
1 11 Exploring Microsoft Office Access 2007 Chapter 6 Data Protection.
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
2136 Gallows Road, Suite F, Dunn Loring, VA Phone: Fax: Business Analyst Training 1 Module 5.2 Rational ClearCase.
Word Create a basic TOC. Course contents Overview: table of contents basics Lesson 1: About tables of contents Lesson 2: Format your table of contents.
Part 4: FCM and the UM University of Reading, December 2015.
PestPac Software. Overview: Effective with the release of Version 1.38, all payment entry will be done through the QuickPayment Entry screen. The design.
Version Control and SVN ECE 297. Why Do We Need Version Control?
WinCVS Training è Basic Concepts è Download & Setup è Importing a new module into CVS Repository è Getting new module from CVS è Getting Latest version.
Mastering Teststand Deployment Images J. Eagar, Control
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
1 Ivan Marsic Rutgers University LECTURE 2: Software Configuration Management.
BIT 285: ( Web) Application Programming Lecture 07 : Tuesday, January 27, 2015 Git.
TIME MANAGEMENT: One of the Key Components to Being a Successful Online Student Unit 2.
SI Ad hoc report builder overview
User Manual for Contact Management Customer Relationship Management (CRM) for Bursa Malaysia 2014 Version 1.0 | 4 September 2014.
Lesson # 9 HP UCMDB 8.0 Essentials
Setting up Categories, Grading Preferences and Entering Grades
Version Control with Subversion
LECTURE 2: Software Configuration Management
Version control, using Git
CVS revisions UML diagram
Mail Merge Instructions (Yanick’s Version)
Adding Assignments and Learning Units to Your TSS Course
LECTURE 3: Software Configuration Management
Carthage ios 8 onwards Dependency manager that streamlines the process of integrating the libraries into the project.
Presentation transcript:

 Tips and Tricks for Using StarTeam More Effectively StarTeam 3002 Preconference Tutorial

2 Welcome  We are here to learn and have fun (not yell at the speaker).  Cell phones on vibrate  Please interrupt with questions  Q&A will include demo

3 Outline Using StarTeam Effectively Personal Options Speed, Performance Bandwidth Concerns Labels View Revision Check out revision Views What are they View Matrix Ten basic views Business Cases Using the Promotion States Project Branching Strategies Build the tips Branch All Label Stable Main branch

4 Truisms of StarTeam “Truisms are bad in my opinion.” –Ferris Bueller  View Labels are attached to everything, Revision labels are attached to nothing.  Every folder has a working directory.  You never log into a project it is always a view.  Filters have three parts: What you want to see, how you want to see it, and based on what criteria  View Labels are attached to the tip revision of every item in a view.  Change the alternate working directory, never the default.  Be able to manage branching in your head.  Keep it simple StarTeam.  Flexibility is StarTeam’s best and worst attribute.  Views are WHAT you want to see, WHEN you want to see it.  Once something is added to StarTeam it is never deleted.

5 Personal Options  There are over 100 options to configure in StarTeam.  Learn them, know them, live them

6 Personal Options  MPX

7 Personal Options  File Tab

8 Personal Options  Object Tabs  Very similar, once you seen one, you’ve seen them all.

9 Filters and Queries  Filters and Queries are two of the most under rated tools in StarTeam. They help us:  Manage Branching  Manage Views with many objects (20,000).  Identify anomalies in Views

10 Filters  Use Case 1  Manage Branching

11 Filters  Use Case 2  Manage Views with many objects

12 Filters  Identify Anomalies

LABELS

14 Labels  A “Label” is used to identify a configuration by attaching it to the specific revisions of items that comprise that configuration.  Without labels, one would have to retrieve the correct revision of each item individually.  Check out “Framework”  Check out “CPA” 4.5  Check out “SM” 4.5  With labels, one can retrieve the entire configuration with a single checkout operation.  Check out all item revisions that have label “Quest Central 5.0” attached.

15 Classic View of Labels File A File B File C File D File E File F

16 But in Reality  View Labels exist as a time stamp.  So it is more accurate to say that a view label will be attached to the revision of every object in a view that was current at the moment the label is created.

17 Exception List  When we adjust labels we are creating an exception list. “This label is whatever was current at 5:30pm on 11/6, except…..A….B….C-7:30pm 11/6”

18 Revision Labels v. View Labels  View labels are attached to everything, revision labels attached to nothing.  View Labels are boring.  GUI is confusing. Labels Labels Labels  Revision Labels are much more interesting.

19 Revision Labels Two for one deal.  Remember Revision Labels start with nothing, so by highlighting files before we create the label, we get a…..

20 Tricky Revision Labels  But now that we have a revision label, and file revisions attached to it, how do you get it out?  Three steps in the GUI, but if you understand it there it makes the command line and SDK, much easier to understand.  Select By Label  Select Check Out  Check out by Labeled Revision

21 Revision Labels Select By Label Check Out. Then you adjust the configuration to the selected label. Otherwise you will get the current revision

Views

23 What are we managing?  One Product, One Build Process?  Many Products, Common Build Structure?  Many Products, Common Components?  Many Products, Many Releases, Common Components? The truth is that we manage all these things. So, how can StarTeam help? And where it can hurt?

24 What is a view? A view is a way of looking at a project in StarTeam. But WHAT objects do you want to see?  All  Docs Only  Common Components  Other

25 What is a view? Now you have to decide WHEN you want to see these objects?  Floating  Labeled  Configuration (as of)

26 What is a view? And of course…. How do you want this new view to interact with the parent view? HOW do you want branching to behave?  Read Only  Branch All  Branch None

27 List A - List B Method Choose one from List A and one from List B List A (How) Floating Labeled Configuration (as of) Read Only List B (When) Branch All Branch None

28 List A - List B Method There is only one view behavior that is an exception to this rule; Mirrored or Reference Views But they are the easiest to understand; Any changes to the “Child View” will be seen in the “Parent View”. Any changes in the Parent view will be seen in the Child view.

29 If we create a Mirrored view, what behavior will we see? Version 1.3 was checked in Friday at 5:30pm Version 1.2 has label “Build 105” attached to it View A (Parent) View B (Child) Mirrored

30 Introduction to TIME  The time element of Views can be one of three basic states: Floating, Labeled, Configuration (as of) Version 1.3 was checked in Friday at 5:30pm Version 1.2 has label “Build 105” attached to it Floating Config as of Labeled

31 Read-Only If we create a Read Only view, what behavior will we see? Version 1.3 was checked in Friday at 5:30pm Version 1.2 has label “Build 105” attached to it View A (Parent) View B (Child) Mirrored Changes will not be allowed

32 Branch All If we create a Branch All view, what behavior will we see? View A (Parent) View B (Child) Mirrored Version 1.3 was checked in Friday at 5:30pm Version 1.2 has label “Build 105” attached to it All Items will branch, but one at a time

33 Branch None If we create a Branch None view, what behavior will we see? View A (Parent) Version 1.3 was checked in Friday at 5:30pm Version 1.2 has label “Build 105” attached to it View B (Child) Mirrored This branch will remain read only until the Branch On Change attribute is set Files, folders or the whole View can be set to Branch on Change at once.

34 Create a View Select View – New Remember List A?

35 View Wizard Then Select the root of the new view. WHAT Then choose a working directory. Changing the working directory for every view is a best practice.

36 Select the new view’s configuration (When)? Remember List B? View Wizard And Finish

37 Reference Tab Current View

38 Nuances of Views  Views are simple to setup, use and manage. What is hard is the individual branching within folders and objects.  Folders can branch, Files can Branch, but so can Change Requests, Requirements and Topics. View 1 View 2 Branch All Floating View 3 Branch None Label Folder A Folder B File X Shared between folders Folder A Folder B File X Folder A Folder B File X

39 Nuances of Views  Now Predict the behavior of File X in Folder B, of View 3 when a developer checks into Folder A in View 1.  We should focus our efforts controlling branching on a folder level rather than on the view level.

40 Branching - Item versus Project  The discussion of views forces us to generalize about the behavior between two views, however in reality this is an item by item branching behavior. Hence the confusing terminology “Branch All” means that all the individual items have been set to Branch On Change.

41 Branching - Item versus Project  In any given view it is possible and likely to have many different branching behaviors.

Project Branching Strategies

43  I can use Labels  I understand Views  I think I understand the business cases for views Now What? What branching strategy will work for me?

44 Branching Strategies Build the Tip Advantages  Simple  Easy to manage  No need to branch at all Disadvantages  Must Integrate changes immediately  High Risk Daily Builds  Support of multiple releases more difficult Build 100 Released to GA

45 Branching Strategies Branch All Label GA Candidate BAL View P1 Fix Releases and maintenance from branched view Current Development

46 Branch All Label Branching Strategies Advantages  One view type to manage  Branched views deleted over time  All current / future development done in main/root view Disadvantages  Manual merging of changes  Releases managed from branches

47 Branching Strategies Ready for Build Build 100 Revision Labels New Build Label copied from last build then adjusted for “Ready” Revision Labels

48 Branching Strategies Ready for Build Advantages  More Flexibility  Allows rolling out of changes  Encapsulates changes  Allows post development CCB. Disadvantages  Most complex of build practices  More changes per build, complicates

49 BAF View Branching Strategies Stability Centric (Quality Controlled) BAF View Future Development When development is done. Label is applied. Approved by QA/QC. Merge into main view controlled by QA/QC After Merge, new “Approved” Label Created for branching

50 Advantages  Very Stable root view  Highly controlled process  Guaranteed integration  Simple merge process  Incentive for rapid development Disadvantages  Can have many branching behaviors  Complicated view structure  Many views  Many merges Branching Strategies Stability Centric (Quality Controlled)

51 What Not to Do…… The names have been changed to protect the not so innocent.

52 Questions?