Skip to:
Content

bbPress.org

Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#2712 closed task (blessed) (fixed)

Add support for Composer

Reported by: netweb Owned by: johnjamesjacoby
Priority: normal Milestone: 2.6
Component: General Version:
Severity: normal Keywords: close
Cc:

Description

This sounds like a good idea for bbPress also.

Via @DJPaul in #BuddyPress5928

I'd like to add Composer support to BuddyPress.


This would involve adding a JSON file into the root of /src/ (thus it would end up in a regular release, not just the dev SVN); it would contain pretty similar to info that our NPM package.json already has. Here's an example: https://github.com/markjaquith/WP-TLC-Transients/blob/master/composer.json


#WP23912 is a discussion about Composer support in WordPress core; the issues covered in that topic don't affect us, but that ticket's description is helpful to read.


If we did this, once we have a release (because we want to use Composer with release versions), we can tell https://packagist.org/ about our new Composer support, which would allow someone to install BuddyPress by integrating with their own project/own site's composer.json (specifying BP as a package requirement). The easiest way to demo this is to install Composer and run a command like "composer require hyyan/logo-controller".

See BuddyPress ticket for patch and comments

Change History (4)

#1 @netweb
12 years ago

  • Milestone Awaiting ReviewUnder Consideration

#2 @johnjamesjacoby
11 years ago

  • Keywords close added; good-first-bug removed
  • Milestone Under Consideration2.6
  • Owner set to johnjamesjacoby
  • Type enhancementtask

Doing this shortly.

#3 @johnjamesjacoby
11 years ago

  • Resolutionfixed
  • Status newclosed

In 5935:

Add Composer support. Fixes #2712.

#4 @johnjamesjacoby
11 years ago

Also added to trunk of plugins.svn.

Note: See TracTickets for help on using tickets.