Closed (fixed)
Project:
Automatic Updates
Version:
3.0.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2023 at 12:38 UTC
Updated:
20 Apr 2023 at 13:49 UTC
Jump to comment: Most recent
Comments
Comment #2
tedbowComment #4
tedbowI think to test this we need to update
\Drupal\Tests\package_manager\Kernel\ComposerInspectorTest::testMetapackagePathand in the anonymous class we have instead the property$packagePathbeing the working directory we create an alias the working directory and use that. It should fail without the fix. So we need test only branch or patchComment #5
yash.rode commentedComment #6
yash.rode commentedIn
ComposerInspector.phpI removed realpath() for $package['path'], because it is returning false for the cases when the directory did not exists and with that build tests are still passing.Comment #7
yash.rode commentedComment #8
phenaproximaThe general change makes sense but I think we could do this a touch more cleanly.
Comment #9
yash.rode commentedComment #10
kunal.sachdev commentedComment #11
kunal.sachdev commentedLooks good 🎉
Comment #13
phenaproximaThanks for the reviews! Glad my thing ultimately made sense; sorry I wasn't able to explain it more clearly.