[wp-trac] [WordPress Trac] #52400: Dependency management for plugins and libraries

WordPress Trac noreply at wordpress.org
Fri Sep 20 03:52:41 UTC 2024


#52400: Dependency management for plugins and libraries
-------------------------+-----------------------
 Reporter:  joppuyo      |       Owner:  (none)
     Type:  enhancement  |      Status:  reopened
 Priority:  normal       |   Milestone:
Component:  Plugins      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  2nd-opinion  |     Focuses:
-------------------------+-----------------------
Changes (by bedas):

 * keywords:   => 2nd-opinion
 * status:  closed => reopened
 * resolution:  duplicate =>


Comment:

 The thing is, _that_ ticket did not address _this_ issue.

 https://core.trac.wordpress.org/ticket/22316 > handles _plugin
 dependencies_ as in one plugin requiring the other.
 This very ticket asks for _composer dependency_ management. Which is as
 far I see not part of the other ticket, or got missed.

 However looking at the (heated) discussion that unfolded in that ticket in
 regard... I guess this will just never come into core.
 The way to resolve this would be to have a _core composer file_ the
 developer can update to request dependencies for their plugin, and core
 would define the version range, so conflicts would be avoided, and anyone
 who does NOT want to use those versions has to bundle themselves _and
 prefix_ their dependencies.

 Sort of when using jQuery libraries that are in core vs bringing your own.

 I am setting this to second opinion needed because IMO it should not be
 closed as a duplicate.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52400#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list