Automattic / Cron-Control

A fresh take on running WordPress's cron system, allowing parallel processing
https://wordpress.org/plugins/wp-cron-control/
GNU General Public License v2.0
121 stars 21 forks source link

Add the package type to composer.json #348

Closed rafaucau closed 8 months ago

rafaucau commented 1 year ago

This Pull Request adds a package type to composer.json. When managing WordPress installation via Composer, it allows installing the plugin using the composer require automattic/cron-control command. Without the package type, this plugin ends up in the vendor folder instead of wp-content/mu-plugins.

Repo info Of course, to install this plugin, you need to add the repository to the composer.json file ``` ... "repositories": [ { "type": "vcs", "url": "https://github.com/Automattic/Cron-Control" }, ... ] ... ```
rafaucau commented 1 year ago

Another option is to release an official update on https://wordpress.org/plugins/wp-cron-control/ so that the latest version appears on WP Packagist: https://wpackagist.org/search?q=wp-cron-control&type=any&search=. Currently, the plugin has not been updated for 6 years.

ethitter commented 1 year ago

The "WP-Cron Control" plugin on WordPress.org is not related to this plugin. They're similarly named because I'm not great at naming things, and although both deal with cron and I contributed to both, they're otherwise unrelated. The repo for the other one is archived here: https://github.com/Automattic/WP-Cron-Control; it's probably best that I close the plugin on WP.org as it's no longer maintained.

rafaucau commented 1 year ago

Oh, this repo links to that plugin, so I thought it was just that new versions don't go to wp.org image

rafaucau commented 1 year ago

Anyway, could you merge this? It's a change that will be very helpful, especially since this plugin is not available outside of GitHub.

rafaucau commented 8 months ago

@WPprodigy