nebula-plugins / gradle-ospackage-plugin

Gradle plugin for constructing linux packages, specifically RPM and DEBs.
Apache License 2.0
369 stars 129 forks source link

issue 246 - addParentDirs on ospackage is not propagated to tasks #415

Closed mricciuti closed 1 year ago

mricciuti commented 2 years ago

The purpose of this PR is to fix issue with addPArentDirs defined in ospackage extension not properly propagated to tasks configuration:

mricciuti commented 2 years ago

Hi @rpalcolea , would you mind having a look at this PR (and also https://github.com/nebula-plugins/gradle-ospackage-plugin/pull/417 ) ?
I think the proposed fix is safe, there is a dedicated unit test; this fixes a very annoying and old bug that can have bad effects on the permissions of files/dirs installed by the os packages. Would be nice to have this included in next release.

Thanks in advance for feedback.