[linux-tools] 08/13: Add .gitignore files based on svn:ignore properties

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Thu Nov 5 22:56:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch jessie
in repository linux-tools.

commit b80078d76fe960cbb342c84afd279160b3b97f24
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Tue Aug 11 18:57:35 2015 +0200

    Add .gitignore files based on svn:ignore properties
    
    For the top-level .gitignore, do this via a patch.
    
    (cherry picked from commit e0a1c96c554ad943ea115deaa39778246635f3b5)
    
    Conflicts:
    	debian/changelog
    
    For jessie, ignore debian/linux-tools-* instead of debian/linux-perf-*.
---
 debian/.gitignore              | 17 +++++++++++++++++
 debian/changelog               |  2 ++
 debian/patches/gitignore.patch | 14 ++++++++++++++
 debian/patches/series          |  1 +
 4 files changed, 34 insertions(+)

diff --git a/debian/.gitignore b/debian/.gitignore
new file mode 100644
index 0000000..047c82b
--- /dev/null
+++ b/debian/.gitignore
@@ -0,0 +1,17 @@
+!/patches
+!*.patch
+!*.diff
+/*.debhelper
+/*.debhelper.log
+/*.substvars
+/control
+/control.md5sum
+/files
+/hyperv-daemons/
+/libusbip-dev/
+/linux-kbuild-*
+/linux-tools-*
+/rules.gen
+/stamps/
+/tmp/
+/usbip/
diff --git a/debian/changelog b/debian/changelog
index 8a34583..dc171b7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ linux-tools (3.16-4) UNRELEASED; urgency=medium
 
   * [x86] Add hyperv-daemons package, thanks to Hideki Yamane (closes: #782761)
     - Apply upstream bug fixes up to Linux 4.1 inclusive
+  * Adjust for migration to git:
+    - Update .gitignore files
 
  -- Ben Hutchings <ben at decadent.org.uk>  Wed, 04 Nov 2015 12:49:40 +0000
 
diff --git a/debian/patches/gitignore.patch b/debian/patches/gitignore.patch
new file mode 100644
index 0000000..b4d0048
--- /dev/null
+++ b/debian/patches/gitignore.patch
@@ -0,0 +1,14 @@
+From: Ben Hutchings <ben at decadent.org.uk
+Date: Tue, 11 Aug 2015 18:52:03 +0200
+Subject: Add gitignore to account for upstream source not being checked in
+Forwarded: not-needed
+
+--- /dev/null
++++ b/.gitignore
+@@ -0,0 +1,6 @@
++#
++# Debian packaging: ignore everything at the top level, since it isn't
++# included in our repository
++#
++/*
++!/debian/
diff --git a/debian/patches/series b/debian/patches/series
index 2771d92..aff70b2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+gitignore.patch
 modpost-symbol-prefix.patch
 tools-perf-version.patch
 tools-perf-install.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux-tools.git



More information about the Kernel-svn-changes mailing list