バージョン管理ツールを使い Debian パッケージを管理する - Git 編

Similar documents
自己紹介 岩松信洋 (IWAMATSU Nobuhiro) Linux カーネル開発をしています (Renesas SH) U-Boot のSHアーキテクチャメンテナしています Debian の開発に参加しています Debian Maintainer / Debian JP Project Lead

東京エリア Debian 勉強会 - Debian Package ハンズオン

3.2 Linux root vi(vim) vi emacs emacs 4 Linux Kernel Linux Git 4.1 Git Git Linux Linux Linus Fedora root yum install global(debian Ubuntu apt-get inst

150 Debian.Deb 銀河系唯一の Debian 専門誌

TeX LiveのCIテスティング

東京エリア Debian 勉強会 - 資料

111 Debian.Deb 銀河系唯一の Debian 専門誌 iphone

untitled

I117 II I117 PROGRAMMING PRACTICE II HASH Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara

Microsoft PowerPoint - 22_git ppt

DCL intro Manual for Ubuntu11.10

IIJ Technical WEEK アプリ開発を楽にするRuby PaaS「MOGOK」について

1

Debian での数学ことはじめ。 - gnuplot, Octave, R 入門

174 Debian.Deb 銀河系唯一の Debian 専門誌 /usr Merge

(Part-3) 3 Why? How Who How Worth Part-1? Whom Part-2 When Part-3? What? Which How Much Part-4 summary 2

bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows ˆ Windows10 64bit Wi

pressrelease0806

東京エリアDebian勉強会 - 第91回 2012年9月度/OSC2012 Tokyo/Fall)

108 Debian.Deb 銀河系唯一のDebian 専門誌

DCL intro Manual for Ubuntu12.04

プリント

バージョン管理システム 門 CVS,Subversion, そして Git まで 佐々 洋平 北大 理 宇宙理学 / 神大 理 地球惑星地球流体電脳倶楽部 2008/10/03 神大自然科学総合研究棟 3 号館 507

AWS Deck Template

untitled

広報ひめじ2015年9月号

広報ひめじ2015年8月号

BIGLOBE クラウドホスティング 開発お役立ちパック GitLab 利用マニュアル 1.0 版 (2013 年 7 月 3 日 ) ビッグローブ株式会社 1 Copyright 2013 BIGLOBE. All Rights Reserved

????? 1???

Microsoft PowerPoint - AXIES2015_OSS_tokiwa.pptx

untitled

Debian ¥Ñ¥Ã¥±¡¼¥¸¤Îºî¤êÊý - ºÇ½é¤«¤éºÇ¸å¤Þ¤Ç

Subversion の基礎勉強 〜Subversion によるバージョン管理を使う〜

Copyright (c) 2018, Katsushi Kobayashi. All rights reserved. クレジット : UTokyo Online Education Education コンピュータシステム概論 2018 小林克志 ライセンス : 利用者は 本講義資料を 教育的な


ruby novice ruby novice ruby novice.

9 rbenv rbenv ruby 9.1 rbenv rbenv rbenv ruby ruby-build ruby 9.2 rbenv macos.bash_profile ~/.bash_profile ~/.bash_profile.bak $ touch ~/.bash_profile

UNIX

Add-onアプリケーション開発 - 環境構築マニュアル -

取扱説明書 [F-08D]

KNOPPIX/Math ( ) MathLibre 2012dojo

東京エリアDebian勉強会 - 第86回 2012年3月度

2005 3

UNIX version Copyright c Daikoku Manabu 1 UNIX 1.1 UNIX UNIX UNIX OS Windows UNIX UNIX UN

unix.dvi

PDF


PRCT GSM J.indd

161 Debian.Deb 銀河系唯一の Debian 専門誌 GO

本チュートリアルについて 14 部構成 比較的簡単なトピックから 各回 プログラミング言語 任意 チュートリアルで 新しい内容 宿題 プログラミング演習 次の週 結果について発表 もしくは話し合いをする スライドは Python で Python, C++, Java, Perl についての質問い答

(1/2) 2/45 HPC top runner application programmer PC-9801F N88-BASIC Quick BASIC + DOS ( ) BCB Windows Percolation, Event-driven MD ActionScript Flash

始める前の諸注意 今回も撮影ありなので まずそうな人は先に相談を 途中で質問とかもOK ただし長いのは後でお願いします 今回の資料はどこかのタイミングでアップロードする予定です 用意の時間がとれてないので色々と不都合もあるかとは思いますが そこは寛大な心で

ゲスト OS インストール ガイド

<Documents Title Here>

GNU Emacs GNU Emacs

Agenda 2


Print

mnal_HDR4ex_5ex.pdf

Server Backup Manager 5.0 Debian および Ubuntu システムへの Server Backup Free のインストール 1. APT-GET をしてServer Backup Free をインストールする 2. Server Backup Free のインストール

untitled

第168回東京エリアDebian勉強会   debianにおけるnginxの設定例

_CS5.indd

cat A

Windows10上でのFrontISTR v5.0αの構築法

Git の基礎勉強 〜Git によるバージョン管理を使う〜

Debian 2 2 Debian 3 3 Debian 8 4 Debian Debian Git 32 8 VCS 37 9 Debian Debian Debian Debian Debia

C01-C04


tosh-docker pub

利用者

13koki_koza.indd

Microsoft PowerPoint - Tutorial_2_upd.ppt

p1

Moldplus_Server_4.12

東京エリアDebian勉強会 - 第111回 2014年3月度

0ニ0・モgqNャX1TJf・

Raspberry Pi3 / arm64 - Debian/Ubuntu ミートアップ in 札幌

東京エリアDebian勉強会 - 第87回 2012年4月度

Step1 Step2 Step3 Step4 Step5 COLUMN.1 Step1 Step2 Step3 Step4 Step5 Step6 Step7 Step8 COLUMN.2 Step1 Step2 Step3 Step4 Step5 COLUMN.3 Step1 Step2 Ste

宿泊産業活性化のための実証実験

P00(表紙)

PJZ012A081_A




ジェネリック医薬品販売会社(田辺製薬販売株式会社)の設立に伴う包装変更のご案内


06地図目録.pwd

橡82-93協力員原稿>授業

17. (1) 18. (1) 19. (1) 20. (1) 21. (1) (3) 22. (1) (3) 23. (1) (3) (1) (3) 25. (1) (3) 26. (1) 27. (1) (3) 28. (1) 29. (1) 2

結婚生活を強める

外為オンライン FX 取引 操作説明書

1 2

untitled

INDEX

INDEX


1002goody_bk_作業用

RedHat OpenFOAM OpenFOAM ver 2.3 RedHat(RHEL)

Transcription:

Debian Git iwamatu@debian.or.jp IRC nick: iwamatsu 2008 4 19

VCS

Debian VCS 2008 4 Debian VCS

git-buildpackage git-buildpackage git-dch Git Debian Changelog git-import-dsc Debian Package Git git-import-orig Git

Git SD 2008 4

Git git clone git init git add (index) git commit git rm git diff

Git git diff git branch git checkout git format-patch git pull git push

Git

Debian Package $ git-import-dsc../isight-firmwaretools_1\.0.2-1.dsc Upstream version: 1.0.2 Debian version: 1 No git repository found, creating one. Initialized empty Git repository in \.git/ Everything imported under isight-firm\ ware-tools $ ls isight-firmware-tools $ cd isight-firmware-tools $ git branch * master upstream

$ git log commit 9c3669a233afe69d7be2aa8ad199\ 5e6b19c841aa Author: Nobuhiro Iwamatsu <iwamatsu@\ nigauri.org> Date: Sun Apr 6 21:48:40 2008 +0900 Imported Debian patch 1.0.2-1 $ git tag debian/1.0.2-1 upstream/1.0.2

$ dpatch-edit-patch 05_change_ift-load \ _install_dir...... $ exit $ vi debian/patches/00list $ git add debian/patches/05chage_ift\ -load_install_dir.dpatch $ git commit -s debian/patches/00list\ debian/patches/05_chage_ift-load_inst\ all_dir.dpatch /* */ Change ift-load install dir. Signed-off-by: Nobuhiro Iwamatsu \ <iwamatsu@nigauri.org> $ git log commit c9865153ae1949956fdfe3827c0da9b3\ 6c2f0ddb Author: Nobuhiro Iwamatsu <iwamatsu@niga\ uri.org> Date: Sun Apr 6 21:23:20 2008 +0900 Change ift-load install dir. Signed-off-by: Nobuhiro Iwamatsu <iwa\ matsu@nigauri.org>

git-buildpackage Debian $ git-buildpackage --git-ignore-new\ -us -uc

$ git-dch --release /* Debian Changelog */

$ git-buildpackage --git-ignore-new\ --git-tag $ git tag debian/1.0.2-1 debian/1.0.2-2 upstream/1.0.2

$ git-import-orig /tmp/isight-\ firmware-tools-1.2.tar.gz Upstream version is 1.2.0 Importing /tmp/isight-firmware\ -tools-1.2.tar.gz to branch upstream... Switched to branch "upstream" rm isight.rules.in rm po/fr_fr.po Created commit f5c85da: Imported\ Upstream version 1.2.0 33 files changed, 4434 insertio\ ns(+), 1332 deletions(-)...<snip> src/udev.c \ 164 +++ 33 files changed, 4434 insertion\ s(+), 1332 deletions(-) rename po/{fr_fr.po => fr.po} (66%) create mode 100644 src/50-isight-\ firmware.fdi

create mode 100644 src/callout.c create mode 100644 src/isight-firm\ ware.fdi rename isight.rules.in => src/isigh\ t.rules.in (100%) create mode 100644 src/load.h create mode 100644 src/udev.c Succesfully merged version 1.2 of \ /home/iwamatsu/desktop/isight-firmwar\ e-tools-1.2.tar.gz into. $ git branch debian/1.0.2-1 debian/1.0.2-2 upstream/1.0.2 upstream/1.2 $ cat debian/changelog isight-firmware-tools (1.2-1) unstable;\ urgency=low * New Upstream Version -- Nobuhiro Iwamatsu <iwamatsu@\ nigauri.org> Fri, 11 Apr 2008 17:18:23 +0900

$ mkdir isight-firmware-loader-1.2 $ cd isight-firmware-tools-1.2 $ git-init $ git-import-orig -u 1.2 \ /tmp/isight-firmware-tools-1.2.tar.gz Upstream version is 1.2 Initial import of /tmp/isight-\ firmware-tools-1.2.tar.gz... Succesfully merged version 1.2 \ of /tmp/isight-firmware-tools-1.2.tar.gz into $ git log commit 9bf014aee2f834576f8f03d67\ ab66e8c85726832 Author: Nobuhiro Iwamatsu <iwamat\ su@nigauri.org> Date: Tue Apr 8 21:42:55 2008 +0900 Imported Upstream version 1.2 $ git branch * master upstream $ git tag upstream/1.2 $ git branch upsteam $ dh_make $ git branch master

$ mkdir isight-firmware-loader-1.2 $ cd isight-firmware-tools-1.2 $ git-init $ git-import-orig -u 1.2 \ /tmp/isight-firmware-tools-1.2.tar.gz Upstream version is 1.2 Initial import of /tmp/isight-\ firmware-tools-1.2.tar.gz... Succesfully merged version 1.2 \ of /tmp/isight-firmware-tools-1.2.tar.gz into $ git log commit 9bf014aee2f834576f8f03d67\ ab66e8c85726832 Author: Nobuhiro Iwamatsu <iwamat\ su@nigauri.org> Date: Tue Apr 8 21:42:55 2008 +0900 Imported Upstream version 1.2 $ git branch * master upstream $ git tag upstream/1.2 $ git branch upsteam $ dh_make $ git branch master

$ mkdir isight-firmware-loader-1.2 $ cd isight-firmware-tools-1.2 $ git-init $ git-import-orig -u 1.2 \ /tmp/isight-firmware-tools-1.2.tar.gz Upstream version is 1.2 Initial import of /tmp/isight-\ firmware-tools-1.2.tar.gz... Succesfully merged version 1.2 \ of /tmp/isight-firmware-tools-1.2.tar.gz into $ git log commit 9bf014aee2f834576f8f03d67\ ab66e8c85726832 Author: Nobuhiro Iwamatsu <iwamat\ su@nigauri.org> Date: Tue Apr 8 21:42:55 2008 +0900 Imported Upstream version 1.2 $ git branch * master upstream $ git tag upstream/1.2 $ git branch upsteam $ dh_make $ git branch master

$ mkdir isight-firmware-loader-1.2 $ cd isight-firmware-tools-1.2 $ git-init $ git-import-orig -u 1.2 \ /tmp/isight-firmware-tools-1.2.tar.gz Upstream version is 1.2 Initial import of /tmp/isight-\ firmware-tools-1.2.tar.gz... Succesfully merged version 1.2 \ of /tmp/isight-firmware-tools-1.2.tar.gz into $ git log commit 9bf014aee2f834576f8f03d67\ ab66e8c85726832 Author: Nobuhiro Iwamatsu <iwamat\ su@nigauri.org> Date: Tue Apr 8 21:42:55 2008 +0900 Imported Upstream version 1.2 $ git branch * master upstream $ git tag upstream/1.2 $ git branch upsteam $ dh_make $ git branch master

VCS

VCS VCS VCS Debian Package

Subversion Subversion svn-buildpackage Git git-svn Git

SVN Git $ mkdir test $ git svn clone svn://test/trunk test-0.0.1

Debian Package $ git branch master $ git branch upstream $ git checkout upstream $ git tag upstream/0.0.1 $ dh_make --createorig $ git branch master -- Debian Package $ git-buildpackage -us -uc \ --git-ignore-new $ debuild clean $ git add debian $ git commit -a $ git-buildpackage -us -uc \ --git-ignore-new --git-tag

Subversion $ git checkout upstream $ git svn rebase

Git $ git svn clone svn://svn.berlios.de/\ linux-uvc/linux-uvc/trunk\ linux-uvc.git $ git import-dsc../../../debian/\ linux-uvc_0.1.0.svn193-2.dsc $ cd linux-uvc $ git branch * master upstream $ git tag debian/0.1.0.svn193-2 upstream/0.1.0.svn193 $ git checkout upstream $ git pull../linux-uvc.git/ $ git tag upstream/0.1.0.svn201 $ git checkout master $ dch -v 0.1.0.svn201 $ git-buildpackage -us -uc \ --git-ignore-new $ debuild clean $ git commit -a $ git-buildpackage -us -us \ --git-ignore-new --git-tag

git-svn + git-buildpaclage Git git svn rebase git tag Subversion