Bug 194689 - ports-mgmt/pkg: pkg needs a stand-alone equivalent to portupgrade's "pkg_sort".
Summary: ports-mgmt/pkg: pkg needs a stand-alone equivalent to portupgrade's "pkg_sort".
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords: easy, feature, needs-patch
Depends on:
Blocks:
 
Reported: 2014-10-29 16:29 UTC by roberthuff
Modified: 2021-10-14 16:23 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roberthuff 2014-10-29 16:29:58 UTC
The functionality already exists; it needs to be directly exposed.  In a private exchange Baptisse (bapt@) has said it wouldn't be hard, but there are higher priorities.

I am submitting this pr so it gets on the TODO list.
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2014-10-29 16:35:17 UTC
Can you detail what is pkg_sort?
Comment 2 roberthuff 2014-10-29 16:55:50 UTC
"pkg_sort" inputs a list of ports - with or without origins or exact versions - and outputs a list of those ports sorted in dependency (if any) order.  I believe this exists withing pkg - referred to as the "working list", yes?

Input can be from stdin or a file; output is to stdout, in a format suitable for piping directly to {portmaster, portupgrade, etc.}.

Does this answer the question?
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2014-10-29 16:57:35 UTC
yes :)
Comment 4 Walter Schwarzenfeld 2018-01-12 22:53:03 UTC
Status?
Comment 5 Baptiste Daroussin freebsd_committer freebsd_triage 2021-08-17 15:48:49 UTC
I still have hier priorities and this is waiting for a volunteer to implement :D