-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
feat: enhance PluginFinder to support check plugin availability by version #6236
Conversation
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.
/lgtm
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6236 +/- ##
============================================
+ Coverage 54.51% 57.20% +2.68%
- Complexity 3523 3722 +199
============================================
Files 646 648 +2
Lines 21862 21986 +124
Branches 1528 1539 +11
============================================
+ Hits 11917 12576 +659
+ Misses 9328 8801 -527
+ Partials 617 609 -8 ☔ View full report in Codecov by Sentry. |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: LIlGG, ruibaby The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
### What this PR does? 添加插件 Finder API 中通过插件名称和版本判断某插件是否可用的 API 的文档 see also halo-dev/halo#6236 ```release-note None ```
What type of PR is this?
/kind feature
/area core
/area theme
/milestone 2.17.x
What this PR does / why we need it:
支持在主题中检查已启动的插件是否符合指定的版本要求,以便可以在某些功能可以正常工作时才渲染
示例
Does this PR introduce a user-facing change?