Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2018 16:35:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 229393] ports-mgmt/pkg: Show which options changed if upgrade needed
Message-ID:  <bug-229393-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229393

            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@FreeBSD.org
          Reporter: andreas.sommer87@googlemail.com
                CC: grembo@FreeBSD.org
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

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

`pkg upgrade` detects changed options in a package and requires reinstallat=
ion,
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229393-32340>