Managing a WordPress 2.6 installation with Subversion. Sam Bauers - Automattic

Size: px
Start display at page:

Download "Managing a WordPress 2.6 installation with Subversion. Sam Bauers - Automattic"

Transcription

1 Managing a WordPress 2.6 installation with Subversion Sam Bauers - Automattic

2 In this presentation... - Overview of version control and Subversion - Anatomy changes in WordPress Creating a clean WordPress install - Creating a Subversion project that incorporates WordPress - Early adopter pitfalls

3 Version control

4 Version control Repository

5 Version control Working copy Repository

6 Version control Working copy Repository

7 Version control Working copy Repository

8 Version control Working copy Repository Working copy

9 Version control Working copy Repository Working copy

10 Version control

11 Version control Sam Revision 14 Tony

12 Version control Sam Revision 14 Revision 14 Tony

13 Version control Sam Revision 14 Revision 14 Tony Revision 14

14 Version control Sam Revision 15 Revision 14 Revision 15 Tony Revision 14

15 Version control Sam Revision 15 Revision 14 Revision 15 Tony Revision 15

16 Version control Sam Revision 15 Revision 14 Revision 15 Revision 16 Tony Revision 16

17 Version control Sam Revision 15 Revision 14 Revision 15 Revision 16 Tony Revision 17 Revision 17

18 Version control Sam Revision 17 Revision 14 Revision 15 Revision 16 Tony Revision 17 Revision 17

19 Version control Sam Revision 18 Revision 14 Revision 15 Revision 16 Tony Revision 17 Revision 17 Revision 18

20 Version control Sam Revision 18 Revision 14 Revision 15 Revision 16 Tony Revision 18 Revision 17 Revision 18

21 Version control

22 Version control You Server

23 Version control You Revision 1 Revision 1 Server

24 Version control You Revision 1 Revision 1 Server Revision 1

25 Version control You Revision 5 Revision 1 Revision 2 Revision 3 Server Revision 5 Revision 4 Revision 5

26 Version control You Revision 5 Revision 1 Revision 2 Revision 3 Revision 4 Revision 5 Server Revision 5

27 Version control You Revision 5 Revision 1 Revision 2 Revision 3 Server Revision 3 Revision 4 Revision 5

28 Version control You Revision 5 Revision 1 Revision 2 Revision 3 Revision 4 Revision 5 Server Revision 3

29 Version control - Revision history - Annotated - Time stamped - User accountable

30 Version control - Code development - Multiple developers - Structured workflow - Conflict resolution when updating and merging - Potentially remote - Branching and tagging - Maintain experimental and stable versions - Tag releases as perpetual snapshots

31 Version control - Server deployment - Single command to deploy - Mostly automatic conflict resolution - Version rollback - Version synchronisation across multiple servers - Potentially scriptable

32 Subversion

33 Subversion - Centralised version control system - Works over http and https via Apache webserver - Used by Automattic - WordPress and bbpress - Plugin repositories - WordPress.com - Server config files - Design documents - Photoshop, Illustrator, etc.

34 Subversion

35 WordPress 2.6 anatomy

36 WordPress 2.6 anatomy

37 WordPress 2.6 anatomy A

38 WordPress 2.6 anatomy

39 WordPress 2.6 anatomy

40 WordPress 2.6 anatomy

41 WordPress 2.6 anatomy B

42 WordPress 2.6 anatomy AB

43 Clean WordPress

44 Clean WordPress Assumptions - Installing in root directory of the domain - Domain is example.com - Path to root directory of website is /var/www/root/ - Access to rewrite rules for permalinks

45 Clean WordPress > cd /var/www/root/

46 Clean WordPress > cd /var/www/root/ > svn checkout wordpress

47 Clean WordPress

48 Clean WordPress Now install WordPress at Don t change any settings yet!

49 Clean WordPress > cd /var/www/root/ > svn checkout wordpress

50 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php

51 Clean WordPress

52 Clean WordPress

53 Clean WordPress

54 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php

55 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content

56 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content

57 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content

58 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins

59 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins > cd plugins

60 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins > cd plugins > ln -s../../wordpress/wp-content/plugins/akismet

61 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins > cd plugins > ln -s../../wordpress/wp-content/plugins/akismet > cd..

62 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins > cd plugins > ln -s../../wordpress/wp-content/plugins/akismet > cd..

63 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins > cd plugins > ln -s../../wordpress/wp-content/plugins/akismet > cd.. > mkdir themes

64 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins > cd plugins > ln -s../../wordpress/wp-content/plugins/akismet > cd.. > mkdir themes > cd themes

65 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins > cd plugins > ln -s../../wordpress/wp-content/plugins/akismet > cd.. > mkdir themes > cd themes > ln -s../../wordpress/wp-content/themes/default

66 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins > cd plugins > ln -s../../wordpress/wp-content/plugins/akismet > cd.. > mkdir themes > cd themes > ln -s../../wordpress/wp-content/themes/default > cd..

67 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins > cd plugins > ln -s../../wordpress/wp-content/plugins/akismet > cd.. > mkdir themes > cd themes > ln -s../../wordpress/wp-content/themes/default > cd..

68 Clean WordPress > cd /var/www/root/ > svn checkout wordpress > mv wordpress/wp-config.php wp-config.php > mkdir wordpress-content > cd wordpress-content > mkdir plugins > cd plugins > ln -s../../wordpress/wp-content/plugins/akismet > cd.. > mkdir themes > cd themes > ln -s../../wordpress/wp-content/themes/default > cd.. > mkdir uploads

69 Clean WordPress

70 Clean WordPress

71 Clean WordPress

72 Clean WordPress

73 Clean WordPress

74 Clean WordPress

75 Clean WordPress

76 WordPress inside a Subversion project

77 WordPress inside a Subversion project - Store your own code inside a subversion project - Include WordPress as an external repository - Ignore certain directories

78 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals.

79 WordPress inside a Subversion project GNU nano File: svn-prop.tmp Modified ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

80 WordPress inside a Subversion project GNU nano File: svn-prop.tmp Modified wordpress ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

81 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals.

82 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals. > svn propedit --editor-cmd nano svn:ignore wordpress-content

83 WordPress inside a Subversion project GNU nano File: svn-prop.tmp Modified ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

84 WordPress inside a Subversion project GNU nano File: svn-prop.tmp Modified uploads ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

85 WordPress inside a Subversion project GNU nano File: svn-prop.tmp Modified uploads cache ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

86 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals. > svn propedit --editor-cmd nano svn:ignore wordpress-content

87 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals. > svn propedit --editor-cmd nano svn:ignore wordpress-content > svn status

88 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals. > svn propedit --editor-cmd nano svn:ignore wordpress-content > svn status M. M wordpress-content Performing status on external item at 'wordpress'

89 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals. > svn propedit --editor-cmd nano svn:ignore wordpress-content > svn status M. M wordpress-content Performing status on external item at 'wordpress' > svn commit -m Add WordPress external and ignore certain content directories

90 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals. > svn propedit --editor-cmd nano svn:ignore wordpress-content > svn status M. M wordpress-content Performing status on external item at 'wordpress' > svn commit -m Add WordPress external and ignore certain content directories > svn update

91 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals wordpress-content/plugins

92 WordPress inside a Subversion project GNU nano File: svn-prop.tmp Modified ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

93 WordPress inside a Subversion project GNU nano File: svn-prop.tmp Modified wp-stats ^G Get Help ^O WriteOut ^R Read File ^Y Prev Page ^K Cut Text ^C Cur Pos ^X Exit ^J Justify ^W Where Is ^V Next Page ^U UnCut Text ^T To Spell

94 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals wordpress-content/plugins

95 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals wordpress-content/plugins > svn update

96 WordPress inside a Subversion project > svn propedit --editor-cmd nano svn:externals wordpress-content/plugins > svn update Fetching external item into 'wordpress-content/plugins/wp-stats'

97 Early adopter pitfalls

98 Early adopter pitfalls - Plugins - Many attempt to include wp-config.php - They need to include wp-load.php - They may need to manually set the path to it - PLUGINDIR is deprecated, use WP_PLUGIN_DIR - Use WP_PLUGIN_URL to construct URLs - Beware AJAX plugins - they must use the API

99 Early adopter pitfalls - Themes - Use get_theme_root() - Use get_theme_root_uri()

100 Early adopter pitfalls - Directory and file permissions - Stop WordPress from editing.htaccess - Remember to open up uploads

101 Happy subverting!

Git for Subversion users

Git for Subversion users Git for Subversion users Zend webinar, 23-02-2012 Stefan who? Stefan who? Freelancer: Ingewikkeld Stefan who? Freelancer: Ingewikkeld Symfony Community Manager Stefan who? Freelancer: Ingewikkeld Symfony

More information

Common Configuration Management Tasks: How to Do Them with Subversion

Common Configuration Management Tasks: How to Do Them with Subversion Common Configuration Management Tasks: How to Do Them with Subversion Tom Verhoeff October 2007 Contents 1 The Big Picture 2 2 Subversion Help 2 3 Create New Empty Repository 2 4 Obtain Access to Repository

More information

Subversion Repository Layout

Subversion Repository Layout Subversion Subversion Control manages documents over time keeps a history of all changes - multiple versions of every file coordinates work of multiple authors avoids conflicts...and helps to resolve them

More information

Subversion FOUR. 4.1 What is Version Control? 4.2 What is Subversion? Types of Version Control SESSION

Subversion FOUR. 4.1 What is Version Control? 4.2 What is Subversion? Types of Version Control SESSION SESSION FOUR 4.1 What is Version Control? Subversion Version control or revision control is the management of the evolution of information. Typically it is used in engineering or software development where

More information

Version Control. Kyungbaek Kim. Chonnam National University School of Electronics and Computer Engineering. Original slides from James Brucker

Version Control. Kyungbaek Kim. Chonnam National University School of Electronics and Computer Engineering. Original slides from James Brucker Version Control Chonnam National University School of Electronics and Computer Engineering Kyungbaek Kim Original slides from James Brucker What is version control Manage documents over time Keep a history

More information

Introduction to Revision Control

Introduction to Revision Control Introduction to Revision Control Henrik Thostrup Jensen September 19 th 2007 Last updated: September 19, 2007 1 Todays Agenda Revision Control Why is it good for? What is it? Exercises I will show the

More information

Versioning. Jurriaan Hage homepage: Slides stolen from Eelco Dolstra.

Versioning. Jurriaan Hage   homepage:  Slides stolen from Eelco Dolstra. Versioning Jurriaan Hage e-mail: jur@cs.uu.nl homepage: http://www.cs.uu.nl/people/jur/ Slides stolen from Eelco Dolstra Department of Information and Computing Sciences, Universiteit Utrecht August 24,

More information

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes Git Charles J. Geyer School of Statistics University of Minnesota Stat 8054 Lecture Notes 1 Before Anything Else Tell git who you are. git config --global user.name "Charles J. Geyer" git config --global

More information

Managing Source Code With Subversion

Managing Source Code With Subversion Managing Source Code With Subversion February 3rd, 2005: phpmelb Source Code Management Source Code Management systems (SCMs) rock. Definitely the single most useful tool for a development team, ranking

More information

[Software Development] Development Tools. Davide Balzarotti. Eurecom Sophia Antipolis, France

[Software Development] Development Tools. Davide Balzarotti. Eurecom Sophia Antipolis, France [Software Development] Development Tools Davide Balzarotti Eurecom Sophia Antipolis, France Version Control Version (revision) control is the process of tracking and recording changes to files Most commonly

More information

GIT Princípy tvorby softvéru, FMFI UK Jana Kostičová,

GIT Princípy tvorby softvéru, FMFI UK Jana Kostičová, GIT Princípy tvorby softvéru, FMFI UK Jana Kostičová, 25.4.2016 Basic features Distributed version control Developed in 2005, originally for Linux kernel development Free, GNU General Public License version

More information

Revision Control II. - svn

Revision Control II. - svn Revision Control II. - svn Tomáš Kalibera, Peter Libič Department of Distributed and Dependable Systems http://d3s.mff.cuni.cz CHARLES UNIVERSITY PRAGUE Faculty of Mathematics and Physics Subversion Whole

More information

Department of Computer Science College of Engineering Boise State University

Department of Computer Science College of Engineering Boise State University Department of Computer Science College of Engineering Boise State University 1/18 Introduction Wouldn t you like to have a time machine? Software developers already have one! it is called version control

More information

Version Control System. -- base on Subversion 1.4

Version Control System. -- base on Subversion 1.4 More Functionalities of a -- base on Subversion 1.4 Sui Huang A tutorial for Software Engineering Course SE2AA4 Instructor: Dr. William M. Farmer TAs: Clare So, Sui Huang, Jeffrey Heifetz Jan 10 th, 2006

More information

CS2720 Practical Software Development

CS2720 Practical Software Development Page 1 Rex Forsyth CS2720 Practical Software Development CS2720 Practical Software Development Subversion Tutorial Spring 2011 Instructor: Rex Forsyth Office: C-558 E-mail: forsyth@cs.uleth.ca Tel: 329-2496

More information

Source Control. Comp-206 : Introduction to Software Systems Lecture 21. Alexandre Denault Computer Science McGill University Fall 2006

Source Control. Comp-206 : Introduction to Software Systems Lecture 21. Alexandre Denault Computer Science McGill University Fall 2006 Source Control Comp-206 : Introduction to Software Systems Lecture 21 Alexandre Denault Computer Science McGill University Fall 2006 Source Revision / Control Source Control is about the management of

More information

CSE 160: Introduction to Parallel Computation

CSE 160: Introduction to Parallel Computation CSE 160: Introduction to Parallel Computation Discussion Section SVN Tutorial Based primarily on material provided by Ingolf Krueger Contributions made by Jing Zheng, Yashodhan Karandikar, and Scott B.

More information

February 2 nd Jean Parpaillon

February 2 nd Jean Parpaillon Using GIT with Kerrighed project Kerrighed Summit '07 February 2 nd 2007 Jean Parpaillon Table of contents Kerrighed SCM Subversion GIT GIT with Kerrighed References 2 Kerrighed

More information

CSE 374 Programming Concepts & Tools. Hal Perkins Winter 2012 Lecture 16 Version control and svn

CSE 374 Programming Concepts & Tools. Hal Perkins Winter 2012 Lecture 16 Version control and svn CSE 374 Programming Concepts & Tools Hal Perkins Winter 2012 Lecture 16 Version control and svn Where we are Learning tools and concepts relevant to multi-file, multi-person, multi-platform, multi-month

More information

An Introduction to Subversion

An Introduction to Subversion 1 An Introduction to Subversion Flavio Stanchi August 15, 2017 2 Table of Contents 1. Introduction What is Subversion? How to get Subversion? 2. Concepts Centralized version control Repository structure

More information

Version Control. 1 Version Control Systems. Ken Bloom. Linux User Group of Davis March 1, 2005

Version Control. 1 Version Control Systems. Ken Bloom. Linux User Group of Davis March 1, 2005 Version Control Ken Bloom Linux User Group of Davis March 1, 2005 You ve probably heard of version control systems like CVS being used to develop software. Real briefly, a version control system is generally

More information

Introduction to Version Control

Introduction to Version Control Research Institute for Symbolic Computation Johannes Kepler University Linz, Austria 21-Nov-2013 Outline General Remarks about Version Control 1 General Remarks about Version Control 2 Outline General

More information

Common Git Commands. Git Crash Course. Teon Banek April 7, Teon Banek (TakeLab) Common Git Commands TakeLab 1 / 18

Common Git Commands. Git Crash Course. Teon Banek April 7, Teon Banek (TakeLab) Common Git Commands TakeLab 1 / 18 Common Git Commands Git Crash Course Teon Banek theongugl@gmail.com April 7, 2016 Teon Banek (TakeLab) Common Git Commands TakeLab 1 / 18 Outline 1 Introduction About Git Setup 2 Basic Usage Trees Branches

More information

Workshop: High-performance computing for economists

Workshop: High-performance computing for economists Workshop: High-performance computing for economists Lars Vilhuber 1 John M. Abowd 1 Richard Mansfield 1 Hautahi Kingi 1 Flavio Stanchi 1 Sylverie Herbert 1 Sida Peng 1 Kevin L. McKinney 1 Cornell University,

More information

Software Tools Subversion

Software Tools Subversion Software Tools Subversion Part II Lecture 4 1 Today s Outline Subversion (SVN) TortoiseSVN Client SVN Tips 2 Subversion (SVN) 3 Subversion (SVN) Centralized open-source VCS; started in 2000 Developed as

More information

Exercise 3: Adding a file to the master directory

Exercise 3: Adding a file to the master directory Exercise 1: Test your Subversion account: 1. Open the Web browser Safari 2. Open the VSO master directory: http://wwwbruegge.in.tum.de/repos/vso/ 3. Login in with your username and password Exercise 2:

More information

Subversion. Network Monitoring & Management

Subversion. Network Monitoring & Management Subversion Network Monitoring & Management Contents What is version control? Introduction to SVN Basic principles Differences with CVS Commands Examples Configuring and accessing a repository What is version

More information

Manage quality processes with Bugzilla

Manage quality processes with Bugzilla Manage quality processes with Bugzilla Birth Certificate of a Bug: Bugzilla in a Nutshell An open-source bugtracker and testing tool initially developed by Mozilla. Initially released by Netscape in 1998.

More information

Belle II - Git migration

Belle II - Git migration Belle II - Git migration Why git? Stash GIT service managed by DESY Powerful branching and merging capabilities Resolution of (JIRA) issues directly be map to branches and commits Feature freeze in pre-release

More information

A BASIC UNDERSTANDING OF VERSION CONTROL

A BASIC UNDERSTANDING OF VERSION CONTROL A BASIC UNDERSTANDING OF VERSION CONTROL DID YOU EVER DO THIS? DID YOU EVER DO THIS? DID YOU EVER DO THIS? DID YOU EVER DO THIS? DID YOU EVER DO THIS? DID YOU EVER DO THIS? DID YOU EVER DO THIS? DID YOU

More information

Source Management (Version Control) Installation and Configuration Guide. Version 8.0 and Higher

Source Management (Version Control) Installation and Configuration Guide. Version 8.0 and Higher Source Management (Version Control) Installation and Configuration Guide Version 8.0 and Higher July 05, 2018 Active Technologies, EDA, EDA/SQL, FIDEL, FOCUS, Information Builders, the Information Builders

More information

Version control with Git.

Version control with Git. 1 Version control with Git http://git-scm.com/book/en/ Basic Intro to Git We will: Discuss how Git differs from Subversion Discuss the basic Git model Pull/clone files from a repository on github Edit

More information

CSC 2700: Scientific Computing

CSC 2700: Scientific Computing CSC 2700: Scientific Computing Record and share your work: revision control systems Dr Frank Löffler Center for Computation and Technology Louisiana State University, Baton Rouge, LA Feb 13 2014 Overview

More information

Version Control Systems

Version Control Systems Nothing to see here. Everything is under control! September 16, 2015 Change tracking File moving Teamwork Undo! Undo! UNDO!!! What strategies do you use for tracking changes to files? Change tracking File

More information

Working with GIT. Florido Paganelli Lund University MNXB Florido Paganelli MNXB Working with git 1/47

Working with GIT. Florido Paganelli Lund University MNXB Florido Paganelli MNXB Working with git 1/47 Working with GIT MNXB01 2017 Florido Paganelli Lund University florido.paganelli@hep.lu.se Florido Paganelli MNXB01-2017 - Working with git 1/47 Required Software Git - a free and open source distributed

More information

Revision Control and GIT

Revision Control and GIT Revision Control and GIT On UD HPC Community Clusters William Totten Network & Systems Services Why use revision control You can go back in time It makes it easy to try things out which might not work

More information

VSO. Configuration Management

VSO. Configuration Management VSO Configuration Management Timo Wolf Copyright 2005 Bernd Brügge & Timo Wolf VSO General Meeting, 3.Nov 2005 1 Outline Mapping the IEEE Standard to Subversion (SVN) Introduction to Subversion Subversion

More information

Git. A Distributed Version Control System. Carlos García Campos

Git. A Distributed Version Control System. Carlos García Campos Git A Distributed Version Control System Carlos García Campos carlosgc@gnome.org Carlos García Campos carlosgc@gnome.org - Git 1 A couple of Quotes For the first 10 years of kernel maintenance, we literally

More information

Source control with Subversion A user perspective

Source control with Subversion A user perspective http://svnbook.red-bean.com/ Source control with Subversion A user perspective Aaron Ponti What is Subversion? } It is a free and open-source version control system } It manages files and directories,

More information

Certified Subversion Version Control Professional VS-1110

Certified Subversion Version Control Professional VS-1110 Certified Subversion Version Control Professional VS-1110 Certified Subversion Version Control Professional Certified Subversion Version Control Professional Certification Code VS-1110 Vskills certification

More information

Lecture 01 - Working with Linux Servers and Git

Lecture 01 - Working with Linux Servers and Git Jan. 9, 2018 Working with Linux Servers: SSH SSH (named for Secure SHell) is a protocol commonly used for remote login. You can use it from a command line interface with the following syntax ssh username@server_url

More information

CSCI 2132: Software Development. Norbert Zeh. Faculty of Computer Science Dalhousie University. Subversion (and Git) Winter 2019

CSCI 2132: Software Development. Norbert Zeh. Faculty of Computer Science Dalhousie University. Subversion (and Git) Winter 2019 CSCI 2132: Software Development Subversion (and Git) Norbert Zeh Faculty of Computer Science Dalhousie University Winter 2019 Version Control Systems A version control system allows us to Record the history

More information

git commit --amend git rebase <base> git reflog git checkout -b Create and check out a new branch named <branch>. Drop the -b

git commit --amend git rebase <base> git reflog git checkout -b Create and check out a new branch named <branch>. Drop the -b Git Cheat Sheet Git Basics Rewriting Git History git init Create empty Git repo in specified directory. Run with no arguments to initialize the current directory as a git repository. git commit

More information

Introduction to distributed version control with git

Introduction to distributed version control with git Institut für theoretische Physik TU Clausthal 04.03.2013 Inhalt 1 Basics Differences to Subversion Translation of commands 2 Config Create and clone States and workflow Remote repos Branching and merging

More information

Assumptions. GIT Commands. OS Commands

Assumptions. GIT Commands. OS Commands Many of the world s largest dev teams have adopted Git and it s not hard to see why It can handle small and large projects easily It has a tiny footprint It outclasses other version control tools It s

More information

Who Moved My Module? 1

Who Moved My Module? 1 Who Moved My Module? 1 About Me Yoav Landman - JFrog s CTO and Co-Founder - Creator of the Artifactory Project - 13 years experience in commercial enterprise build and development environments 2 Agenda

More information

TDDC88 Lab 4 Software Configuration Management

TDDC88 Lab 4 Software Configuration Management TDDC88 Lab 4 Software Configuration Management Introduction "Version control is to programmers what the safety net is to a trapeze artist. Knowing the net is there to catch them if they fall, aerialists

More information

Using Subversion for Source Code Control

Using Subversion for Source Code Control Using Subversion for Source Code Control Derrick Kearney HUBzero Platform for Scientific Collaboration Purdue University Original slides by Michael McLennan This work licensed under Creative Commons See

More information

Push up your code next generation version control with (E)Git

Push up your code next generation version control with (E)Git Push up your code next generation version control with (E)Git Dominik Schadow Senior Consultant Application Development dominik.schadow@trivadis.com Java Forum Stuttgart, 07.07.2011 Basel Bern Lausanne

More information

Welcome! Virtual tutorial will start at 15:00 GMT. Please leave feedback afterwards at:

Welcome! Virtual tutorial will start at 15:00 GMT. Please leave feedback afterwards at: Welcome! Virtual tutorial will start at 15:00 GMT Please leave feedback afterwards at: www.archer.ac.uk/training/feedback/online-course-feedback.php Introduction to Version Control (Part 2) ARCHER Virtual

More information

2/8/18. Overview. Project Management. The First Law. What is Project Management? What Are These Changes? Software Configuration Management (SCM)

2/8/18. Overview. Project Management. The First Law. What is Project Management? What Are These Changes? Software Configuration Management (SCM) Overview Project Management How to manage a project? What is software configuration management? Version control systems Issue tracking systems N. Meng, L. Zhang 2 What is Project Management? Effective

More information

COSC345 Software Engineering. Version Control

COSC345 Software Engineering. Version Control COSC345 Software Engineering Version Control Some Problems Communications File system problems Version control Basic principles and use Outline When to use version control Examples SCCS RCS Subversion

More information

Project Management. Overview

Project Management. Overview Project Management Overview How to manage a project? What is software configuration management? Version control systems Issue tracking systems N. Meng, L. Zhang 2 1 What is Project Management? Effective

More information

Using Git to Manage Source RTL

Using Git to Manage Source RTL Using Git to Manage Source RTL CS250 Tutorial 1 (Version 082311) August 24, 2011 Brian Zimmer How to use this tutorial This class will be using Git for all of the labs and projects. This will allow the

More information

Composer and Drupal. CIDUG Meeting December 13, 2018 John Rearick

Composer and Drupal. CIDUG Meeting December 13, 2018 John Rearick Composer and Drupal CIDUG Meeting December 13, 2018 John Rearick * Similar to other dependency managers such as: yum, apt, brew, macports, npm, pip, etc. * Helps manage dependency hell. * Lots of dependencies

More information

Tools for software development:

Tools for software development: Tools for software development: Version Control System Source Control Management Repository commit An introduction push Data Processing Course, V. Lafage, IPN Orsay V. Lafage @ Data Processing Course 2019

More information

Introduction in Unix. Linus Torvalds Ken Thompson & Dennis Ritchie

Introduction in Unix. Linus Torvalds Ken Thompson & Dennis Ritchie Introduction in Unix Linus Torvalds Ken Thompson & Dennis Ritchie My name: John Donners John.Donners@surfsara.nl Consultant at SURFsara And Cedric Nugteren Cedric.Nugteren@surfsara.nl Consultant at SURFsara

More information

Git tutorial. Katie Osterried C2SM. October 22, 2015

Git tutorial. Katie Osterried C2SM. October 22, 2015 Git tutorial Katie Osterried C2SM October 22, 2015 Outline 1 What is Git and why are we switching? 2 Working with Git 3 Branching and Merging 4 Working with remote repositories 5 Recommendations Outline

More information

A Short Introduction to Subversion

A Short Introduction to Subversion 1 / 36 A Short Introduction to Subversion Miaoqing Huang University of Arkansas 2 / 36 Outline 1 3 / 36 The Problem to Avoid 4 / 36 The Problem to Avoid 5 / 36 The Problem to Avoid 6 / 36 The Problem to

More information

CPSC 491. Lecture 19 & 20: Source Code Version Control. VCS = Version Control Software SCM = Source Code Management

CPSC 491. Lecture 19 & 20: Source Code Version Control. VCS = Version Control Software SCM = Source Code Management CPSC 491 Lecture 19 & 20: Source Code Version Control VCS = Version Control Software SCM = Source Code Management Exercise: Source Code (Version) Control 1. Pretend like you don t have a version control

More information

Apache Subversion Tutorial

Apache Subversion Tutorial Apache Subversion Tutorial Computer Science Standard C-6.C Diana Machado Raul Garcia Dr. Shu-Ching Chen Florida International University Computer Science 2/22/2014 What is Subversion (SVN)? A free and

More information

USER MANUAL. Star Track Shipping TABLE OF CONTENTS. Version: 2.0.0

USER MANUAL. Star Track Shipping TABLE OF CONTENTS. Version: 2.0.0 USER MANUAL TABLE OF CONTENTS Introduction... 2 Benefits of Star Track Shipping... 2 Pre-requisites... 2 Installation... 3 Installation Steps... 3 Extension Activation... 7 Configuration... 8 Contact Us...14

More information

2 Initialize a git repository on your machine, add a README file, commit and push

2 Initialize a git repository on your machine, add a README file, commit and push BioHPC Git Training Demo Script First, ensure that git is installed on your machine, and you have configured an ssh key. See the main slides for instructions. To follow this demo script open a terminal

More information

Version Control System - Git. zswu

Version Control System - Git. zswu Version Control System - Git zswu Overview Why VCS? Why Git? Using Git Personally Using Git with Others Etiquette Rules of Using Git Tools & Services Tips 2 Why VCS (1/3) How do you manage your homework?

More information

Introduction to Version Control

Introduction to Version Control Research Institute for Symbolic Computation Johannes Kepler University Linz, Austria Outline 1 2 3 Outline 1 2 3 Old Style Files are in a directory lots of backup files ordered by manual version number

More information

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU 14.04 BY RAMI SETTING UP 3 WORDPRESS SITES ON APACHE SERVER AND UBUNTU 14.04 THE SET UP This may be a little rough in some places because not all the terms

More information

Managing your code: version control

Managing your code: version control Managing your code: version control Overview What is version control and why do it? SVN versus GIT Subversion (SVN) in action at the command line repositories adding stuff committing handling conflicts

More information

And check out a copy of your group's source tree, where N is your one-digit group number and user is your rss username

And check out a copy of your group's source tree, where N is your one-digit group number and user is your rss username RSS webmaster Subversion is a powerful, open-source version control system favored by the RSS course staff for use by RSS teams doing shared code development. This guide is a primer to the use of Subversion

More information

Version Control. Version Control

Version Control. Version Control Version Control Prepared for CS 342 - Software Design by John Bell Based on slides prepared by Jason Leigh for CS 340 University of Illinois at Chicago Version Control Incredibly important when working

More information

Topics covered. Introduction to Git Git workflows Git key concepts Hands on session Branching models. Git 2

Topics covered. Introduction to Git Git workflows Git key concepts Hands on session Branching models. Git 2 Git Git 1 Topics covered Introduction to Git Git workflows Git key concepts Hands on session Branching models Git 2 Introduction to Git Git 3 Version control systems The source files of a project changes

More information

Version Control Systems (VCS)

Version Control Systems (VCS) Version Control Systems (VCS) Xianyi Zeng xzeng@utep.edu Department of Mathematical Sciences The University of Texas at El Paso. September 13, 2016. Version Control Systems Let s get the textbook! Online

More information

Weak Consistency and Disconnected Operation in git. Raymond Cheng

Weak Consistency and Disconnected Operation in git. Raymond Cheng Weak Consistency and Disconnected Operation in git Raymond Cheng ryscheng@cs.washington.edu Motivation How can we support disconnected or weakly connected operation? Applications File synchronization across

More information

Git. Presenter: Haotao (Eric) Lai Contact:

Git. Presenter: Haotao (Eric) Lai Contact: Git Presenter: Haotao (Eric) Lai Contact: haotao.lai@gmail.com 1 Acknowledge images with white background is from the following link: http://marklodato.github.io/visual-git-guide/index-en.html images with

More information

Php4u Payment Restrictions Module for Magento 2

Php4u Payment Restrictions Module for Magento 2 Php4u Payment Restrictions Module for Magento 2 Requirements : Magento 2.0.x or 2.1.x Version 1.0.0 for Magento 2 1 Installation...3 1.1 Manual Install... 3 1.2 Composer install...4 2. Configuration...5

More information

Next Generation Software Configuration Management with Subversion

Next Generation Software Configuration Management with Subversion Next Generation Software Configuration Management with Subversion BangLinux 2004 1 Agenda Why Use Subversion? Basic Usage Comparison with CVS The Cheap Copy Additional Tools Future Directions Original

More information

Source Code Management

Source Code Management SCM Source Code Management Fabien Spindler http://www.irisa.fr/lagadic June 26, 2008 Overview 1. Application and interest 2. Centralized source code control Bases CVS Subversion (SVN) 3. Getting started

More information

Version Control Systems (Part 1)

Version Control Systems (Part 1) i i Systems and Internet Infrastructure Security Institute for Networking and Security Research Department of Computer Science and Engineering Pennsylvania State University, University Park, PA Version

More information

FCM and the UM Reading 9th November 2012

FCM and the UM Reading 9th November 2012 FCM and the UM What is FCM? Flexible Configuration Management system Written by the Met Office. A set of tools for managing and building source code. Uses subversion for code management Defines a common

More information

Version Control with GIT

Version Control with GIT Version Control with GIT Benjamin Roth CIS LMU München Benjamin Roth (CIS LMU München) Version Control with GIT 1 / 30 Version Control Version control [...] is the management of changes to documents, computer

More information

Revision control. INF5750/ Lecture 2 (Part I)

Revision control. INF5750/ Lecture 2 (Part I) Revision control INF5750/9750 - Lecture 2 (Part I) Problem area Software projects with multiple developers need to coordinate and synchronize the source code Approaches to version control Work on same

More information

GETTING TO KNOW GIT: PART II JUSTIN ELLIOTT PENN STATE UNIVERSITY

GETTING TO KNOW GIT: PART II JUSTIN ELLIOTT PENN STATE UNIVERSITY GETTING TO KNOW GIT: PART II JUSTIN ELLIOTT PENN STATE UNIVERSITY 1 REVERTING CHANGES 2 REVERTING CHANGES Change local files git reset git checkout Revert a commit in the branch history git revert Reset

More information

Pieter van den Hombergh. February 27, 2018

Pieter van den Hombergh. February 27, 2018 Pieter van den Hombergh Fontys Hogeschool voor Techniek en Logistiek February 27, 2018 /FHTenL February 27, 2018 1/35 My Helpers, Tobias Derksen (DE) and me, Pieter van den Hombergh (mailto:p.vandenhombergh@fontys.nl).

More information

Fundamentals of Git 1

Fundamentals of Git 1 Fundamentals of Git 1 Outline History of Git Distributed V.S Centralized Version Control Getting started Branching and Merging Working with remote Summary 2 A Brief History of Git Linus uses BitKeeper

More information

Part I Part 1 Version Control Systems (VCSs)

Part I Part 1 Version Control Systems (VCSs) Overview of the Lecture Jan Faigl Department of Computer Science Faculty of Electrical Engineering Czech Technical University in Prague Lecture 12 B3B36PRG C Programming Language Part 1 Introduction and

More information

Part I Part 1 Version Control Systems (VCSs)

Part I Part 1 Version Control Systems (VCSs) Overview of the Lecture Jan Faigl Department of Computer Science Faculty of Electrical Engineering Czech Technical University in Prague Lecture 09 BE5B99CPL C Programming Language Part 1 Introduction and

More information

Chapter 3. Revision Control

Chapter 3. Revision Control Chapter 3 Revision Control We begin our journey into software engineering before we write a single line of code. Revision control systems (RCSes) such as Subversion or CVS are astoundingly useful for single-developer

More information

Part I Part 1 Version Control Systems (VCSs)

Part I Part 1 Version Control Systems (VCSs) Overview of the Lecture Jan Faigl Department of Computer Science Faculty of Electrical Engineering Czech Technical University in Prague Lecture 14 B0B36PRP Procedurální programování Part 1 Introduction

More information

WordPress Maintenance For Beginners

WordPress Maintenance For Beginners WordPress Maintenance For Beginners Content Pages, posts, users, links, widgets, menus, comments, products, etc. Media Images, documents, videos, music, etc. Plugins Function, features, and facilities.

More information

Yinghui Wang

Yinghui Wang Yinghui Wang wang382@mcmaster.ca 1 What is subversion Subversion is the tool for controlling the versions of your files. To retrieve a specific version of files To synchronize the modification made by

More information

Introduction to Git and Github

Introduction to Git and Github Introduction to Git and Github Computing in Optimization and Statistics: Lecture 1 Jackie Baek MIT January 10, 2017 What is git and GitHub? git is a version control system. Other version control systems

More information

Version Control Systems

Version Control Systems Version Control Systems Jan Faigl Department of Computer Science Faculty of Electrical Engineering Czech Technical University in Prague Lecture 09 BE5B99CPL C Programming Language Jan Faigl, 2016 BE5B99CPL

More information

Part I Part 1 Version Control Systems (VCSs)

Part I Part 1 Version Control Systems (VCSs) Overview of the Lecture Jan Faigl Department of Computer Science Faculty of Electrical Engineering Czech Technical University in Prague Lecture 14 B0B36PRP Procedurální programování Part 1 Introduction

More information

Part I Part 1 Version Control Systems (VCSs)

Part I Part 1 Version Control Systems (VCSs) Overview of the Lecture Jan Faigl Department of Computer Science Faculty of Electrical Engineering Czech Technical University in Prague Lecture 14 B0B36PRP Procedurální programování Part 1 Introduction

More information

Version Control with Git

Version Control with Git Version Control with Git Jon Loeliger O'REILLY Beijing Cambridge Farnham Köln Sebastopol Tokyo Table of Contents Preface... xi 1. Introduction... 1 Background 1 The Birth of Git 2 Precedents 4 Time Line

More information

Git Tutorial. André Sailer. ILD Technical Meeting April 24, 2017 CERN-EP-LCD. ILD Technical Meeting, Apr 24, 2017 A. Sailer: Git Tutorial 1/36

Git Tutorial. André Sailer. ILD Technical Meeting April 24, 2017 CERN-EP-LCD. ILD Technical Meeting, Apr 24, 2017 A. Sailer: Git Tutorial 1/36 ILD Technical Meeting, Apr 24, 2017 A. Sailer: Git Tutorial 1/36 Git Tutorial André Sailer CERN-EP-LCD ILD Technical Meeting April 24, 2017 LD Technical Meeting, Apr 24, 2017 A. Sailer: Git Tutorial 2/36

More information

Using Subversion with LeMANS and MONACO

Using Subversion with LeMANS and MONACO Using with LeMANS and MONACO Timothy R. Deschenes and Alexandre Martin Department of Aerospace Engineering, University of Michigan September 15, 2008 Outline 1 Why Use Version Control Provides one method

More information

Subversion. An open source version control system. W. Miah escience Rutherford Appleton Laboratory

Subversion. An open source version control system. W. Miah escience Rutherford Appleton Laboratory Subversion An open source version control system W. Miah (w.miah@rl.ac.uk) escience Rutherford Appleton Laboratory Agenda for today Need for source control; Subversion concepts; Working/local copy of a

More information

Magento Survey Extension User Guide

Magento Survey Extension User Guide Magento Survey Extension User Guide Page 1 Table of Contents To Access Plugin, Activate API Key... 3 Create Questions... 5 Manage Survey... 6 Assign Question to Survey... 7 Reveal Survey In Three Ways...

More information

Introduction to UNIX. SURF Research Boot Camp April Jeroen Engelberts Consultant Supercomputing

Introduction to UNIX. SURF Research Boot Camp April Jeroen Engelberts Consultant Supercomputing Introduction to UNIX SURF Research Boot Camp April 2018 Jeroen Engelberts jeroen.engelberts@surfsara.nl Consultant Supercomputing Outline Introduction to UNIX What is UNIX? (Short) history of UNIX Cartesius

More information

CSE 391 Lecture 9. Version control with Git

CSE 391 Lecture 9. Version control with Git CSE 391 Lecture 9 Version control with Git slides created by Ruth Anderson & Marty Stepp, images from http://git-scm.com/book/en/ http://www.cs.washington.edu/391/ 1 Problems Working Alone Ever done one

More information