vn971 / rua

Build tool for Arch Linux providing control, review and jailed build options
GNU General Public License v3.0
421 stars 38 forks source link

Add new files package analysis option #192

Closed cleonyc closed 1 year ago

cleonyc commented 2 years ago

Fixes #135, first time making a pr so let me know if anything needs changing!

vn971 commented 1 year ago

Thanks a lot for the contribution! A was in quite a pinch at work, didn't have time to review earlier sorry. Thanks again!

vn971 commented 1 year ago

Funnily I wanted this feature myself, just didn't get to it yet. Good that you overtook me :)

This logic could also probably be improved further by the way. Currently, rua would not report a "new" file if this file simply already exists in the filesystem. Ideally, we could instead look at the contents of the old package, look at the contents of the new package, and report the pure diff between old and new. E.g. purely isolated from the potentially dirtier local filesystem situation