Feature RTC PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
3 Jan 2024

Summary of Changes

The commands for core updates are not consistent right now. This is a first attempt at getting a system into these commands and improving the output. This PR renames the core:check-updates command to core:update:check (and adds an alias to keep it backwards compatible) and extends the output to display the current Joomla version and the update channel we are currently on.

An additional command core:update:set-channel will allow to set the update channel in the future.

Testing Instructions

  1. call php cli/joomla.php
  2. call php cli/joomla.php core:update:check
  3. call php cli/joomla.php core:check-updates

Actual result BEFORE applying this Pull Request

to 1.: See the command listed as core:check-updates
to 2.: See the command fail
to 3.: See the title "Joomla updates" and the text "You already have the latest Joomla version..."

Expected result AFTER applying this Pull Request

to 1.: See the command listed as core:update:check and with an alias of core:check-updates
to 2.: See the command go through successfully with the title "Joomla Update Status" and the currently selected update channel and the current Joomla version in addition to the next available version.
to 3.: See the command to also work successfully, like in 2.

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

avatar Hackwar Hackwar - open - 3 Jan 2024
avatar Hackwar Hackwar - change - 3 Jan 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jan 2024
Category Libraries
avatar dautrich dautrich - test_item - 9 Jan 2024 - Tested successfully
avatar dautrich
dautrich - comment - 9 Jan 2024

I have tested this item ✅ successfully on fcc5429


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42594.

avatar viocassel viocassel - test_item - 15 Jan 2024 - Tested successfully
avatar viocassel
viocassel - comment - 15 Jan 2024

I have tested this item ✅ successfully on fcc5429


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42594.

avatar richard67 richard67 - change - 15 Jan 2024
Status Pending Ready to Commit
Labels Added: PR-5.1-dev
avatar richard67
richard67 - comment - 15 Jan 2024

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42594.

avatar Razzo1987 Razzo1987 - change - 18 Jan 2024
The description was changed
avatar Razzo1987 Razzo1987 - edited - 18 Jan 2024
avatar Razzo1987 Razzo1987 - change - 18 Jan 2024
The description was changed
avatar Razzo1987 Razzo1987 - edited - 18 Jan 2024
avatar Razzo1987 Razzo1987 - change - 18 Jan 2024
Labels Added: Feature RTC
avatar Razzo1987 Razzo1987 - change - 18 Jan 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-01-18 22:06:41
Closed_By Razzo1987
avatar Razzo1987 Razzo1987 - close - 18 Jan 2024
avatar Razzo1987 Razzo1987 - merge - 18 Jan 2024
avatar Razzo1987
Razzo1987 - comment - 18 Jan 2024

Thanks!

Add a Comment

Login with GitHub to post a comment