[Bug 256214] ports-mgmt/pkg_tree: retrieve data from pkg info in only one try

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 May 2021 07:29:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256214

            Bug ID: 256214
           Summary: ports-mgmt/pkg_tree: retrieve data from pkg info in
                    only one try
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: tatsuki_makino@hotmail.com
 Attachment #225329 maintainer-approval?
             Flags:
             Flags: maintainer-feedback?

Created attachment 225329
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225329&action=edit
patch for ports-mgmt/pkg_tree

pkg_tree has been extended in bug 200730.
The way it works is that it calls pkg info 3 times, so there is a possibility
of losing consistency.
So I changed to a better method.

Then I added the -r option.
The -r option will display the "Required by" graph instead of the "Depends on"
graph.

Then, distinfo was rebuilt.

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