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

fix: better handle files owned by the fs #834

Merged
merged 3 commits into from
Jul 4, 2024
Merged

fix: better handle files owned by the fs #834

merged 3 commits into from
Jul 4, 2024

Conversation

caarlos0
Copy link
Member

@caarlos0 caarlos0 commented Jun 22, 2024

forcefully set dirs owned by the FS as implicit dirs.

the rpm implementation should then not add them, which should be the right behavior I think.

this way these files will still be owned by the filesystem package instead of the package being built.

this only affects type: tree.

also added logrotate to the list of "common" paths.

closes #829

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
@caarlos0 caarlos0 added the bug Something isn't working label Jun 22, 2024
@caarlos0 caarlos0 self-assigned this Jun 22, 2024
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jun 22, 2024
Copy link

cloudflare-workers-and-pages bot commented Jun 22, 2024

Deploying nfpm with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1965e83
Status: ✅  Deploy successful!
Preview URL: https://ae13cc0b.nfpm.pages.dev
Branch Preview URL: https://issue-829.nfpm.pages.dev

View logs

Copy link

codecov bot commented Jun 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.12%. Comparing base (784fa6c) to head (1965e83).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #834      +/-   ##
==========================================
+ Coverage   73.01%   73.12%   +0.10%     
==========================================
  Files          22       22              
  Lines        2487     2489       +2     
==========================================
+ Hits         1816     1820       +4     
+ Misses        464      463       -1     
+ Partials      207      206       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caarlos0 caarlos0 mentioned this pull request Jun 22, 2024
2 tasks
@caarlos0 caarlos0 merged commit 2c264e3 into main Jul 4, 2024
42 of 48 checks passed
@caarlos0 caarlos0 deleted the issue-829 branch July 4, 2024 12:40
@github-actions github-actions bot added this to the 2.38.0 milestone Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alternative 'type: tree' behavior to omit intermediate directories?
1 participant