diffpkg - diff repo vs. build package
Include a new tool as alternative to checkpkg, this runs diffoscope on a newly build package and the current repository package. This can be useful for finding new files / binaries.
Merge request reports
Activity
assigned to @anthraxx
Having such a tool sounds cool and such, but if one of the primary use cases is to find new files / binaries, wouldn't it make more sense to have the default mode just
diff <(bsdtar tf $file1) <(bsdtar tf $file2)
so the file listing is diffed by default and have an option to do deep diffing using diffoscope using such option?added 1 commit
- b3bdde98 - diffpkg: support comparing two given package archives
- Resolved by Levente Polyak
Changes look good! But ran into some issues:
[jelle@natrium][/tmp/python-awesomeversion/trunk]%~/projects/devtools/diffpkg python-awesomeversion-22.4.2-1-any.pkg.tar.zst /var/cache/pacman/pkg/python-awesomeversion-22.4.1-1-any.pkg.tar.zst bsdtar: Error opening archive: Failed to open '/tmp/diffpkg-script.rjdRz5R2/python-awesomeversion-22.4.2-1-any.pkg.tar.zst' > .BUILDINFO > .MTREE > .PKGINFO
[jelle@natrium][/tmp/python-awesomeversion/trunk]%~/projects/devtools/diffpkg -d python-awesomeversion-22.4.2-1-any.pkg.tar.zst /var/cache/pacman/pkg/python-awesomeversion-22.4.1-1-any.pkg.tar.zst /usr/bin/diffoscope: : No such file or directory
Seems it has issues when running from trunk.
added 1 commit
- 4eda77d9 - diffpkg: support comparing two given package archives
added scopeenhancement label
added 5 commits
-
a6d81159...f42b032c - 2 commits from branch
master
- 11edc450 - diffpkg - diff repo vs. build package
- c339536a - diffpkg: support multiple diff modes to compare with
- c2f163b6 - diffpkg: support comparing two given package archives
Toggle commit list-
a6d81159...f42b032c - 2 commits from branch