Source Control What technical communicators need to know.

Slides:



Advertisements
Similar presentations
Software engineering tools for web development Jim Briggs 1CASE.
Advertisements

Intro to Version Control Have you ever …? Had an application crash and lose ALL of your work Made changes to a file for the worse and wished you could.
Integrated Development Environments, Source Control Repositories, Automated Testing Tools, Bug Tracking, Code Analysis Tools, Build Tools, Project Hosting.
Version Control 1.  Version control (or revision control) is the term for the management of source files, and all of the intermediate stages as development.
Software Configuration Management Donna Albino LIS489, December 3, 2014.
Made in USA Software Development Services Ayoka, L.L.C. 202 E. Border Street, Ste 334 Arlington, TX By Steven Ledford.
Version Control, Revision Control Software Configuration Management.
Summer of Code (SOC) Presentation Fred R McClurg Girish H Mhatre Version Control Overview.
Version Control What it is and why you want it. What is Version Control? A system that manages changes to documents, files, or any other stored information.
David Notkin Autumn 2009 CSE303 Lecture 22 Subversion is an open source version control system. Social Implications Friday version control system.
Concepts of Version Control A Technology-Independent View.
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
Version Control with git. Version Control Version control is a system that records changes to a file or set of files over time so that you can recall.
By: Taylor Helsper.  Introduction  Bug Tracking  Progress Tracking  Version Control  Conclusion  Questions.
CONTINUOUS INTEGRATION, DELIVERY & DEPLOYMENT ONE CLICK DELIVERY.
Version control Using Git 1Version control, using 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.
Craig Berntson Chief Software Gardener Mojo Software Worx Branches and Merges are Bears, Oh My!
Source Control Repositories for Team Collaboration: SVN, TFS, Git Svetlin Nakov Telerik Software Academy academy.telerik.com Manager Technical Training.
Programming in Teams And how to manage your code.
© 2012 IBM Corporation Rational Insight | Back to Basis Series SCM introduction Chu Shu June 2012.
Software Engineering Modern Approaches
Sumedha Rubasinghe October,2009 Introduction to Programming Tools.
Creating a Maintainable Software Ecosystem Jeremy D. Miller November 27th, 2007.
Introduction to Version Control
Source Control Repositories for Team Collaboration: SVN, TFS, Git.
Subversion, an Open Source Version Control System An Introduction.
Revision Control and Issue Tracking Andrew Watkins.
With Mercurial and Progress.   Introduction  What is version control ?  Why use version control ?  Centralised vs. Distributed  Why Mercurial ?
Introduction to Versioning
Source Control Systems SVN, Git, GitHub SoftUni Team Technical Trainers Software University
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Version control Using Git Version control, using Git1.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Software Quality Assurance
Copyright © 2015 – Curt Hill Version Control Systems Why use? What systems? What functions?
Version Control Systems. Version Control Manage changes to software code – Preserve history – Facilitate multiple users / versions.
Version Control Reducing risk with version control Jon Austin
CPSC 871 John D. McGregor Change management Module 2 Session 3.
Developer Best Practices R.SANTHANA GOPALAN. Developer Best Practices What is Workspace ? The directory where the developer edit the source files, compile,
2136 Gallows Road, Suite F, Dunn Loring, VA Phone: Fax: Business Analyst Training 1 Module 5.2 Rational ClearCase.
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
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Source Control Repositories for Enabling Team Working Doncho Minkov Telerik Corporation
1 Ivan Marsic Rutgers University LECTURE 2: Software Configuration Management.
DIGITAL REPOSITORIES CGDD Job Description… Senior Tools Programmer – pulled August 4 th, 2011 from Gamasutra.
Version Control How and why to control changes in a software artifact.
SCMs – What, Why and How? ● Sawyer X ● Sysadmin / Perl Ninja ● User of Subversion, Git ● Your host for this evening ● Oh, and... ● SCMs = Source Code Management.
CS5220 Advanced Topics in Web Programming Version Control with Git
Source Control Systems
Version Control CS These slides were created by Kevin Schenk, BS in Computer Science, Purdue University, 2012.
Git and GitHub primer.
Version Control with Subversion
SVN intro (review).
LECTURE 2: Software Configuration Management
Version Control CS These outstanding slides were created by Kevin Schenk, BS in Computer Science, Purdue University, 2012.
Delphi or C++ Builder, with Subversion and Jenkins
Version control, using Git
CS5220 Advanced Topics in Web Programming Version Control with Git
Concurrent Version Control
Version Control System
© 2016 Global Market Insights, Inc. USA. All Rights Reserved Version Control Systems Industry analysis research and trends report for.
Source Code Management
LECTURE 3: Software Configuration Management
Git CS Fall 2018.
Systems Analysis and Design I
How l learned to work with others instead of working around them.
Presentation transcript:

Source Control What technical communicators need to know

About me

What I’ll cover NeedConceptsBest practicesSome tools

What is source control? A system for managing changes to source code

I’ve deleted a file by mistake. Someone has overwritten my changes! Before you can go on holiday, can you leave us all your files? Who changed this file? Why? Who’s got the latest version of this file? Where are the graphics files we used for this topic? I need to find the files we sent to the translators. The developers have pulled this feature. Can we undo the documentation changes?

Why don’t we use it? “I’ve made it a policy never to touch source control as I still don’t really understand how it works!”

Do you need it? Multiple authors Many small components Multiple concurrent versions Documenting software Unless...

Can you manage without it? Sole author Few components Clear process Reliable backups Instead of SC, you could...

The basics Common Repository Personal Workspace

Adding files Alice Change list Comment

Bruno Changing existing files Alice Comment Change list

AliceBruno Synchronising changes

Best practices Use comments Keep unrelated changes separate Synchronise frequently

Deleting files Alice

Reverting changes in the repository Alice

Concurrent changes and merges

Concurrent changes - example Bruno Alice

Merge example

Merging concurrent changes BrunoAlice 3

Merge with caution Not foolproof Some files don’t Different from software But...

Best practices - merging Avoid merges for some files! Minimize concurrent changes Merge little and often Consult others if necessary Check the results

Baselines

Baseline example Alice Beta

Branching Permanent Concurrent released versions Temporary New features

Branching in action Trunk Feature/Development Branch Release Branch

Best practices - branching Propagate from release branches promptly Merge to feature branches regularly

What belongs in source control? Sources Not auto- generated outputs

Choosing a tool

The choices Free or paid forHosted or self-hostedFront endCentralised or DistributedHAT integration

Some source control tools Free, CLI + limited GUI Several GUIs, SourceTree is free Git Free, CLI only Several GUIs, TortoiseSVN is free Subversion (SVN) Free for small teams, CLI only Several GUIs, SourceTree, Tortoise Hg are free Mercurial Microsoft Free for small teams, includes GUI Team Foundation Server (TFS) Free for small teams, includes GUI Perforce IBM Enterprise, not free! Rational ClearCase

© Marjorie Jones 2015 Artwork © Martin Jones 2015 E: W:

Resources There is a comprehensive list of current source control tools here: /List_of_revision_control_software To request the handout that accompanies these slides,