Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-328] appcd-plugin: Registered plugins not sorted when retrieving status for semver range

GitHub Issuen/a
TypeStory
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2020-02-13T22:57:50.000+0000
Affected Version/sn/a
Fix Version/sAppc Daemon 4.0.0
Componentsappcd-plugin
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2020-02-13T22:45:40.000+0000
Updated2020-03-31T20:12:18.000+0000

Description

When getting the status of a plugin where the version is a semver range, it will scan all plugins for a match by name and version. The order of the registered plugins is whichever order they were loaded. The list of plugins must be sorted in order to deterministically find the plugin. If you have @appcd/plugin-titanium v1.6.0 and v1.8.1 installed, getting the status for ^1.6.0 should return v1.8.1.
appcd exec /appcd/plugin/status/@appcd/plugin-titanium/^1.6.0

Comments

  1. Chris Barber 2020-02-13

    PR: https://github.com/appcelerator/appc-daemon/pull/458

JSON Source