Skip to content

Commit

Permalink
Clean up .gitignore references to personal tools
Browse files Browse the repository at this point in the history
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: I5baba0f92e4272ba7e28f22ab6264651794ebf50
  • Loading branch information
zhongshengping committed Oct 15, 2018
1 parent d2ee0bf commit 2298afe
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# 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'

AUTHORS
ChangeLog
*~
*.egg*
*.swp
*.pyc
*.log
.tox
Expand All @@ -14,8 +23,6 @@ doc/build/
doc/source/api/
dist/
.testrepository/
.project
.pydevproject
/doc/source/sample.config

# Files created by releasenotes build
Expand Down

0 comments on commit 2298afe

Please sign in to comment.