summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongShengping <chdzsp@163.com>2018-10-15 11:50:06 +0800
committerZhongShengping <chdzsp@163.com>2018-10-15 11:50:06 +0800
commit00d136418527bf4dca0aff34c3316743bad7714d (patch)
tree6816883edeed1fff93c6b3f6ba6b0f507ca841b1
parentdc2ba62297b5b8a8c9eeecbe2a4678fe4844a1f7 (diff)
downloadoslo-middleware-00d136418527bf4dca0aff34c3316743bad7714d.tar.gz
Clean up .gitignore references to personal tools
Developers run all sorts of different tools within Git repositories, any of which can leave their own special trashfiles all over the place. We can't every hope to catalog them all, so better to recommend developers simply configure a global core.excludesfile to filter the irrelevant files which tend to get created by their personal choice of tools. To this end, remove the long-standing sections for "Mr Developer" and "Editors" since their mere existence here sends the signal that we welcome (and have time to review) additions for any old tool someone ever might happen to try. Also add a comment block explaining this, for clarity. We can, and should of course, continue to list files created by the tools recommended by our workflow (test frameworks called from tox, documentation and packaging builds, et cetera). This change is a port of I1b41efac219fca44e2548fc36633724d0ecfc0cb from the openstack-dev/oslo-cookiecutter repository. Change-Id: Icf9e4f4e7720d5dce2b9ff10710bf2420f755f2a
-rw-r--r--.gitignore21
1 files changed, 12 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index 350e193..adf36be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,15 @@
+# Add patterns in here to exclude files created by tools integrated with this
+# repository, such as test frameworks from the project's recommended workflow,
+# rendered documentation and package builds.
+#
+# Don't add patterns to exclude files created by preferred personal tools
+# (editors, IDEs, your operating system itself even). These should instead be
+# maintained outside the repository, for example in a ~/.gitignore file added
+# with:
+#
+# git config --global core.excludesfile '~/.gitignore'
+
+# Bytecompiled Python
*.py[cod]
# C extensions
@@ -30,11 +42,6 @@ cover
# Translations
*.mo
-# Mr Developer
-.mr.developer.cfg
-.project
-.pydevproject
-
# Complexity
output/*.html
output/*/index.html
@@ -46,9 +53,5 @@ doc/build
AUTHORS
ChangeLog
-# Editors
-*~
-.*.swp
-
# reno build
releasenotes/build