tomjn / composerpress

Retroactively creates a composer.json for a WordPress site
88 stars 6 forks source link

Export only active plugins to composer.json #3

Closed leonho closed 11 years ago

leonho commented 11 years ago

We have a lot of inactive plugins but we only wanted to export only the active plugins because those are the ones that are useful to production. Is it possible?

lkraav commented 11 years ago

O my, I would've expected that to be the default behavior

Therefore +1 to this

tomjn commented 11 years ago

I generally work under the assumptin inactive plugins shouldn't be installed, but I see the value in this, so +1

lkraav commented 11 years ago

Hmmm my use case is a multisite staging network. Currently I have 250+ plugins installed, of which usually 10%+ is active for each site.

tomjn commented 11 years ago

I've pushed some changes that filter out inactive plugins

leonho commented 11 years ago

Excellent!