[Python-checkins] Be more specific about the `.so` gitignore patterns (GH-17328)

Zachary Ware webhook-mailer at python.org
Tue Nov 26 23:54:50 EST 2019


https://github.com/python/cpython/commit/1ef4c32c8d4f374adfea599f033fa61254bf951d
commit: 1ef4c32c8d4f374adfea599f033fa61254bf951d
branch: master
author: Anthony Sottile <asottile at umich.edu>
committer: Zachary Ware <zach at python.org>
date: 2019-11-26T22:54:46-06:00
summary:

Be more specific about the `.so` gitignore patterns (GH-17328)

In GH-15823 the pattern was changed from `libpython*.so*` to `*.so*` which
matches a bit too greedily for some packagers.  For instance this trips up
`debian/README.source`.  A more specific pattern fixes this issue.

files:
M .gitignore

diff --git a/.gitignore b/.gitignore
index b11f72f69fae5..8c1f8a43075a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,7 +6,8 @@
 *.iml
 *.o
 *.a
-*.so*
+*.so
+*.so.*
 *.dylib
 *.dll
 *.orig



More information about the Python-checkins mailing list