-
Notifications
You must be signed in to change notification settings - Fork 701
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
elim warning spam from #8500 #8697
Conversation
@Mikolaj if this works for you I think we should just give it an expedited merge and backport. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This accesses the filesystem again for the same package and, for a few packages, their files would not be accessed at all if not for this extra check, if my guesses in #8500 were right. However, on sensible OSes, by this point, most of the time, all the relevant filesystem info is in RAM anyway.
Before, we always just tested if the file exists, which just accessed metadata. Here, we have to do that, and on top of that, if it does exist, actually hash it. But that's the point of the check :-) |
https://github.com/Mergifyio backport 3.10 |
❌ No backport have been created
|
✅ Backports have been created
|
I don't remember how it was before. But now |
Pretty sure |
You are probably right. |
This removes the warning spam from #8500
Now we check if a file exists before attempting to compute the hash of it. Doh.