[Bug 229393] ports-mgmt/pkg: Show which options changed if upgrade needed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 28 16:35:06 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229393

            Bug ID: 229393
           Summary: ports-mgmt/pkg: Show which options changed if upgrade
                    needed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg at FreeBSD.org
          Reporter: andreas.sommer87 at googlemail.com
                CC: grembo at FreeBSD.org
          Assignee: pkg at FreeBSD.org
             Flags: maintainer-feedback?(pkg at FreeBSD.org)

Created attachment 194710
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=194710&action=edit
Verbose output before/after for changed options

`pkg upgrade` detects changed options in a package and requires reinstallation,
but only shows minimal information about the reason:

    Installed packages to be REINSTALLED:
            mypackage-1.11 (options changed)

This patch prints before/after options and their values so the sysadmin can
clearly see why a package is reinstalled.

Why? Building production packages yourself with regular ports tree updates and
custom options can often lead to this case, and when doing live deployments,
you want to be sure that no critical options have been altered.

I wanted to combine this with {-v,--verbose}, but apparently `pkg upgrade
{-v,--vulnerable}` already exists, overriding the default expectation of 'v'
option meaning verbose.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list