New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MM-21123] Add Labels to upstream Marketplace response #13425
Conversation
@lieut-data Re-requesting your review also I also included the changes needed for https://mattermost.atlassian.net/browse/MM-21611 |
app/plugin.go
Outdated
Labels: []model.MarketplaceLabel{{ | ||
Name: "Local", | ||
Description: "This plugin is not listed in the marketplace but was installed manually.", | ||
}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be added only if the EnableRemoteMarketplace
is enabled though. However, this setting is being introduced in this PR: #13449
What should be the best approach here to synch this? After you merge this maybe I can update the other PR to add the condition there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, let's see what PR goes in first 😉 When can update the other one then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marianunez I've updated the #13449 in 1035471. I hope this was fine to you.
Similar to mattermost/mattermost-marketplace#31 (comment), I also added a commit here in 6376e83 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just one comment about internationalization for https://github.com/mattermost/mattermost-server/pull/13425/files#diff-d07092579ced8908e9521d5930e3328aR507
Co-Authored-By: Jesse Hallam <jesse.hallam@gmail.com>
@hanzei Executing
|
@prapti, did you mean to test against the health endpoint? That will just return information about the marketplace server itself. It looks like you have the right commits, but you should query |
@lieut-data I was testing based on the steps mentioned in this ticket. |
Good catch @prapti 👍 I've updated the QA steps in the ticket. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and verified on local instance that OFFICIAL
and LOCAL
tags show up for official Marketplace plugins and manually uploaded ones appropriately.
Some of the concerns regarding showing LOCAL
plugins only when Enable Remote Marketplace
is enabled will be tested during feature testing.
Summary
When fetching the Plugins from upstream Marketplace include also the fetched labels.
Ticket Link
https://mattermost.atlassian.net/browse/MM-21123
https://mattermost.atlassian.net/browse/MM-21611
Related Pull Requests