Details
-
Type:
Task
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: core
-
Labels:
-
Similar Issues:
Description
It is the follow-up to our discussion with Manuel Recena Soto and Jesse Glick.
The current Item categorization uses JENKINS_URL/categories endpoint to provide the list of categories.
It causes several concerns:
- Categories apply to items only, but the "/categories" endpoint does not mention it in paths. Once we want to implement slave categories, it may become a problem
- The endpoint may conflict with existing closed-source plugins. E.g. I had the Categorization plugin at one of my previous companies, which used the similar endpoint. Update to 2.0 will cause regressions in such plugins
- The implementation is not pluggable. E.g. Views and Items cannot filter the categories somehow
Proposed solution:
- Ship categories via VIEW_URL/itemCategories
- Allow overriding of the method in views. Just for the future pluggability
Attachments
Issue Links
- links to
Code changed in jenkins
User: Jesse Glick
Path:
http://jenkins-ci.org/commit/cloudbees-folder-plugin/ac521be9372a056a799c354e75f5ce33d516b7ff
Log:
Merge pull request #55 from recena/
JENKINS-33972JENKINS-33972View.doCategories was renamed to View.doItemCategoriesHeck, merge them both, see if GitHub can handle it!
Compare: https://github.com/jenkinsci/cloudbees-folder-plugin/compare/526694d36b9d...ac521be9372a