[5.1] CLI: Adding command to manage Joomla core update channels#42597
[5.1] CLI: Adding command to manage Joomla core update channels#42597Razzo1987 merged 3 commits intojoomla:5.1-devfrom
Conversation
|
I have tested this item ✅ successfully on b4ce80a This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42597. |
|
I tested following the Testing Instructions. As part of the test, I set the update channel to |
Is it removed when you do the same in the web interface? |
|
@brianteeman |
|
I have tested this item ✅ successfully on b4ce80a This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42597. |
thought so. some would consider it a good feature to have |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42597. |
|
Thanks! |
Summary of Changes
On the CLI, we can check for updates of the core and we can run the update as well, but we actually don't know what we are updating to, what update channel we are on and what the update process is actually doing right now. This PR tries to fix some of the issues by allowing to manage the update channels.
By calling
php cli/joomla.php core:update:channel, you get the update channel the site is currently on. By adding the parameterdefault,next,testingorcustom, you can set the update channel to that respective one. Forcustomyou need to also add the--url=<url>parameter for the custom URL.Testing Instructions
php cli/joomla.php core:update:channelto display the currently configured update channel.php cli/joomla.php core:update:channel nextto set it to the "next" update channel. Check that the params column in#__extensionsfor thecom_joomlaupdaterow contains the updatedupdatesourcevalue and thatlocationcolumn forJoomla! Corein#__update_sitescontainshttps://update.joomla.org/core/sts/list_sts.xmlas URL.php cli/joomla.php core:check-updatesto check for updates from the new update source.Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed