Jira (PUP-10382) pkgng does not parse latest version properly

0 views
Skip to first unread message

Martijn de Gouw (Jira)

unread,
Mar 24, 2020, 5:28:03 AM3/24/20
to puppe...@googlegroups.com
Martijn de Gouw created an issue
 
Puppet / Bug PUP-10382
pkgng does not parse latest version properly
Issue Type: Bug Bug
Affects Versions: PUP 5.5.18
Assignee: Unassigned
Components: Types and Providers
Created: 2020/03/24 2:27 AM
Priority: Normal Normal
Reporter: Martijn de Gouw

Puppet Version: 5.5.18
Puppet Server Version: 5.5.18
OS Name/Version: FreeBSD 12

the pkgng provider does not parse the output of pkg version -voRL= correctly.
If the package is no longer found in the repo, no latest version can be parsed out of it.

For example the output is:
sysutils/splunk ? orphaned: sysutils/splunk
databases/sqlite3 < needs updating (remote has 3.30.1)

Desired Behavior:

latests version for splunk should be nil
latests version for sqlite3 should be 3.30.1

Actual Behavior:

latests version for splunk is sysutils/splunk
latests version for sqlite3 is 3.30.1

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Martijn de Gouw (Jira)

unread,
Mar 24, 2020, 5:36:03 AM3/24/20
to puppe...@googlegroups.com

Mihai Buzgau (Jira)

unread,
Mar 24, 2020, 7:49:03 AM3/24/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
 
Change By: Mihai Buzgau
Team: Night's Watch

Mihai Buzgau (Jira)

unread,
Mar 24, 2020, 7:49:04 AM3/24/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR - Triage

Mihai Buzgau (Jira)

unread,
Mar 31, 2020, 10:57:03 AM3/31/20
to puppe...@googlegroups.com
Mihai Buzgau updated an issue
Change By: Mihai Buzgau
Sprint: PR NW - Triage 2020-04-15

Mihai Buzgau (Jira)

unread,
Apr 1, 2020, 4:56:03 AM4/1/20
to puppe...@googlegroups.com

Gabriel Nagy (Jira)

unread,
Apr 1, 2020, 9:33:03 AM4/1/20
to puppe...@googlegroups.com
Gabriel Nagy assigned an issue to Gabriel Nagy
Change By: Gabriel Nagy
Assignee: Gabriel Nagy

Gabriel Nagy (Jira)

unread,
Apr 1, 2020, 9:41:03 AM4/1/20
to puppe...@googlegroups.com
Gabriel Nagy updated an issue
Change By: Gabriel Nagy
Fix Version/s: PUP 6.15.0
Fix Version/s: PUP 5.5.20

Claire Cadman (Jira)

unread,
Apr 6, 2020, 9:39:03 AM4/6/20
to puppe...@googlegroups.com
Claire Cadman updated an issue
Change By: Claire Cadman
Labels: doc_reviewed
Reply all
Reply to author
Forward
0 new messages