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

WordPress Trac noreply at wordpress.org
Sun Aug 4 21:56:23 UTC 2013


#23912: Add Composer package description
------------------------------------+------------------
 Reporter:  Rarst                   |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  3.7
Component:  General                 |     Version:  3.5
 Severity:  trivial                 |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------

Comment (by Rarst):

 Draft updated with `wordpress-plugin` type (path of least resistance):


 {{{
 {
         "name"       : "wordpress/wordpress",
         "description": "WordPress is web software you can use to create a
 beautiful website or blog.",
         "keywords"   : ["blog", "cms"],
         "homepage"   : "http://wordpress.org/",
         "license"    : "GPL-2.0+",
         "authors"    : [
                 {
                         "name"    : "WordPress Community",
                         "homepage": "http://wordpress.org/about/"
                 }
         ],
         "support"    : {
                 "issues": "http://core.trac.wordpress.org/",
                 "forum" : "http://wordpress.org/support/",
                 "wiki"  : "http://codex.wordpress.org/",
                 "irc"   : "irc://irc.freenode.net/wordpress",
                 "source": "http://core.trac.wordpress.org/browser"
         },
         "type"       : "wordpress-plugin",
         "require"    : {
                 "php"                : ">=5.2.4",
                 "composer/installers": "~1.0"
         }
 }
 }}}

 Then root package, requiring WordPress, would need to specify path for it
 in its `composer.json`:

 {{{
 "require"     : {
         "wordpress/wordpress"          : ">=3.6",
     },
 "extra"       : {
         "installer-paths": {
             "./wp/": ["wordpress/wordpress"]
         }
     }
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23912#comment:19>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list