Show the .cvsignore files some love

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Show the .cvsignore files some love

Post by Guest »

This is a multi-part message in MIME format.
--------------010603070505000801050600
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

This speeds up and unclutters output quite a lot when
working with the repo in git. I should think it helps
a bit when working in CVS too.

Either way, it's always prudent to let the SCM ignore
build-products. This patch does just that.

Note that I'm deliberately choosing to not ignore
include/{Makefile,nagios.h}, as I expect them to be
tracked rather than generated once my that patch
hits the upstream repo (nudge, nudge ;-)

Signed-off-by: Andreas Ericsson
---

Also attached, for application convenience.

.cvsignore | 4 ++++
base/.cvsignore | 4 ++++
cgi/.cvsignore | 1 +
common/.cvsignore | 1 +
contrib/.cvsignore | 1 +
html/.cvsignore | 3 +++
include/.cvsignore | 4 ++++
module/.cvsignore | 1 +
sample-config/.cvsignore | 2 ++
xdata/.cvsignore | 2 ++
10 files changed, 23 insertions(+), 0 deletions(-)
create mode 100644 base/.cvsignore
create mode 100644 common/.cvsignore
create mode 100644 html/.cvsignore
create mode 100644 include/.cvsignore
create mode 100644 module/.cvsignore
create mode 100644 sample-config/.cvsignore
create mode 100644 xdata/.cvsignore

diff --git a/.cvsignore b/.cvsignore
index d5128cc..f3064d6 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -5,3 +5,7 @@ Prototype
nagios.SPARC.pkg.tar.gz
autom4te.cache

+config.log
+config.status
+daemon-init
+/Makefile
diff --git a/base/.cvsignore b/base/.cvsignore
new file mode 100644
index 0000000..eeeb7ba
--- /dev/null
+++ b/base/.cvsignore
@@ -0,0 +1,4 @@
+*.o
+Makefile
+nagios
+nagiostats
diff --git a/cgi/.cvsignore b/cgi/.cvsignore
index b94020f..46c15cc 100644
--- a/cgi/.cvsignore
+++ b/cgi/.cvsignore
@@ -1,2 +1,3 @@
+*.o
*.cgi
Makefile
diff --git a/common/.cvsignore b/common/.cvsignore
new file mode 100644
index 0000000..f3c7a7c
--- /dev/null
+++ b/common/.cvsignore
@@ -0,0 +1 @@
+Makefile
diff --git a/contrib/.cvsignore b/contrib/.cvsignore
index c933d02..4f1e93a 100644
--- a/contrib/.cvsignore
+++ b/contrib/.cvsignore
@@ -1 +1,2 @@
perlxsi.c
+Makefile
diff --git a/html/.cvsignore b/html/.cvsignore
new file mode 100644
index 0000000..1822566
--- /dev/null
+++ b/html/.cvsignore
@@ -0,0 +1,3 @@
+Makefile
+index.html
+side.html
diff --git a/include/.cvsignore b/include/.cvsignore
new file mode 100644
index 0000000..8cf3415
--- /dev/null
+++ b/include/.cvsignore
@@ -0,0 +1,4 @@
+locations.h
+config.h
+snprintf.h
+cgiutils.h
diff --git a/module/.cvsignore b/module/.cvsignore
new file mode 100644
index 0000000..f3c7a7c
--- /dev/null
+++ b/module/.cvsignore
@@ -0,0 +1 @@
+Makefile
diff --git a/sample-config/.cvsignore b/sample-config/.cvsignore
new file mode 100644
index 0000000..32d26a5
--- /dev/null
+++ b/sample-config/.cvsignore
@@ -0,0 +1,2 @@
+*.cfg
+httpd.conf
diff --git a/xdata/.cvsignore b/xdata/.cvsignore
new file mode 100644
index 0000000..cc00087
--- /dev/null
+++ b/xdata/.cvsignore
@@ -0,0 +1,2 @@
+Makefile
+*.o
--
git-1.5.3.4.1207.g6d77b

--
Andreas Ericsson [email protected]
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231

--------------010603070505000801050600
Content-Type: text/x-patch;
name="0001-Show-the-.cvsignore-files-some-love.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="0001-Show-the-.cvsignore-files-some-love.patch"

From cb84c05fa820e89c11b599ca8a4f0f9ed321e153 Mon Sep 17 00:00:00 2001
From: Andreas Ericsson
Date: Tue, 16 Oct 2007 20:59:49 +0200
Subject: Show the .cvsignore files some love

This speeds up and unclutters output quite a lot when
working with the repo in git. I should think it helps
a bit when working in CVS too.

Either way, it's always prudent to let the SCM ignore
build-products. This patch does just that.

Note that I'm deliberately choosing to not ignore
include/{Makefile,nagios.h}, as I expect them to be
tracked ra

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked