Tizen Project Guideline. SKKU Embedded Software Lab.

Size: px
Start display at page:

Download "Tizen Project Guideline. SKKU Embedded Software Lab."

Transcription

1 1 Tizen Project Guideline

2 Tizen Project Process 2 Assume that you have done flashing Tizen images. 1. Preparation Install Tizen Development Environments 2. Github 1. Sign in Github 2. Make an Organization and a Repository 3. Upload Initial Source Code 3. Tizen Source Code Workflow 1. Version & Branch Management 2. Package Build 3. Package Install

3 3 1. Preparation Install Tizen Development Environments

4 Tizen Development Environment 4 Source Code Management(SCM) Tools Git, Repo, Gerrit Build Tool GBS(Git Build System) Packaging Tools MIC, RPM Tizen Servers Host PC ODROID-U3 Kernel Source Code Kernel Source Code Object File Kernel Image Platform Source Code Clone Source Code Platform Source Code Build Packages Make & Flash Images Platform Images (Git, Repo, Gerrit) (GBS) (MIC, RPM)

5 Tizen Dev. Environment Install (1/11) 5 1. Git: Install and Configuration 1. Install a git package. 1. $ sudo apt-get install git 2. Configure user information of git. This information will be used for committer information. 1. $ git config --global user.name Your name 2. $ git config --global user. @address ex. $ git config --global user.name Gyeonghwan Hong $ git config --global user. redcarrottt@gmail.com

6 Tizen Dev. Environment Install (2/11) 6 2. Repo: Install and Configuration 1. Download repo. 1. $ sudo apt-get install curl 2. $ mkdir -p ~/bin 3. $ curl > ~/bin/repo 4. $ chmod +x ~/bin/repo 2. Add repo s path to the basic path list. 1. Edit ~/.bashrc 1. $ gedit ~/.bashrc 2. After adding below code to the last line, restart your shell. ~/.bashrc PATH=~/bin:${PATH}

7 Tizen Dev. Environment Install (3/11) 7 3. GBS, MIC: Install 1. Add Tizen development tool repository to APT repository list. 1. $ sudo gedit /etc/apt/sources.list 2. Add below code 1. XX : Ubuntu s major version (ex. 12, 13, 14) 2. YY : Ubuntu s minor version (ex. 04, 10) deb / 3. $ sudo apt-get update 2. Install packages of GBS, MIC. 1. sudo apt-get install gbs mic /etc/apt/sources.list

8 Tizen Dev. Environment Install (4/11) 8 You should have an access right to review server for accessing Tizen source code. 4. Register a Tizen developer ID 1. Go to developer.tizen.org/ko. 2. You can log in Tizen review server (review.tizen.org).

9 Tizen Dev. Environment Install (5/11) 9 5. Review Server: Configuration 1. $ gedit ~/.ssh/config Enter your username. Host tizen Hostname review.tizen.org IdentityFile ~/.ssh/id_rsa User username Port ~/.ssh/config Host review.tizen.org Hostname review.tizen.org IdentityFile ~/.ssh/id_rsa User username Port 29418

10 Tizen Dev. Environment Install (6/11) Review Server: Configuration (Cont d) 2. Run ssh-keygen on a shell. 1. $ ssh-keygen Press enter about every question for using default values. In result, id_rsa, id_rsa.pub files will be created.» id_rsa: private key» id_rsa.pub: public key

11 Tizen Dev. Environment Install (7/11) Review Server: Configuration (Cont d) 3. After log in review.tizen.org, go to settings menu. 4. Enter into SSH Public Keys menu Press Add Key button.

12 Tizen Dev. Environment Install (8/11) Review Server: Configuration (Cont d) 5. Display the contents of public key file. 5. $ cat ~/.ssh/id_rsa.pub 6. Copy the displayed text to below text box. Contents of ~/.ssh/id_rsa.pub

13 Tizen Dev. Environment Install (9/11) Review Server: Configuration (Cont d) 7. Test ssh server connection 1. $ ssh tizen 2. $ ssh review.tizen.org If the connection is successful, below message will be displayed.

14 Tizen Dev. Environment Install (10/11) 14 Tizen source code is built by pre-built toolchains. 6. Clone Pre-built Toolchain Packages 1. Clone ARM toolchain 1. $ git clone ssh://user@review.tizen.org:29418/pre-built/toolchainarm pre-built/toolchain-arm 2. $ cd pre-built/toolchain-arm 3. $ git checkout origin/tizen_ $ cd - 2. Clone x86 toolchain 1. $ git clone ssh://user@review.tizen.org:29418/ pre-built/toolchainx86 pre-built/toolchain-x86 2. $ git pre-built/toolchain-x86 3. $ git checkout origin/tizen_ $ cd -

15 Tizen Dev. Environment Install (11/11) Make a GBS configuration file (~/.gbs.conf) Without this file, Tizen source code cannot be built. 1. $ gedit ~/.gbs.conf [general] tmpdir=/var/tmp/ profile=profile.tizen2.2 work_dir=/home/user [repo.tizen2.2] url= [repo.tizen2.2_arm] url=${work_dir}/pre-built/toolchain-arm/ [repo.tizen2.2_x86] url=${work_dir}/pre-built/toolchain-x86/ [profile.tizen2.2] repos=repo.tizen2.2_arm, repo.tizen2.2_x86, repo.tizen2.2

16 16 2. Github 1. Sign in Github 2. Make a New Organization and Repository 3. Upload Initial Source Code

17 Sign in Github Go to and Sign in.

18 Create an Organization on Github (1/3) 18 Create one organization by a team on Github. 1. Press + button Click New organization.

19 Create an Organization on Github (2/3) Input organization name and billing address. Billing In the case of private repository, bill will be sent to the address. It will not used in the case of open source repository. 3. Click Create organization button.

20 Create an Organization on Github (3/3) Register IDs of team members. 5. Click Finish button.

21 Create a Repository on Gitbub (1/2) 21 Make a repository belonged to organization 1. Press + button Click New repository of this organization.

22 Create a Repository on Gitbub (2/2) Input Repository name and specific information.

23 Upload Initial Source Code (1/7) 23 Initial source code should be uploaded. Case 1. Make a New Git Repository In case that there are no contents at all. In case that there is no.git directory in working directory. Case 2. Use a Existing Git Repository In case that there is.git directory in working directory. In case that you modify existing Tizen platform source code.

24 Upload Initial Source Code (2/7) 24 Case 1. Make a New Git Repository 1. Make a new Git repository 1. Move to working directory. 2. $ git init 2. Do initial commit 1. $ touch README.md 2. $ git add README.md 3. $ git commit -m initial commit

25 Upload Initial Source Code (3/7) 25 Case 1. Make a New Git Repository 3. Register Github server s address 3. $ git remote add origin ex. $ git remote add origin Tizen/remote-key-framework-service.git 4. Upload code to Git repository 1. $ git push origin master master branch in local repository is uploaded to master branch in remote repository. 5. Result A new repository with only README.md will be created.

26 Upload Initial Source Code (4/7) 26 Case 2. Use a Existing Git Repository 1. Clone existing Tizen repository If you have already a repository, skip this process. 1. Log in Tizen review server (review.tizen.org) 2. Enter into Projects List 3. Find a repository that you want to clone Be careful: Packages in Tizen 2.2 and 3.0 are managed in different way, so multiple packages will be displayed on the result. 4. Clone the repository 1. $ git clone ssh://user@review.tizen.or g:29418/project-name

27 Upload Initial Source Code (5/7) 27 Case 2. Use a Existing Git Repository 1. Clone existing Tizen repository (Cont d) Tizen package repository has several branches by release version. 5. Check branches 1. $ git branch --remote ex. origin/1.0_post origin/2.0alpha origin/head -> origin/master origin/master origin/tizen_2.0 origin/tizen_2.1 origin/tizen_ Change branch to target release version 1. $ git checkout <target branch> ex. git checkout origin/tizen_2.2

28 Upload Initial Source Code (6/7) 28 Case 2. Use a Existing Git Repository 2. Register Github server s address 1. Move to working directory. 2. $ git remote add origin ex. $ git remote add origin Tizen/remote-key-framework-service.git 3. Upload to Git repository 1. $ git push origin master master branch in local repository will be uploaded to master branch in remote repository.

29 Upload Initial Source Code (7/7) 29 Case 2. Use a Existing Git Repository 4. Result Existing Git repository is uploaded to Github repository. Existing commit log, branch information are preserved.

30 Clone Github Repository Run following command 1. $ git clone ex. $ git clone

31 31 3. Repository Management and Package Build/Install 1. Version & Branch Management 2. Package Build 3. Package Install

32 Tizen Source Code Workflow Git: manages source code versions 2. GBS: builds source code of git repository makes package file(rpm) 3. Install package file on ODROID-U3 Working Directory hello.c Local PC Github Server (Remote) (Remote) Repository Ver.2 hello.c Ver.1 Push Pull Add Staging Area Commit (Local) Repository Ver.2 hello.c Ver.1 gbs build Package file (rpm) ODROID-U3 Install

33 Git: Key Concepts 33 Working directory Source code in work add command: adds files/directories to staging area Staging area(index) Source code to be committed commit command: makes a new version in repository Repository(HEAD) Source code already committed Files or directories are stored as content-addressable objects identifiable by hash value. Working Directory hello.c Add Staging Area Commit (Local) Repository Ver.2 hello.c Ver.1

34 Version Management (1/2) 34 Add a source code, hello.cpp 1. Add hello.c to staging area 1. $ git add hello.c 2. Make a new version 1. $ git commit -m commit message Add all of the source code 1. Add all of the source code 1. $ git add --all 2. Make a new version 1. $ git commit -m commit message Display staging area s status 1. $ git status Working Directory hello.c Add Staging Area Commit (Local) Repository Ver.2 hello.c Ver.1

35 Version Management (2/2) 35 Display the commit log 1. $ git log Each commit s hash value, author information, date, message commit 783c82ff64eda9f de906eca77d01f691 Author: Gyeonghwan Hong <redcarrottt@gmail.com> Date: Mon Sep 22 10:37: nd version commit: hello.c is added commit bb31bf85430e1a027abe197e5b88a26110 Author: Gyeonghwan Hong <redcarrottt@gmail.com> Date: Thu Aug 28 12:08: st version commit: is added Return to a previous version 1. git checkout <commit s hash value> Working Directory hello.c Add Staging Area Commit (Local) Repository Ver.2 hello.c Ver.1 ex. git checkout bb31bf85430e1a027abe197e5b88a26110

36 Local & Remote Repository (1/2) 36 Commit Make a new version on local repository Push Upload commits in local repository to remote repository Pull Download commits in remote repository to local repository Local PC Working Directory hello.c Add Staging Area Commit (Local) Repository Ver.2 hello.c Ver.1 Push Pull Github Server (Remote) (Remote) Repository Ver.2 hello.c Ver.1

37 Local & Remote Repository (2/2) 37 Upload to remote repository 1. $ git push <remote name> <remote branch> ex. $ git push origin master Download from remote repository 1. $ git pull Local PC Working Directory hello.c Github Server (Remote) (Remote) Repository Ver.2 hello.c Ver.1 Push Pull Add Staging Area Commit (Local) Repository Ver.2 hello.c Ver.1

38 Branch Management (1/3) 38 Check the branch list of local repository 1. $ git branch --list Check the branch list of remote repository 1. $ git branch --remote * master feature_x Move to another branch 1. $ git checkout <branch name> ex. $ git checkout feature_x

39 Branch Management (2/3) 39 Develop a new feature by making a new branch 1. Make a new branch feature_x 1. $ git branch feature_x 2. $ git checkout feature_x 2. Edit and commit source code 3. Merge feature_x branch to original branch 1. $ git checkout master 2. $ git merge feature_x

40 Branch Management (3/3) 40 Conflict When merging feature_y branch to master branch, in version 2-x and 2-y have different changes each other. This situation is called as conflict. The conflict should be resolved by conflict resolution process. 1. $ git mergetool Merging

41 Required Files in Repository (1/2) 41 Tizen project repository requires following files Red files are files required at least. AUTHORS: Author list LICENSE: License information CMakeLists.txt: cmake configuration file about this directory s build <project-name>.manifest: SMACK manifest file packaging <project-name>.manifest: SMACK manifest file <project-name>.spec: RPM package specification file <sub-directory 1> CMakeLists.txt include Header files src Source code files <sub-directory 2>, <sub-directory 3>,

42 Required Files in Repository (2/2) 42 ex. Remote Key Framework Service Project (Link) AUTHORS: Author list LICENSE: License information CMakeLists.txt: cmake configuration file about this directory s build remote-key-framework.manifest: SMACK manifest file packaging remote-key-framework.manifest: SMACK manifest file remote-key-framework.spec: RPM package specification file remote-key-framework.service: systemd service configuration file server CMakeLists.txt include common.h: Common header file src main.cpp: Main source code common.cpp: Source code of dlog connector

43 How to Build Single Tizen Package (1/3) 43 Build the most recent version in Git repository In default, GBS builds the source code of most recent version. 1. Move to the directory of repository. 2. $ gbs build -A armv7l -A <architecture type>: x86, armv7l Local PC Working Directory hello.c Add Staging Area Commit (Local) Repository Ver.2 hello.c Ver.1 gbs build Package file (rpm)

44 How to Build Single Tizen Package (2/3) 44 Build the working directory Use it in the case of building the source code in work. 1. Move to the directory of repository. 2. $ gbs build -A armv7l --include-all --include-all: option for building working directory Local PC Working Directory hello.c Add Staging Area Commit (Local) Repository Ver.2 hello.c Ver.1 gbs build Package file (rpm)

45 How to Build Single Tizen Package (3/3) 45 Other GBS Options --threads <# of threads>: the number of build threads --clean: initializes the GBS build root --exclude=<packages>: the list of packages to be excluded Build Result Name: package_name-version.arch.rpm ex. remote-key-framework armv7l.rpm Located in: ~/GBS-ROOT/local/repos/tizen2.2/armv7l/RPMS/

46 How to Install Tizen Package (1/2) 46 Install package files(*.rpm) on target board Send package files to target board through SDB Install the packages by RPM tool Local PC Working Directory hello.c Add Staging Area Commit gbs build --include-all Package file (rpm) Install (Local) Repository Ver.2 hello.c Ver.1 gbs build Package file (rpm) ODROID-U3 Install

47 How to Install Tizen Package (2/2) 1. Connect to ODROID-U3 via USB How to check connection: $ sdb devices Caution: If you are using VMWare, check the connection of removable device 2. Enter to SDB root mode 1. $ sdb root on 3. Send package file to target board through SDB 1. $ sdb push package_name-version.arch.rpm / 4. Install the package 1. $ sdb shell rpm -ivh --nodeps --force package_nameversion.arch.rpm 5. Reboot your target board 1. $ adb shell sync; sdb shell reboot -f

Tizen/Artik IoT Practice Part 4 Open Source Development

Tizen/Artik IoT Practice Part 4 Open Source Development 1 Tizen/Artik IoT Practice Part 4 Open Source Development Sungkyunkwan University Contents 2 SCM Tool: Git Version Management Local & Remote Repository Branch Management Github Contribution Process Issue

More information

Tizen Platform Practice Part 3. Project. SKKU Embedded Software Lab.

Tizen Platform Practice Part 3. Project. SKKU Embedded Software Lab. 1 Tizen Platform Practice Part 3. Project Contents 2 Part 1. Overview Tizen Platform & Kernel Overview Development System Overview Appendix: Tizen Source Code Management Part 2. Setting Tizen Development

More information

Building Tizen Development Environment

Building Tizen Development Environment Building Tizen Development Environment Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Tizen 2.3 Development Environment Target hardware device Tizen Reference

More information

Building Tizen Development Environment

Building Tizen Development Environment Building Tizen Development Environment Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University msryu@hanyang.ac.kr Outline Install Ubuntu on Virtual Machine Build Tizen Development Environment

More information

GIT. A free and open source distributed version control system. User Guide. January, Department of Computer Science and Engineering

GIT. A free and open source distributed version control system. User Guide. January, Department of Computer Science and Engineering GIT A free and open source distributed version control system User Guide January, 2018 Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Table of Contents What is

More information

One-click Solution for Tizen Image Creation Based on Jenkins Framework. Zhang, Qiang (Intel Open Source Technology Center)

One-click Solution for Tizen Image Creation Based on Jenkins Framework. Zhang, Qiang (Intel Open Source Technology Center) One-click Solution for Tizen Image Creation Based on Jenkins Framework Zhang, Qiang (Intel Open Source Technology Center) Agenda Tizen Build Workflow Overview Detailed steps Downloading Tizen Source Code

More information

Getting the Source Code

Getting the Source Code Getting the Source Code The CORD source code is available from our Gerrit system at gerrit.opencord.org. Setting up a Gerrit account and ssh access will also enable you to submit your own changes to CORD

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Gerrit

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Gerrit Gerrit About the Tutorial Gerrit is a web-based code review tool, which is integrated with Git and built on top of Git version control system (helps developers to work together and maintain the history

More information

Git & Github Fundamental by Rajesh Kumar.

Git & Github Fundamental by Rajesh Kumar. Git & Github Fundamental by Rajesh Kumar About me Rajesh Kumar DevOps Architect @RajeshKumarIN www.rajeshkumar.xyz www.scmgalaxy.com 2 What is git Manage your source code versions Who should use Git Anyone

More information

Best Practice for Tizen Platform from Code to Device. Zhang, Qiang Chen, Gui (Intel Open Source Technology Center)

Best Practice for Tizen Platform from Code to Device. Zhang, Qiang Chen, Gui (Intel Open Source Technology Center) Best Practice for Tizen Platform from Code to Device Zhang, Qiang Chen, Gui (Intel Open Source Technology Center) Agenda Tizen Development Tools Workflow Overview Downloading Tizen source code Building

More information

REX-RED Community Android 4.3

REX-RED Community Android 4.3 REX-RED Community Android 4.3 Build Guide REXNOS CO.,Ltd Document Information Version 1.1 File Name REX5260 Android 4.3 Build Guide.doc Date May 20, 2014 Status Working Revision History Date Version Update

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

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

CS314 Software Engineering Configuration Management

CS314 Software Engineering Configuration Management CS314 Software Engineering Configuration Management Dave Matthews Configuration Management Management of an evolving system in a controlled way. Version control tracks component changes as they happen.

More information

Introduction to Git and Github Repositories

Introduction to Git and Github Repositories Introduction to Git and Github Repositories Benjamin Audren École Polytechnique Fédérale de Lausanne 29/10/2014 Benjamin Audren (EPFL) CLASS/MP MP runs 29/10/2014 1 / 16 Version Control survey Survey Who

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

Software Development I

Software Development I 6.148 Software Development I Two things How to write code for web apps. How to collaborate and keep track of your work. A text editor A text editor A text editor Anything that you re used to using Even

More information

Git Guide. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : October, More documents are freely available at PythonDSP

Git Guide. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : October, More documents are freely available at PythonDSP Git Guide Meher Krishna Patel Created on : Octorber, 2017 Last updated : October, 2018 More documents are freely available at PythonDSP Table of contents Table of contents i 1 Commands Summary 1 2 Git

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

Git Introduction CS 400. February 11, 2018

Git Introduction CS 400. February 11, 2018 Git Introduction CS 400 February 11, 2018 1 Introduction Git is one of the most popular version control system. It is a mature, actively maintained open source project originally developed in 2005 by Linus

More information

EECS 470 Lab 4. Version Control System. Friday, 31 st January, 2014

EECS 470 Lab 4. Version Control System. Friday, 31 st January, 2014 EECS 470 Lab 4 Version Control System Department of Electrical Engineering and Computer Science College of Engineering University of Michigan Friday, 31 st January, 2014 (University of Michigan) Lab 4:

More information

Version Control: Gitting Started

Version Control: Gitting Started ting Started Cai Li October 2014 What is Version Control? Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. Local Version

More information

Git. SSE2034: System Software Experiment 3, Fall 2018, Jinkyu Jeong

Git. SSE2034: System Software Experiment 3, Fall 2018, Jinkyu Jeong Git Prof. Jinkyu Jeong (Jinkyu@skku.edu) TA -- Minwoo Ahn (minwoo.ahn@csl.skku.edu) TA -- Donghyun Kim (donghyun.kim@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu

More information

TangeloHub Documentation

TangeloHub Documentation TangeloHub Documentation Release None Kitware, Inc. September 21, 2015 Contents 1 User s Guide 3 1.1 Managing Data.............................................. 3 1.2 Running an Analysis...........................................

More information

Git: Distributed Version Control

Git: Distributed Version Control Git: Distributed Version Control Computer Science and Engineering College of Engineering The Ohio State University Lecture 3 Demo Prep: Empty (but initialized) repo Linear development: Create, edit, rename,

More information

FEEG Applied Programming 3 - Version Control and Git II

FEEG Applied Programming 3 - Version Control and Git II FEEG6002 - Applied Programming 3 - Version Control and Git II Richard Boardman, Sam Sinayoko 2016-10-19 Outline Learning outcomes Working with a single repository (review) Working with multiple versions

More information

Tizen EFL UTC User Guide

Tizen EFL UTC User Guide Tizen 2.3.1 EFL UTC User Guide Table of Contents 1. Environment setup... 3 1.1. Symbols and abbreviations... 3 1.2. Hardware Requirements... 3 1.3. Software Requirements... 3 2. Making the EFL UTC package...

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

GETTING STARTED WITH. Michael Lessard Senior Solutions Architect June 2017

GETTING STARTED WITH. Michael Lessard Senior Solutions Architect June 2017 GETTING STARTED WITH Michael Lessard Senior Solutions Architect June 2017 Agenda What is Git? Installation of Git Git basis Github First steps with Git 2 WHAT IS GIT? What is Git? Started in 2005 Created

More information

CS 390 Software Engineering Lecture 5 More Git

CS 390 Software Engineering Lecture 5 More Git CS 390 Software Engineering Lecture 5 More Git Reference: Scott Chacon and Ben Straub, Pro Git, published by Apress, available at https://git-scm.com/book/en/v2. Outline Finish local repository Remote

More information

MOOSE-Based Application Development on GitLab

MOOSE-Based Application Development on GitLab MOOSE-Based Application Development on GitLab MOOSE Team Idaho National Laboratory February 22, 2016 Introduction The intended audience for this talk is developers of INL-hosted, MOOSE-based applications.

More information

The Intro. Aaron Bartell Director of IBM i Innovation. Copyright 2015 Aaron Bartell

The Intro. Aaron Bartell Director of IBM i Innovation. Copyright 2015 Aaron Bartell The Intro Aaron Bartell Director of IBM i Innovation albartell@krengeltech.com Copyright 2015 Aaron Bartell This session brought to you by... Consulting - Jumpstart your open source pursuit. Small and

More information

Tizen * IVI Hands-on Lab

Tizen * IVI Hands-on Lab Tizen * IVI Hands-on Lab Geoffroy VanCutsem, Technical Marketing Engineer, Intel Tosh Mitsue, Technical Marketing Engineer, Intel Tonny Tzeng, Technical Marketing Engineer, Intel SFTL004 Agenda Lab Objective

More information

DEAD-SIMPLE VERSION CONTROL FOR YOUR TEAM GIT WITH MATTHEW REIDSMA GRAND VALLEY STATE UNIVERSITY

DEAD-SIMPLE VERSION CONTROL FOR YOUR TEAM GIT WITH MATTHEW REIDSMA GRAND VALLEY STATE UNIVERSITY DEAD-SIMPLE VERSION CONTROL FOR YOUR TEAM WITH GIT MATTHEW REIDSMA GRAND VALLEY STATE UNIVERSITY WHO DOESN T USE VERSION CONTROL? VERSION CONTROL WHO? OH BOY. WHY YOU NEED VERSION CONTROL GIT GIT WHY GIT

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

Getting the files for the first time...2. Making Changes, Commiting them and Pull Requests:...5. Update your repository from the upstream master...

Getting the files for the first time...2. Making Changes, Commiting them and Pull Requests:...5. Update your repository from the upstream master... Table of Contents Getting the files for the first time...2 Making Changes, Commiting them and Pull Requests:...5 Update your repository from the upstream master...8 Making a new branch (for leads, do this

More information

Basics of Git GitHub

Basics of Git GitHub Basics of Hub Why this Webinar? You registered for Microsoft codefundo++ Deadline to submit your idea is Oct 12th, 23:59 IST Getting you started with & Hub Agenda What is Version Control? What is the difference

More information

Git: Distributed Version Control

Git: Distributed Version Control Git: Distributed Version Control Computer Science and Engineering College of Engineering The Ohio State University Lecture 3 What Does "D" Stand For? Distributed version control Multiple people, distributed

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

Software Engineering

Software Engineering Software Engineering CSC 331/631 - Spring 2018 Version Control with Git Paul Pauca March 27 SE Theory: Version Control Systems Link to video lectures (Soft Dev Proc part 1 of 3) Watch these short videos

More information

Object Oriented Programming. Week 1 Part 2 Git and egit

Object Oriented Programming. Week 1 Part 2 Git and egit Object Oriented Programming Part 2 Git and egit Lecture Review of Git Local Repository Remote Repository Using Git from Eclipse Review of Git 3 What is Git? Software Configuration Management (SCM) Supports

More information

Introduction to Git. Database Systems DataLab, CS, NTHU Spring, 2018

Introduction to Git. Database Systems DataLab, CS, NTHU Spring, 2018 Introduction to Git Database Systems DataLab, CS, NTHU Spring, 2018 1 Outline Version control system Git basics Git branch Remote repository 2 Outline Version control system Git basics Git branch Remote

More information

Git(Lab) Tutorial and Hands-On

Git(Lab) Tutorial and Hands-On Git(Lab) Tutorial and Hands-On Analysis Workshop 34th KATRIN Collaboration Meeting Institut für Kernphysik WWU Münster 21.02.2018 Git(Lab) Tutorial and Hands-On Or: Why branches aren t homeomorphic endofunctors

More information

Visualizing Git Workflows. A visual guide to 539 workflows

Visualizing Git Workflows. A visual guide to 539 workflows Visualizing Git Workflows A visual guide to 539 workflows Table of Contents Notation Collaboration Without Review or Branches Merge Conflicts Requesting Code Review Collaboration with Multiple Branches

More information

Review Version Control Concepts

Review Version Control Concepts Review Version Control Concepts SWEN-261 Introduction to Software Engineering Department of Software Engineering Rochester Institute of Technology Managing change is a constant aspect of software development.

More information

1. Which of these Git client commands creates a copy of the repository and a working directory in the client s workspace. (Choose one.

1. Which of these Git client commands creates a copy of the repository and a working directory in the client s workspace. (Choose one. Multiple-Choice Questions: 1. Which of these Git client commands creates a copy of the repository and a working directory in the client s workspace. (Choose one.) a. update b. checkout c. clone d. import

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

Index. Alias syntax, 31 Author and commit attributes, 334

Index. Alias syntax, 31 Author and commit attributes, 334 Index A Alias syntax, 31 Author and commit attributes, 334 B Bare repository, 19 Binary conflict creating conflicting changes, 218 during merging, 219 during rebasing, 221 Branches backup, 140 clone-with-branches

More information

Version Control. Software Carpentry Github s Hello World Git For Ages 4 And Up You need source code control now

Version Control. Software Carpentry Github s Hello World Git For Ages 4 And Up You need source code control now A version control system (VCS) is a tool or system for keeping track of changes in files. A primitive form of VCS would be making a copy of a file every time you want to make a new version of the file.

More information

CSE 344: Section 1 Git Setup for HW Introduction to SQLite

CSE 344: Section 1 Git Setup for HW Introduction to SQLite CSE 344: Section 1 Git Setup for HW Introduction to SQLite 1 Git/Gitlab Walkthrough 2 Install and Configure Git Linux (Debian/Ubuntu): sudo apt-get update sudo apt-get install git Mac: http://git-scm.com/download/mac

More information

Version Control Systems

Version Control Systems Version Control Systems Version Control In the 2 nd edition of Pro Git, version control is described as a system that records changes to a file or set of files over time so that you can recall specific

More information

Crash Course in C++ R F L Evans. www-users.york.ac.uk/~rfle500/

Crash Course in C++ R F L Evans. www-users.york.ac.uk/~rfle500/ Crash Course in C++ R F L Evans www-users.york.ac.uk/~rfle500/ Course overview Lecture 1 - Introduction to C++ Lecture 2 - Functions and Data Lecture 3 - Namespaces and Files Lecture 4 - Code Organization

More information

Tutorial 2 GitHub Tutorial

Tutorial 2 GitHub Tutorial TCSS 360: Software Development Institute of Technology and Quality Assurance Techniques University of Washington Tacoma Winter 2017 http://faculty.washington.edu/wlloyd/courses/tcss360 Tutorial 2 GitHub

More information

Shell Project Part 1 (140 points)

Shell Project Part 1 (140 points) CS 453: Operating Systems Project 1 Shell Project Part 1 (140 points) 1 Setup All the programming assignments for Linux will be graded on the onyx cluster(onyx.boisestate.edu). Please test your programs

More information

Git Workflows. Sylvain Bouveret, Grégory Mounié, Matthieu Moy

Git Workflows. Sylvain Bouveret, Grégory Mounié, Matthieu Moy s Sylvain Bouveret, Grégory Mounié, Matthieu Moy 2017 [first].[last]@imag.fr http://recherche.noiraudes.net/resources/git/git-workflow-slides.pdf 1 / 16 Goals of the presentation Global history: multiple

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

AIS Grid School 2015

AIS Grid School 2015 Getting distributed without losing your HEAD AIS Grid School 2015 Дубна, Россия 3 e Oктября 2015 Benjamin Wolff (CERN / GS-AIS) Logo source: http://git-scm.com/downloads/logos What is a Version Control

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

Lab 01 How to Survive & Introduction to Git. Web Programming DataLab, CS, NTHU

Lab 01 How to Survive & Introduction to Git. Web Programming DataLab, CS, NTHU Lab 01 How to Survive & Introduction to Git Web Programming DataLab, CS, NTHU Notice These slides will focus on how to submit you code by using Git command line You can also use other Git GUI tool or built-in

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

Version Control. Version Control

Version Control. Version Control Version Control CS440 Introduction to Software Engineering 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

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

FAQ Q: Where/in which branch do I create new code/modify existing code? A: Q: How do I commit new changes? A:

FAQ Q: Where/in which branch do I create new code/modify existing code? A: Q: How do I commit new changes? A: FAQ Q: Where/in which branch do I create new code/modify existing code? A: We strongly recommend only modifying the source code within the local master branch: Git Repository View Woped repository Branches

More information

Tizen TCT User Guide

Tizen TCT User Guide Tizen 2.3.1 TCT User Guide Table of Contents 1. Environment setup... 3 1.1. Symbols and abbreviations... 3 1.2. Hardware Requirements... 3 1.3. Software Requirements... 3 2. Getting TCT-source and TCT-manager...

More information

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

Version control. what is version control? setting up Git simple command-line usage Git basics

Version control. what is version control? setting up Git simple command-line usage Git basics Version control what is version control? setting up Git simple command-line usage Git basics Version control - intro ensure we keep track of changes, updates, contributions, suggested mods... could try

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

GIT. CS 490MT/5555, Spring 2017, Yongjie Zheng

GIT. CS 490MT/5555, Spring 2017, Yongjie Zheng GIT CS 490MT/5555, Spring 2017, Yongjie Zheng GIT Overview GIT Basics Highlights: snapshot, the three states Working with the Private (Local) Repository Creating a repository and making changes to it Working

More information

About SJTUG. SJTU *nix User Group SJTU Joyful Techie User Group

About SJTUG. SJTU *nix User Group SJTU Joyful Techie User Group About SJTUG SJTU *nix User Group SJTU Joyful Techie User Group Homepage - https://sjtug.org/ SJTUG Mirrors - https://mirrors.sjtug.sjtu.edu.cn/ GitHub - https://github.com/sjtug Git Basic Tutorial Zhou

More information

Source Code Management wih git

Source Code Management wih git Source Code Management wih git Matthieu Herrb December 22 http://homepages.laas.fr/matthieu/cours/git.pdf Licence This work is licensed under a Creative Commons Attribution-ShareAlike 3. Unported License.

More information

Software Development. Using GIT. Pr. Olivier Gruber. Laboratoire d'informatique de Grenoble Université de Grenoble-Alpes

Software Development. Using GIT. Pr. Olivier Gruber. Laboratoire d'informatique de Grenoble Université de Grenoble-Alpes Software Development 1 Using GIT Pr. Olivier Gruber olivier.gruber@imag.fr Laboratoire d'informatique de Grenoble Université de Grenoble-Alpes Overview 2 What is GIT Keeping histories of the evolution

More information

How to be a git. Dominic Mitchell

How to be a git. Dominic Mitchell How to be a git Dominic Mitchell Git! It s new! Everybody s talking about it! What is it? Distributed Version Control Why Git? Fast Local Toolkit Widely used Github Toolkit lets other people build tools

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

Pulp Python Support Documentation

Pulp Python Support Documentation Pulp Python Support Documentation Release 1.0.1 Pulp Project October 20, 2015 Contents 1 Release Notes 3 1.1 1.0 Release Notes............................................ 3 2 Administrator Documentation

More information

b. Developing multiple versions of a software project in parallel

b. Developing multiple versions of a software project in parallel Multiple-Choice Questions: 1. Which of these terms best describes Git? a. Integrated Development Environment b. Distributed Version Control System c. Issue Tracking System d. Web-Based Repository Hosting

More information

CSCI 350 Virtual Machine Setup Guide

CSCI 350 Virtual Machine Setup Guide CSCI 350 Virtual Machine Setup Guide This guide will take you through the steps needed to set up the virtual machine to do the PintOS project. Both Macintosh and Windows will run just fine. We have yet

More information

Versioning with git. Moritz August Git/Bash/Python-Course for MPE. Moritz August Versioning with Git

Versioning with git. Moritz August Git/Bash/Python-Course for MPE. Moritz August Versioning with Git Versioning with git Moritz August 13.03.2017 Git/Bash/Python-Course for MPE 1 Agenda What s git and why is it good? The general concept of git It s a graph! What is a commit? The different levels Remote

More information

CSE 344: Section 1 Git Setup for HW Introduction to SQLite. September 28, 2017

CSE 344: Section 1 Git Setup for HW Introduction to SQLite. September 28, 2017 CSE 344: Section 1 Git Setup for HW Introduction to SQLite September 28, 2017 1 Administrivia HW1 due on GitLab on Tuesday, October 3rd at 11:00 P.M. WQ1 due on Gradiance on Friday, October 6th at 11:59

More information

(Cloud9) and to the Remote Repository (GitHub)

(Cloud9) and to the Remote Repository (GitHub) 1 2 3 Add Commit Push Steps to Move files into the Local Repository (Cloud9) and to the Remote Repository (GitHub) Assignment Steps: Step #1: Create a GitHub account Step #2: Link Cloud9 account to GitHub

More information

Tizen.IoTivity.Init. Tizen IoTivity 를시작하기위한환경설정. Geunsun Lee

Tizen.IoTivity.Init. Tizen IoTivity 를시작하기위한환경설정. Geunsun Lee Tizen.IoTivity.Init Tizen IoTivity 를시작하기위한환경설정 Geunsun Lee 1 Installing Tizen Platform How to install IoT Headless image on RPi3(for Ubuntu) 2 Booting The RPi3 Connecting a Host PC to RPi3 via UART 3 Building

More information

CS3210: Operating Systems

CS3210: Operating Systems CS3210: Operating Systems Lab 1 Tutorial 1 / 39 Lab session general structure Session A - overview presentation (30 min) Concepts, tutorial, and demo Session B - group activity (30 min) Each student will

More information

Tips on how to set up a GitHub account:

Tips on how to set up a GitHub account: Tips on how to set up a GitHub account: 1. Go to the website https://github.com/, you will see the following page: Figure 1: The GitHub main webpage (before you create an account and sign in) Then choose

More information

Use git rm to remove files from workspace

Use git rm to remove files from workspace More Git: Removing files from the repository Branches, tags, merge conflicts Pull requests CPSC 491 First: Get up to speed from last time Removing files from your workspace Use git rm to remove files from

More information

Setting up a Chaincoin Masternode

Setting up a Chaincoin Masternode Setting up a Chaincoin Masternode Introduction So you want to set up your own Chaincoin Masternode? You ve come to the right place! These instructions are correct as of April, 2017, and relate to version

More information

John DeDourek Professor Emeritus Faculty of Computer Science University of New Brunswick GIT

John DeDourek Professor Emeritus Faculty of Computer Science University of New Brunswick GIT John DeDourek Professor Emeritus Faculty of Computer Science University of New Brunswick GIT What is Git? A source code control system Implies program code A version control system Implies any sort of

More information

Git version control with Eclipse (EGit) Tutorial

Git version control with Eclipse (EGit) Tutorial Git version control with Eclipse (EGit) Tutorial 출처 : Lars Vogel http://www.vogella.com/tutorials/eclipsegit/article.html Lars Vogel Version 3.6 Copyright 2009, 2010, 2011, 2012, 2013, 2014 Lars Vogel

More information

Git Magic: Versioning Files Like a Boss. Tommy MacWilliam

Git Magic: Versioning Files Like a Boss. Tommy MacWilliam Git Magic: Versioning Files Like a Boss Tommy MacWilliam tmacwilliam@cs50.net Today setting up like a boss basic git like a boss using branches like a boss reverting changes like a boss collaborating like

More information

Distributed Version Control (with Git)

Distributed Version Control (with Git) Distributed Version Control (with Git) Introduction and Tutorial fhlug 24. 03. 2011 Why Distributed? No single point of failure Automatic backups Fast local operations (log, diff, checkout, ) Authenticity

More information

Distributed Version Control Git

Distributed Version Control Git Distributed Version Control Git Jakob Lykke Andersen jlandersen@imada.sdu.dk Tuesday 10 th October, 2017 Contents 1 Introduction 1 1.1 Notation......................................... 2 1.2 Getting Help......................................

More information

Branching and Merging

Branching and Merging Branching and Merging SWEN-261 Introduction to Software Engineering Department of Software Engineering Rochester Institute of Technology Version control branching supports the ability to manage software

More information

Lab Exercise Git: A distributed version control system

Lab Exercise Git: A distributed version control system Lunds tekniska högskola Datavetenskap, Nov 21, 2016 EDAF45 Programvaruutveckling i grupp projekt Labb 2 (Git): Labbhandledning Checked on Git versions: 2.7.4 Lab Exercise Git: A distributed version control

More information

Submitting your Work using GIT

Submitting your Work using GIT Submitting your Work using GIT You will be using the git distributed source control system in order to manage and submit your assignments. Why? allows you to take snapshots of your project at safe points

More information

WES 237A Project Part 1 Guide

WES 237A Project Part 1 Guide WES 237A Project Part 1 Guide A. Environment Setup Guide Goals The purpose of this document is to prepare your development machine for the project by: 1. Installing any missing, required tools 2. Setting

More information

Git. CSCI 5828: Foundations of Software Engineering Lecture 02a 08/27/2015

Git. CSCI 5828: Foundations of Software Engineering Lecture 02a 08/27/2015 Git CSCI 5828: Foundations of Software Engineering Lecture 02a 08/27/2015 1 Lecture Goals Present a brief introduction to git You will need to know git to work on your presentations this semester 2 Git

More information

git the SCM system Jan-Simon Möller training.linuxfoundation.org

git the SCM system Jan-Simon Möller training.linuxfoundation.org git the SCM system Jan-Simon Möller training.linuxfoundation.org Topics What is git (what is a SCM) How to install git How to personalize git How to use git for development What is git? What is a SCM System?

More information

GIT VERSION CONTROL TUTORIAL. William Wu 2014 October 7

GIT VERSION CONTROL TUTORIAL. William Wu 2014 October 7 GIT VERSION CONTROL TUTORIAL William Wu w@qed.ai 2014 October 7 ABOUT ME Scientific Computing Specialist background: math, cs, ee interests: machine learning, DSP, imaging, data viz, cloud work: various

More information

CS Homework 8. Deadline. Purpose. Problem 1. Problem 2. CS Homework 8 p. 1

CS Homework 8. Deadline. Purpose. Problem 1. Problem 2. CS Homework 8 p. 1 CS 458 - Homework 8 p. 1 Deadline CS 458 - Homework 8 Problem 1 was completed during CS 458 Week 10 Lab. Problems 2 onward are due by 11:59 pm on Friday, November 3, 2017 Purpose To meet with your project

More information

Algorithm Engineering

Algorithm Engineering Algorithm Engineering Jens K. Mueller jkm@informatik.uni-jena.de Department of Mathematics and Computer Science Friedrich Schiller University Jena Tuesday 21 st October, 2014 Version Control with Git Version

More information

Introduction to GIT. Jordi Blasco 14 Oct 2011

Introduction to GIT. Jordi Blasco 14 Oct 2011 Jordi Blasco (jblasco@xrqtc.com) 14 Oct 2011 Agenda 1 Project information Who is ussing GIT 2 Branch Tag Data Transport Workow 3 Congure 4 Working with remotes 5 Project information Who is ussing GIT Project

More information

IoTivity Programmer s Guide Resource Encapsulation

IoTivity Programmer s Guide Resource Encapsulation IoTivity Programmer s Guide Resource Encapsulation 1 CONTENTS 2 Revision History... 4 3 Terminology... 5 4 Introduction to Resource Encapsulation... 6 4.1 Overall Architecture... 6 4.2 Iotivity Service

More information