-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
bpo-37936: Systematically distinguish rooted vs. unrooted in .gitignore. #15823
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
de42995
96dde8c
bdf15c8
9de8ab3
e992e75
3ae3ab1
d4cac40
19bc9e7
2f0d018
175b726
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
# Two-trick pony for OSX and other case insensitive file systems: | ||
# Ignore ./python binary on Unix but still look into ./Python/ directory. | ||
/python | ||
!/Python/ | ||
##### | ||
# First, rules intended to apply in all subdirectories. | ||
# These contain no slash, or only a trailing slash. | ||
|
||
*.cover | ||
*.iml | ||
|
@@ -18,6 +17,25 @@ | |
*.profraw | ||
*.dyn | ||
.gdb_history | ||
.purify | ||
__pycache__ | ||
.idea/ | ||
tags | ||
TAGS | ||
.vs/ | ||
.vscode/ | ||
gmon.out | ||
.mypy_cache/ | ||
|
||
# Ignore core dumps... but not Tools/msi/core/ or the like. | ||
core | ||
!core/ | ||
|
||
|
||
##### | ||
# Then, rules meant for a specific location relative to the repo root. | ||
# These must contain a non-trailing slash (and may also have a trailing slash.) | ||
|
||
Doc/build/ | ||
Doc/venv/ | ||
Doc/.venv/ | ||
|
@@ -29,7 +47,7 @@ Lib/lib2to3/*.pickle | |
Lib/test/data/* | ||
!Lib/test/data/README | ||
/Makefile | ||
Makefile.pre | ||
/Makefile.pre | ||
Misc/python.pc | ||
Misc/python-embed.pc | ||
Misc/python-config.sh | ||
|
@@ -69,46 +87,40 @@ PCbuild/arm64/ | |
PCbuild/obj/ | ||
PCbuild/win32/ | ||
Tools/unicode/data/ | ||
.purify | ||
__pycache__ | ||
autom4te.cache | ||
build/ | ||
buildno | ||
config.cache | ||
config.log | ||
config.status | ||
config.status.lineno | ||
core | ||
!Tools/msi/core/ | ||
db_home | ||
.hg/ | ||
.idea/ | ||
ipch/ | ||
libpython*.a | ||
libpython*.so* | ||
libpython*.dylib | ||
libpython*.dll | ||
platform | ||
pybuilddir.txt | ||
/autom4te.cache | ||
/build/ | ||
/buildno | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe this is an ancient leftover from before the |
||
/config.cache | ||
/config.log | ||
/config.status | ||
/config.status.lineno | ||
zware marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/db_home | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a holdover from the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
/.hg/ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This can safely be ignored globally; we're not going to check in a mercurial repository anywhere :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Solid prediction, I think :) |
||
/ipch/ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this was meant to be rooted at |
||
/libpython*.a | ||
/libpython*.so* | ||
/libpython*.dylib | ||
/libpython*.dll | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Each of these 4 can be generalized to ignore anything with these extensions; we don't have anything with these extensions checked in and likely never will. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sure. |
||
/platform | ||
/pybuilddir.txt | ||
/pyconfig.h | ||
python-config | ||
python-config.py | ||
python.bat | ||
python.exe | ||
python-gdb.py | ||
python.exe-gdb.py | ||
reflog.txt | ||
.svn/ | ||
tags | ||
TAGS | ||
.coverage | ||
coverage/ | ||
externals/ | ||
htmlcov/ | ||
/python-config | ||
/python-config.py | ||
/python.bat | ||
/python.exe | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could globally ignore There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good idea, thanks! |
||
/python-gdb.py | ||
/python.exe-gdb.py | ||
/reflog.txt | ||
/.svn/ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should also be globally ignored. |
||
/.coverage | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And this. |
||
/coverage/ | ||
/externals/ | ||
/htmlcov/ | ||
Tools/msi/obj | ||
Tools/ssl/amd64 | ||
Tools/ssl/win32 | ||
.vs/ | ||
.vscode/ | ||
gmon.out | ||
.mypy_cache/ | ||
|
||
# Two-trick pony for OSX and other case insensitive file systems: | ||
# Ignore ./python binary on Unix but still look into ./Python/ directory. | ||
/python | ||
!/Python/ |
Uh oh!
There was an error while loading. Please reload this page.