-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
fix(deb): content file modes to support gdebi #904
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #904 +/- ##
==========================================
- Coverage 70.03% 69.40% -0.63%
==========================================
Files 22 22
Lines 3080 3131 +51
==========================================
+ Hits 2157 2173 +16
- Misses 718 745 +27
- Partials 205 213 +8 ☔ View full report in Codecov by Sentry. |
067a99a
to
3328717
Compare
I'll deal with the failing acceptance test tomorrow. |
9619751
to
ad400e5
Compare
ad400e5
to
c137301
Compare
I accidentally broke mod time handling but it is fixed now. |
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.
aside for that one comment, lgmt
thanks for looking into this @erikgeiser 🙏
Good find. I took the time to refactor the function to avoid shadowing altogether and use the opportunity to add better error messages unique to each case. |
amazing, thank you @erikgeiser ❤️ |
This PR fixes the file/dir modes in the
.deb
data tar headers. When creating directory entries based on actual on-disk directories, their modes ended up including some flags that confused graphical package manager frontends (Software Install
andgdebi
). With this PR, the mode field in the tar header only contains the permissions, because other type information is already included in other header fields.Fixes #856.