Skip to:

Opened 2 months ago

Last modified 2 weeks ago

#8308 assigned enhancement

2.0 - BP CLI

Reported by: espellcaste Owned by: espellcaste
Milestone: 7.0.0 Priority: normal
Severity: normal Version:
Component: Core Keywords: has-patch commit


The 2.0 version of the WP BP CLI is almost 100%.

This update was on my list of TO-DO for quite some time. It comes with several changes:

I'm creating this ticket to add a few changes to BuddyPress core to better work together with the package.

First: we need to update BuddyPress trunk with the master version of the WP BP CLI package. This will allow people using the BP Beta Tester plugin to use the latest version of the CLI. When we decide to actually launch we change for the 2.0 tag release.

Second: I'd like to add a conditional check in the plugin to make sure the package from the plugin doesn't conflict with the one installed with wp package install buddypress.

This is for people that installs the package via the cli. Right now, installing via the package fetches from master and is always the latest. But due to the class conflict, one can't use the latest if desired.

Patch incoming. :)

Attachments (2)

8308.diff (1.2 KB) - added by espellcaste 4 weeks ago.
8308-2.diff (1.2 KB) - added by espellcaste 4 weeks ago.

Download all attachments as: .zip

Change History (9)

#1 @espellcaste
2 months ago

  • Owner set to espellcaste
  • Status changed from assigned to accepted

#2 @espellcaste
2 months ago

  • Status changed from accepted to assigned

4 weeks ago

#3 @espellcaste
4 weeks ago

  • Keywords has-patch added; needs-patch removed

#4 @imath
4 weeks ago

Looks good! Thanks for your work on the patch and on the BP CLI commands.

I'd suggest to add a space before the last ) in:
! class_exists( 'Buddypress\CLI\Command\BuddypressCommand')

4 weeks ago

#5 @espellcaste
3 weeks ago

@imath I'd love your review of the new patch.

#6 @imath
2 weeks ago

  • Keywords commit added

Let's have it in!

This ticket was mentioned in Slack in #buddypress by imath. View the logs.

2 weeks ago

Note: See TracTickets for help on using tickets.