Add composer.json #36

Merged
tomcastleman merged 1 commit from heroku into master 2015-06-05 09:47:02 +01:00
tomcastleman commented 2015-02-19 14:37:01 +00:00 (Migrated from github.com)

It would be great if we could make this package composer deployable. I added a basic composer.json here, but also it would be good if your wp-common package is moved from a submodule to another plugin (or include them in this repo directly).

Thanks

It would be great if we could make this package composer deployable. I added a basic composer.json here, but also it would be good if your `wp-common` package is moved from a submodule to another plugin (or include them in this repo directly). Thanks
tomcastleman commented 2015-02-19 14:40:05 +00:00 (Migrated from github.com)

I know it's available via wpackagist, however that doesn't allow one to create and require development forks etc. Not only is making this composer friendly good practice but also it will enable me to contribute more easily :)

I know it's available via wpackagist, however that doesn't allow one to create and require development forks etc. Not only is making this composer friendly good practice but also it will enable me to contribute more easily :)
petermolnar commented 2015-02-19 15:10:28 +00:00 (Migrated from github.com)

wp-common is a submodule for a reason; I do not want to move it to a separate plugin.

wp-common is a submodule for a reason; I do not want to move it to a separate plugin.
tomcastleman commented 2015-02-19 15:52:13 +00:00 (Migrated from github.com)

OK. Well thanks for being so open to discussion and collaboration!

OK. Well thanks for being so open to discussion and collaboration!
petermolnar commented 2015-02-19 16:36:55 +00:00 (Migrated from github.com)

I did not want to sound offensive, sorry about that.

The wp-common is a small framework which would not make any sense on it's own and - in my opinion - cannot really be migrated to a plugin.

There is no dependency handling in WordPress apart from an alert to install another plugin so I do not think this would be a good idea.

However, the current wp-common folder do results in issues due to limitations in PHP itself. I'll try to think about it, but I'd rather copy-paste the abstract class instead of putting it into a separate plugin.

I did not want to sound offensive, sorry about that. The wp-common is a small framework which would not make any sense on it's own and - in my opinion - cannot really be migrated to a plugin. There is no dependency handling in WordPress apart from an alert to install another plugin so I do not think this would be a good idea. However, the current wp-common folder do results in issues due to limitations in PHP itself. I'll try to think about it, but I'd rather copy-paste the abstract class instead of putting it into a separate plugin.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: petermolnar/wp-ffpc#36
No description provided.