fix(build): resolve relative paths and preserve zip execute bits (#217)#220
Conversation
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe changes fix Unix executable permission loss during zip file extraction by restoring mode bits from the zip metadata, and improve path handling in CLI arguments by resolving them to absolute paths before processing. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
…ANASJIM#217) _safe_extractall() now restores Unix execute bits from zip entries, fixing SWIG autogen.sh exit-126 on Linux. CLI-supplied install/build dirs are resolved to absolute paths so cmake never mis-resolves them relative to the source tree. Closes BANANASJIM#217
4420988 to
c9bbdbc
Compare
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
_safe_extractall() now restores Unix execute bits from zip entries, fixing SWIG autogen.sh exit-126 on Linux. CLI-supplied install/build dirs are resolved to absolute paths so cmake never mis-resolves them relative to the source tree.
Closes #217
Summary by CodeRabbit
Release Notes