-apidoc
+# Lines that start with '#' are comments.
+# For a project mostly in C, the following would be a good set of
+# exclude patterns (uncomment them if you want to use them):
+# *.[oa]
+# *~
+# global ignores
+*.py[co]
+*.swp
+*~
*.o
-*.patch
-*.diff
*.hi
*.hp
-*.ps
-TAGS
-README.html
-NEWS.html
+# /
+/Makefile
+/Makefile.in
+/Makefile.local
+/TAGS
+/aclocal.m4
+/autom4te.cache
+/autotools/install-sh
+/autotools/missing
+/autotools/py-compile
+/autotools/replace_vars.sed
+/autotools/shell-env-init
+/config.log
+/config.status
+/configure
+/epydoc.conf
+/ganeti
+/stamp-srclinks
+/stamp-directories
+/vcs-version
+/*.patch
+/*.tar.bz2
+/*.tar.gz
+/ganeti-[0-9]*.[0-9]*.[0-9]*
-hn1
-hbal
-hscan
-*.prof*
-*.stat
+# daemons
+/daemons/daemon-util
+/daemons/ganeti-cleaner
+/daemons/ganeti-masterd
+/daemons/ganeti-noded
+/daemons/ganeti-rapi
+/daemons/ganeti-watcher
-version
-Version.hs
+# devel
+/devel/clean-cluster
-htools-*.tar.gz
-htools-*.tar.gz.asc
+# doc
+/doc/api/
+/doc/build
+/doc/coverage/
+/doc/html
+/doc/install-quick.rst
+/doc/news.rst
+/doc/upgrade.rst
+/doc/hs-lint.html
+/doc/*.in
+/doc/*.png
+
+# doc/examples
+/doc/examples/bash_completion
+/doc/examples/bash_completion-debug
+/doc/examples/ganeti.cron
+/doc/examples/ganeti.initd
+/doc/examples/ganeti-kvm-poweroff.initd
+/doc/examples/ganeti-master-role.ocf
+/doc/examples/ganeti-node-role.ocf
+/doc/examples/gnt-config-backup
+/doc/examples/hooks/ipsec
+
+# lib
+/lib/_autoconf.py
+/lib/_vcsversion.py
+/lib/_generated_rpc.py
+
+# man
+/man/*.[0-9]
+/man/*.html
+/man/*.in
+/man/*.gen
+/man/footer.man
+
+# htest
+/htest/hail
+/htest/hbal
+/htest/hcheck
+/htest/hinfo
+/htest/hscan
+/htest/hspace
+
+# tools
+/tools/kvm-ifup
+/tools/ensure-dirs
+/tools/vcluster-setup
+/tools/node-cleanup
+/tools/node-daemon-setup
+/tools/prepare-node-join
+
+# scripts
+/scripts/gnt-backup
+/scripts/gnt-cluster
+/scripts/gnt-debug
+/scripts/gnt-group
+/scripts/gnt-instance
+/scripts/gnt-job
+/scripts/gnt-node
+/scripts/gnt-os
+/scripts/gnt-network
+
+# htools-specific rules
+/htools/apidoc
+/htools/.hpc
+/htools/coverage
+
+/htools/mon-collector
+/htools/htools
+/htools/hconfd
+/htools/ganeti-confd
+/htools/rpc-test
+/htest/hpc-htools
+/htest/hpc-mon-collector
+/htest/test
+/htools/*.prof*
+/htools/*.stat
+/htools/*.tix
+/htest/*.prof*
+/htest/*.stat
+/htest/*.tix
+/.hpc/
+/*.tix
+
+/htools/Ganeti/Constants.hs
+/htools/Ganeti/Version.hs
+/htest/Test/Ganeti/TestImports.hs