summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongShengping <chdzsp@163.com>2018-10-15 11:51:03 +0800
committerZhongShengping <chdzsp@163.com>2018-10-15 11:51:03 +0800
commitfc056e38c1852d626bd409b4b0210bf93bce5190 (patch)
tree2690bb29d0485eb5a25509f7342272cf31e36527
parentef4ea2ef997c8504808fafe67580933880bd3f02 (diff)
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: Ief8b0db4e3020a853f8b4e32ac5fa49c01af59e4
Notes
Notes (review): Code-Review+2: Stephen Finucane <stephenfin@redhat.com> Workflow+1: Stephen Finucane <stephenfin@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 16 Oct 2018 11:24:04 +0000 Reviewed-on: https://review.openstack.org/610408 Project: openstack/oslo.privsep Branch: refs/heads/master
-rw-r--r--.gitignore21
1 files changed, 12 insertions, 9 deletions
diff --git a/.gitignore b/.gitignore
index 601693d..266d242 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,15 @@
1# Add patterns in here to exclude files created by tools integrated with this
2# repository, such as test frameworks from the project's recommended workflow,
3# rendered documentation and package builds.
4#
5# Don't add patterns to exclude files created by preferred personal tools
6# (editors, IDEs, your operating system itself even). These should instead be
7# maintained outside the repository, for example in a ~/.gitignore file added
8# with:
9#
10# git config --global core.excludesfile '~/.gitignore'
11
12# Bytecompiled Python
1*.py[cod] 13*.py[cod]
2 14
3# C extensions 15# C extensions
@@ -30,11 +42,6 @@ pip-log.txt
30# Translations 42# Translations
31*.mo 43*.mo
32 44
33# Mr Developer
34.mr.developer.cfg
35.project
36.pydevproject
37
38# Complexity 45# Complexity
39output/*.html 46output/*.html
40output/*/index.html 47output/*/index.html
@@ -46,10 +53,6 @@ doc/build
46AUTHORS 53AUTHORS
47ChangeLog 54ChangeLog
48 55
49# Editors
50*~
51.*.swp
52
53# reno build 56# reno build
54releasenotes/build 57releasenotes/build
55/doc/source/reference/api/ 58/doc/source/reference/api/