Use shared values of latest version of plugins #769
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it
If we want to modify the description of a plugin, we can publish a new version with the new description. The problem is that the
plugin search
command shows the description of the oldest plugin version.This commit makes sure the shared values of a plugin are taken from the most recent version.
This allows to change the description, the vendor and/or the publisher by publishing a new version of the plugin.
Which issue(s) this PR fixes
Fixes # N/A
Describe testing done for PR
Add unit tests.
We had the problem with the
appsv2
plugin where we tried to change its description butplugin search
still showed the old description. What we did was to deactivate the oldappsv2
versionv0.2.0
to only have the new description. I wanted to confirm this PR fixed the issue so I did:appsv2:v0.2.0
in my own DB cacheplugin search
with CLIv1.3.0
to see the old descriptionplugin search
with this PR to see the new descriptionRelease note
Additional information
Special notes for your reviewer