summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongShengping <chdzsp@163.com>2018-10-15 11:47:54 +0800
committerZhongShengping <chdzsp@163.com>2018-10-15 11:47:54 +0800
commit8ccb5c4a360d6e2e0dc42e70d6ce8f833c7de34b (patch)
tree5b64ed840da6573b54219c62f0b91b742dd10311
parent577e97bac060ae9243ce34b1b8bfa4f4864c8c90 (diff)
downloadoslo-i18n-8ccb5c4a360d6e2e0dc42e70d6ce8f833c7de34b.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: Ib4f696da3881e9b3d2ebc4fe90f8daec39b0f10d
-rw-r--r--.gitignore15
1 files changed, 11 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 164d3ef..ad4b0eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,14 @@
-*~
-*.swp
+# 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'
+
*.pyc
*.log
.coverage
@@ -19,7 +28,5 @@ openstack/versioninfo
*.egg
openstack/common/db/*.sqlite
.stestr/
-.project
-.pydevproject
etc/openstack.conf.sample
releasenotes/build