[wp-trac] [WordPress Trac] #23912: Add Composer package description

WordPress Trac noreply at wordpress.org
Sun Jan 19 13:31:26 UTC 2014


#23912: Add Composer package description
-------------------------+-----------------------------
 Reporter:  Rarst        |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Build Tools  |     Version:  3.5
 Severity:  trivial      |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by TJNowell):

 There's a fundamental misunderstanding here, we're not discussing
 WordPress as a code library to be integrated into another piece of code.

 E.g. if the package example/example.com depends on wordpress/wordpress and
 wordpress/akismet, and its repository contains a wp-config.php and a
 htaccess, how is this bad? There's no output buffer library binding
 trickery being employed,''' the end result is a standard WordPress subdir
 install'''

 Using Rarsts/Johns composer.json this is perfectly fine. WordPress is a
 dependency of the site because it powers the site, '''not''' because it's
 being included in some other application.

 The alternative composer.json would have the following impacts:

  - the example.com maintainer would be forced to use a classic install, a
 subdirectory install via composer is no longer an option
  - example.com can still update their theme and plugin packages, but if
 say wordpress 3.9 stable was released, they need to checkout, setup, run
 the updater, commit changes, push back to original source, etc, etc The
 ability to update and maintain versions of WP Core in a managed way is
 lost

 Neither of these points have been addressed, and are fatal flaws in a
 composer.json that uses project as a type. I don't like the idea of being
 forced to treat all my websites as forks of WP Core, they're not, they're
 aggregations of code I've written ( themes ), code other people have
 written ( plugins ), and a CMS ( WP Core ), aggregations that are
 specified using a composer.json.

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


More information about the wp-trac mailing list