Skip to content
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

Be more specific about the .so gitignore patterns #17328

Merged
merged 1 commit into from
Nov 27, 2019

Conversation

asottile
Copy link
Contributor

In #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.

In python#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.
@asottile
Copy link
Contributor Author

CC @zware @gnprice

Copy link
Contributor

@eamanu eamanu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if separate the entry on .gitignore is a good idea.

*.so* work fine for *.so* files

@asottile
Copy link
Contributor Author

I don't know if separate the entry on .gitignore is a good idea.

*.so* work fine for *.so* files

@eamanu please see the linked discussion -- thanks!

@zware zware merged commit 1ef4c32 into python:master Nov 27, 2019
@miss-islington
Copy link
Contributor

Thanks @asottile for the PR, and @zware for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@miss-islington
Copy link
Contributor

Sorry @asottile and @zware, I had trouble checking out the 3.8 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 1ef4c32c8d4f374adfea599f033fa61254bf951d 3.8

@asottile asottile deleted the patch-1 branch November 27, 2019 04:56
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
In pythonGH-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.
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
In pythonGH-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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants