Warmup A programmer’s wife tells him, “Would you mind going to the store and picking up a loaf of bread? Also, if they have eggs, get a dozen.” The programmer.

Slides:



Advertisements
Similar presentations
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.
Advertisements

 Please sit next to your partner.  If you don’t have a partner, please find one now.
Let Use SVN(Subversion) Interaction Lab. Hyo-Geun Ahn
Slides adapted from Alex Mariakakis, with material from Krysta Yousoufian, Mike Ernst, Kellen Donohue Section 5: HW6 and Interfaces.
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.
Dedi Rahmawan Putra  Shared Document  Conventional Ways  Common Problems  What is TortoiseSVN  Advantages over another tools  Basic Concepts.
Source Control in MATLAB A tool for tracking changes in software development projects. Stuart Nelis & Rachel Sheldon.
David Notkin Autumn 2009 CSE303 Lecture 22 Subversion is an open source version control system. Social Implications Friday version control system.
Get android development environment running. Install – Get and install JDK 5 or 6 (see link in the.
Git/Unix Lab March Version Control ●Keep track of changes to a project ●Serves as a backup ●Revert to previous version ●Work on the same files concurrently.
Using subversion COMP 2400 Prof. Chris GauthierDickey.
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?
1 SVN – Tool for Version Control Talal Ahmed ( ) Ali Ahsan ( ) Adil Zia Khan ( ) Farid Ullah ( )
Today Rest of the demos (no escape!) Now that you tried group work without version control, making your life easier WITH it. You all got groups for #2?
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
SubVersioN – the new Central Service at DESY by Marian Gawron.
Version Control. What is Version Control? Manages file sharing for Concurrent Development Keeps track of changes with Version Control SubVersion (SVN)
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.
Git for Version Control These slides are heavily based on slides created by Ruth Anderson for CSE 390a. Thanks, Ruth! images taken from
SECTION 1: VERSION CONTROL + ECLIPSE slides borrowed and adapted from Alex Mariakis and CSE 390a.
Subversion. What is Subversion? A Version Control System A successor to CVS and SourceSafe Essentially gives you a tracked, shared file system.
Source Control Repositories for Team Collaboration: SVN, TFS, Git.
With Mercurial and Progress.   Introduction  What is version control ?  Why use version control ?  Centralised vs. Distributed  Why Mercurial ?
Git – versioning and managing your software L. Grewe.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Version Control. What is it? Software to help keep track of changes made to files Tracks the history of your work Helps you collaborate with others.
Version Control. How do you share code? Discussion.
Object-Oriented Analysis & Design Subversion. Contents  Configuration management  The repository  Versioning  Tags  Branches  Subversion 2.
Version Control.
Version Control Systems with Subversion (SVN) and Tortoise.
(Sub)Version Control. 2 Keep large teams working on the same code Back up your work so you don't lose it all Compare changes to previous versions Revert.
Subversion (SVN) A Revision Control System Successor to CVS Carlos Armas Hervey Allen.
Subversion in the Sur lab A tool for organizing and sharing analysis code.
SENG 403 Tutorial 1 1SENG 403 – Winter Agenda Version Control Basics Subversion Basic actions in Subversion Some examples 2SENG 403 – Winter 2012.
DireXions – Your Tool Box just got Bigger PxPlus Version Control System Using TortoiseSVN Presented by: Jane Raymond.
INFSO-RI Enabling Grids for E-sciencE SCDB C. Loomis / Michel Jouvin (LAL-Orsay) Quattor Tutorial LCG T2 Workshop June 16, 2006.
Version Control with SVN Images from TortoiseSVN documentation
SECTION 2: CODE REASONING + PROGRAMMING TOOLS slides borrowed and adapted from Alex Mariakis and CSE 390a.
Refactoring and Synchronization with the StarTeam Plug-in for Eclipse  Jim Wogulis  Principal Architect, Borland Software Corporation.
A Simple Introduction to Git: a distributed version-control system CS 5010 Program Design Paradigms “Bootcamp” Lesson 0.5 © Mitchell Wand, This.
Sabriansyah R.A Version Control. The Repository Subversion adalah sistem tersentralisasi untuk informasi sharing Repository adalah pusat penyimpanan data.
Version Control. What is it? Software to help keep track of changes made to files Tracks the history of your work Helps you collaborate with others.
Version Control System
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
Introduction to Git Yonglei Tao GVSU. Version Control Systems  Also known as Source Code Management systems  Increase your productivity by allowing.
SECTION 1: CODE REASONING + VERSION CONTROL slides borrowed and adapted from Alex Mariakis and CSE 390a Justin Bare & Deric Pang.
1 CSE 303 Lecture 19 Version control and Subversion ( svn ) slides created by Marty Stepp
An Introduction to Git David Johndrow COMP 490 – Senior Design & Development 2/11/16.
CSE 374 Programming Concepts & Tools Hal Perkins Fall 2015 Lecture 16 – Version control and git.
Subversion (SVN) Tutorial for CS421 Dan Fleck Spring 2010.
Introduction to Git - Chirag Dani. Objectives Basics of Git Understanding different “Mindset of Git” Demo - Git with Visual Studio.
Source Control Repositories for Enabling Team Working Doncho Minkov Telerik Corporation
NALINI S. NAUTIYAL SYSTEM SOFTWARE DIVISION Subversion.
Problem Solving With C++ SVN ( Version Control ) April 2016.
GIT Version control. Version Control Sharing code via a centralized DB Also provides for Backtracking (going back to a previous version of code), Branching.
Source Control Dr. Scott Schaefer. Version Control Systems Allow for maintenance and archiving of multiple versions of code / other files Designed for.
Version Control with Subversion
SVN intro (review).
Version Control.
Source Control Dr. Scott Schaefer.
Concurrent Version Control
Version Control System
Version Control with Git accelerated tutorial for busy academics
Source Code Management
slides borrowed and adapted from Alex Mariakis and CSE 390a
SECTION 1: CODE REASONING + VERSION CONTROL
SECTION 1: CODE REASONING + VERSION CONTROL + ECLIPSE
Subversion Basics Guide
Presentation transcript:

Warmup A programmer’s wife tells him, “Would you mind going to the store and picking up a loaf of bread? Also, if they have eggs, get a dozen.” The programmer returns with 12 loaves of bread.

Section 2: Developer tools and you Alex Mariakakis (staff-wide)

Outline Introductions SSH clients – PuTTY UNIX Source control – SVN Demo + questions

What is an SSH client? Uses the secure shell protocol (SSH) to connect to a remote computer o Enables you to work on a lab machine from home o Similar to remote desktop Windows and Linux users: PuTTY and WinSCP o Windows and Linux users Mac users: Terminal application o Go to Applications/Utilities/Terminal o Type in “ssh –XY

What is UNIX? Command-line based operating system o Like Windows or Mac OS without the mouse CommandWhat it does pwdprints the name of the working directory lslists the files in a directory (i.e., lists stuff) cdchanges a directory cpcopies a file or directory mvmove/rename a file or directory rmremoves a file mkdirmake a new directory rmdirremove an empty directory manpulls up the manual pages

DEMO #1 4wi/tools/WorkingAtHome.html

What is source control? Also known as version control/revision control System for tracking changes to code o Software for developing software Essential for managing projects o See a history of changes o Revert back to an older version o Back up your work o Merge changes from multiple sources We’ll be talking about Subversion, but there are alternatives Git, Mercurial, CVS × , Dropbox, USB sticks

Source control organization A repository stores the master copy of the project o Someone creates the repo for a new project o Then nobody touches this copy directly o Lives on a server everyone can access Each person checks out her own working copy o Makes a local copy of the repo o You’ll always work off of this copy o The version control system syncs the repo and working copy (with your help) svn Working copy Repository

Source control common actions Most common commands: Commit / checkin o integrate changes from your working copy into the repository Update o integrate changes into your working copy from the repository Working copy Repository svn commit update

Source control common actions (cont.) More common commands: Add, delete o add or delete a file in the repository o just putting a new file in your working copy does not add it to the repo! Revert o wipe out your local changes to a file Resolve, diff, merge o handle a conflict – two users editing the same code Working copy Repository svn add, delete revert

How to use Subversion 1.Eclipse plugin: Subclipse 2.GUI interface: TortoiseSVN, NautilusSVN 3.Command line: PuTTY

This Quarter We distribute starter code by adding it to your repo You will code in Eclipse just as you would have in your previous classes You turn in your files by adding them to the repo and committing your changes You will validate your homework by SSHing onto attu and running an Ant build file

DEMO #2 cse331/14wi/tools/versioncontrol.html

Theoretical Scenario You are working on a computer in the lab and feel like you are at a good stopping point. You hit “Save” on your computer and start driving to Canada, only to realize that you forgot to commit your changes to your repo. Do you have to turn around and drive back?

Theoretical Scenario You are working on a computer in the lab and feel like you are at a good stopping point. You hit “Save” on your computer and start driving to Canada, only to realize that you forgot to commit your changes to your repo. Do you have to turn around and drive back? SSH into the attu, change to your eclipse workspace directory, and then call “svn commit”