Project

General

Profile

Bug #39453

Add API to display plugin version number for Installed Plugins

Added by Erin Clark over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Severity:
Low
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Fixing description. According to the UI team, the API currently provides version number for Available Plugins. Since the new UI also needs to display the version number of Installed Plugins (for feature parity), an API piece is needed to display version number for Installed Plugins.


Related issues

Blocks FreeNAS - Bug #39448: Display version numbers for Installed Plugins in new UIDone

Associated revisions

Revision 59b9fbf3 (diff)
Added by Brandon Schneider over 1 year ago

feat(plugins/list_local_version): Return an array like remote plugin listing Ticket: #39453

Revision ccabb85b (diff)
Added by Brandon Schneider over 1 year ago

tkt-39453: feat(plugins/list_local_version): Return an array like remote plugin listing (#1699) * feat(plugins/list_local_version): Return an array like remote plugin listing Ticket: #39453 * Address review by William

History

#1 Updated by Erin Clark over 1 year ago

  • Copied from Bug #39448: Display version numbers for Installed Plugins in new UI added

#2 Updated by Erin Clark over 1 year ago

  • Assignee changed from Lola Yang to Brandon Schneider

#3 Updated by Erin Clark over 1 year ago

  • Copied from deleted (Bug #39448: Display version numbers for Installed Plugins in new UI)

#4 Updated by Erin Clark over 1 year ago

  • Blocks Bug #39448: Display version numbers for Installed Plugins in new UI added

#5 Updated by Brandon Schneider over 1 year ago

  • Category changed from GUI (new) to Services
  • Assignee changed from Brandon Schneider to Martin Wilke

The port needs a bump, miwi is the man for that

#6 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Display plugin version number in new UI - middleware to Display plugin version number in Installed Plugins
  • Description updated (diff)
  • Assignee changed from Martin Wilke to Brandon Schneider
  • Seen in changed from 11.1-U4 to Master - FreeNAS Nightlies
  • Needs QA changed from No to Yes
  • Needs Merging changed from No to Yes

#7 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Display plugin version number in Installed Plugins to Add API to display plugin version number for Installed Plugins

#8 Updated by William Grzybowski over 1 year ago

  • Category changed from Services to Middleware

#10 Updated by Brandon Schneider over 1 year ago

  • Status changed from Unscreened to Not Started

#11 Updated by Brandon Schneider over 1 year ago

  • Status changed from Not Started to In Progress

#12 Updated by Brandon Schneider over 1 year ago

PR: https://github.com/freenas/freenas/pull/1699
DESC: Show local plugin pkg versions
RISK: Low
ACCEPTANCE: midclt call jail.list_resource "PLUGIN" will return versions for installed plugins

If INDEX can be read and the pkg has a version:

root@freenas:~ # midclt call jail.list_resource "PLUGIN" 
[[null, "btsync", "on", "down", "pluginv2", "11.2-RELEASE-p2", "DHCP (not running)", null, null, "http://DHCP:8888/", "2.5.13", "1"]]

Otherwise:
root@freenas:~ # midclt call jail.list_resource "PLUGIN" 
[[null, "btsync", "on", "down", "pluginv2", "11.2-RELEASE-p2", "DHCP (not running)", null, null, "http://DHCP:8888/", "N/A", "N/A"]]

It appends the pkg version and revision fields to the array.

#13 Updated by Bug Clerk over 1 year ago

  • Status changed from In Progress to Ready for Testing

#14 Updated by Dru Lavigne over 1 year ago

  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#15 Updated by Dru Lavigne over 1 year ago

  • Status changed from Ready for Testing to Done
  • Needs QA changed from Yes to No

Also available in: Atom PDF