Open Biswa96 opened 5 months ago
This would be quite handy to have in general as part of ./build-package.sh
's output, though maybe behind a flag?
I'm not sure if it would be desirable to do a directory diff on packages by default.
It would also require downloading the previous version of the package(s) for diff-ing.
Would it be possible to show list of files that have been changed by a commit or pull request in its CI log? This will help to find if the change adds or removes a file intentionally or accidentally. Also, potential issues could be discovered if some build options were changed in an upstream project.
I could not figure out how to add the feature in CI files but I use the following function in bash to find difference in two deb files.
Example:
diff_deb_files old-package.deb new-package.deb
Diffoscope could also be used but it produces verbose output with file metadata also.
debdiff
tool can be used but I am not familiar with that yet.