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

WordPress Trac noreply at wordpress.org
Mon Jan 20 22:20:11 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 JohnPBloch):

 I think I've been letting my ego get into this discussion too much and I
 need to apologize for that. Things are starting to get kind of nasty and I
 think we need to rein things in a bit.

 I think I'm coming around to the argument that
 [https://core.trac.wordpress.org/attachment/ticket/23912/23912.6.patch
 bpetty's patch] is the preferable one, for the most part, ''assuming'' the
 composer.json file ended up in `trunk`, `branches/X` and `tags/X`
 directories of the core.svn repo.

 I don't think discussions of workflows and use-cases are really germane to
 this ticket. A basic clean `composer.json` file very similar to bpetty's
 would serve ''all'' workflows and use cases (perhaps with other packages
 required, depending on your needs).

 What we should be discussing is:

 1. Whether there even should be a `composer.json` file in the root of the
 WordPress package (I ''think'' most or all of us agree that there should
 be?)
 2. What should be in the `composer.json` file

 Regarding the second point, I'm fine with the contens of bpetty's patch
 with one exception: I think we should omit the `type` field. It's optional
 to begin with and there seems to be a significant amount of disagreement
 about whether we should claim that the WordPress core package is a project
 or a library (and to be fair, it doesn't ''really'' fit either label). We
 don't have to pick one.

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


More information about the wp-trac mailing list