Jira (PUP-7758) package should use update instead of list on Solaris

1 view
Skip to first unread message

Shawn Ferry (JIRA)

unread,
Jul 6, 2017, 5:38:03 PM7/6/17
to puppe...@googlegroups.com
Shawn Ferry created an issue
 
Puppet / Improvement PUP-7758
package should use update instead of list on Solaris
Issue Type: Improvement Improvement
Affects Versions: PUP 4.10.4
Assignee: Shawn Ferry
Created: 2017/07/06 2:37 PM
Priority: Normal Normal
Reporter: Shawn Ferry

pkg list [-n|-a] are currently used in the pkg provider to find latest/available packages.

This method is imprecise; current logic later uses `pkg update -nv name` to determine if a package can be installed.

This logic can be reduced to `pkg update -nv name[@should]`
Additionally, --parsable=0 can be added to return json formatted results.

pkg update also triggers a metadata refresh which also solves the workaround of adding a manual refresh PUP-7745.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Geoff Nichols (JIRA)

unread,
Mar 24, 2018, 9:09:04 PM3/24/18
to puppe...@googlegroups.com
Geoff Nichols updated an issue
Change By: Geoff Nichols
Labels: solaris type_and_provider
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Branan Riley (JIRA)

unread,
May 14, 2018, 3:34:03 PM5/14/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Labels: package solaris triaged type_and_provider

Josh Cooper (Jira)

unread,
Feb 23, 2022, 9:56:02 PM2/23/22
to puppe...@googlegroups.com
Josh Cooper commented on Improvement PUP-7758
 
Re: package should use update instead of list on Solaris

We don't have plans on fixing this any time soon, but would welcome a pull request. If you're interested in that, please submit one and reopen this ticket.

This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages