Package: piuparts
Version: 1.1.5
Severity: wishlist

When a modified files is found, piuparts should show the difference between the expected and the found file.

The addition of a diff would make debugging problems spotted by piuparts jobs running on remote, inaccessible hosts (for instance, salsa-ci runners) much easier.

For example, in addition to the DEBUG message

> 0m9.7s DEBUG: Modified(user, group, mode, size, target):
> /etc/nsswitch.conf expected(root, root, - 100644, 506, None)
> != found(root, root, - 100644, 494, None)

piuparts could also show the differences produced by `diff -u`:

    --- /etc/nsswitch.conf.expected
    +++ /etc/nsswitch.conf
    @@ -18,4 +18,3 @@
     rpc:            db files

     netgroup:       nis
    -sudoers:        files sss

Regards,

--
Gioele Barabucci

Reply via email to