Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Break up .gitignore and use correct syntax.

Paths relative to the top-level checkout directory should start with a
/; those that don't are matched against every sub-directory, not just
the top level.  Moved the large chunks related to docs and tests to
those directories.  Killed some ancient history along the way.
  • Loading branch information...
commit 1e2dfc514594903e7ebc61565937477be1ddbcf6 1 parent 8e54b57
Edward Welbourne authored
Showing with 103 additions and 123 deletions.
  1. +52 −123 .gitignore
  2. +27 −0 docs/.gitignore
  3. +24 −0 tests/.gitignore
View
175 .gitignore
@@ -7,125 +7,61 @@
.libs
Makefile
Makefile.in
-aclocal.m4
-autom4te.cache
-compile
-config.guess
-config.log
-config.status
-config.sub
-configure
-depcomp
-install-sh
-libtool
-ltmain.sh
-m4/libtool.m4
-m4/lt*.m4
-missing
-revision
-stamp-h1
-ylwrap
-test-driver
-configure_flags.env
-
-# docs
-
-*.aux
-*.cp
-*.cps
-*.dvi
-*.fn
-*.ky
-*.pg
-*.toc
-*.tp
-*.vr
-*.log
-
-docs/doxygen
-docs/guides/*.html
-docs/guides/*.pdf
-docs/guides/*.tmp
-docs/guides/cf3-solutions.texinfo
-docs/manpages/*.8
-docs/reference/cf3-Reference.html
-docs/reference/cf3-Reference.pdf
-docs/reference/cf3-Reference.texinfo
-docs/tools/build-solutions-guide
-docs/tools/build-solutions-guide.exe
-docs/tools/build-stdlib
-docs/tools/build-stdlib.exe
+/aclocal.m4
+/autom4te.cache
+/compile
+/config.guess
+/config.log
+/config.status
+/config.sub
+/configure
+/depcomp
+/install-sh
+/libtool
+/ltmain.sh
+/m4/libtool.m4
+/m4/lt*.m4
+/missing
+/revision
+/stamp-h1
+/ylwrap
+/test-driver
+
+/configure_flags.env
# binaries
-
-nova/cf-hub/cf-hub
-nova/cf-hub/cf-hub.exe
-nova/cf-know/cf-know
-nova/cf-know/cf-know.exe
-cf-agent/cf-agent
-cf-agent/cf-agent.exe
-cf-execd/cf-execd
-cf-execd/cf-execd.exe
-cf-key/cf-key
-cf-key/cf-key.exe
-cf-monitord/cf-monitord
-cf-monitord/cf-monitord.exe
-cf-promises/cf-promises
-cf-promises/cf-promises.exe
-cf-report/cf-report
-cf-report/cf-report.exe
-cf-runagent/cf-runagent
-cf-runagent/cf-runagent.exe
-cf-serverd/cf-serverd
-cf-serverd/cf-serverd.exe
-cf-upgrade/cf-upgrade
-cf-upgrade/cf-upgrade.exe
-ext/rpmvercmp
-ext/rpmvercmp.exe
+/cf-agent/cf-agent
+/cf-agent/cf-agent.exe
+/cf-execd/cf-execd
+/cf-execd/cf-execd.exe
+/cf-key/cf-key
+/cf-key/cf-key.exe
+/cf-monitord/cf-monitord
+/cf-monitord/cf-monitord.exe
+/cf-promises/cf-promises
+/cf-promises/cf-promises.exe
+/cf-runagent/cf-runagent
+/cf-runagent/cf-runagent.exe
+/cf-serverd/cf-serverd
+/cf-serverd/cf-serverd.exe
+/cf-upgrade/cf-upgrade
+/cf-upgrade/cf-upgrade.exe
+/ext/rpmvercmp
+/ext/rpmvercmp.exe
# autogen
-
-libpromises/cf3lex.c
-libpromises/cf3parse.c
-libpromises/cf3parse.h
-cf3parse.output
-libutils/config.h
-libutils/config.h.in
-libutils/config.post.h
-
-# acceptance tests
-
-tests/acceptance/*.log
-tests/acceptance/.succeeded
-tests/acceptance/workdir
-tests/acceptance/mock[-_]package[-_]manager
-tests/acceptance/mock[-_]package[-_]manager.exe
-tests/acceptance/xml-c14nize
-tests/acceptance//xml-c14nize.exe
-tests/acceptance/dnswrapper.so
-tests/*/*.xml
-tests/*/xml.tmp
-tests/*/xml_tmp_*
-tests/*/*.trs
-
-# unit tests
-
-tests/unit/*_test
-tests/unit/exec-config-test
-tests/unit/rb-tree-test
-
-# load tests
-
-tests/load/db_load
-tests/load/lastseen_load
-tests/load/lastseen_threaded_load
+/libpromises/cf3lex.c
+/libpromises/cf3parse.c
+/libpromises/cf3parse.h
+/libutils/config.h
+/libutils/config.h.in
+/libutils/config.post.h
# examples
-examples/cfengine_stdlib.cf
+/examples/cfengine_stdlib.cf
# gcov/lcov
-
*.gcno
*.gcda
*.trace
@@ -134,12 +70,9 @@ cfengine-lcov.info
coverage-html/
# links
-
-nova
-galaxy
+/nova
# tags
-
TAGS
tags
cscope.*
@@ -150,26 +83,22 @@ cscope.*
.*.swo
# emacs
-
*~
\#*#
.dir-locals.el
# eclipse
-
.cproject
.project
.settings
# qt-creator
-
-core.config
-core.creator
-core.creator.user
-core.files
-core.includes
+/core.config
+/core.creator
+/core.creator.user
+/core.files
+/core.includes
*.autosave
# Mac Finder
-
.DS_Store
View
27 docs/.gitignore
@@ -0,0 +1,27 @@
+# docs
+
+*.aux
+*.cp
+*.cps
+*.dvi
+*.fn
+*.ky
+*.pg
+*.toc
+*.tp
+*.vr
+*.log
+
+/doxygen
+/guides/*.html
+/guides/*.pdf
+/guides/*.tmp
+/guides/cf3-solutions.texinfo
+/manpages/*.8
+/reference/cf3-Reference.html
+/reference/cf3-Reference.pdf
+/reference/cf3-Reference.texinfo
+/tools/build-solutions-guide
+/tools/build-solutions-guide.exe
+/tools/build-stdlib
+/tools/build-stdlib.exe
View
24 tests/.gitignore
@@ -0,0 +1,24 @@
+*.xml
+xml.tmp
+xml_tmp_*
+*.trs
+
+# acceptance tests
+/acceptance/*.log
+/acceptance/.succeeded
+/acceptance/workdir
+/acceptance/mock[-_]package[-_]manager
+/acceptance/mock[-_]package[-_]manager.exe
+/acceptance/xml-c14nize
+/acceptance/xml-c14nize.exe
+/acceptance/dnswrapper.so
+
+# unit tests
+/unit/*_test
+/unit/exec-config-test
+/unit/rb-tree-test
+
+# load tests
+/load/db_load
+/load/lastseen_load
+/load/lastseen_threaded_load
Please sign in to comment.
Something went wrong with that request. Please try again.