User tests: Successful: Unsuccessful:
JAB17 make it happen.
Allow to pass version of Joomla into the method which checks weather an update is compatible.
This changes are needed by Joomla Update component to tell if your extensions have a compatible update for Joomla version to which you are going to update or upgrade.
It is a task which we are implementing on JAB 2017 with @wilsonge
$update = new JUpdate();
$update->set('jversion.full', '3.7.2');
$update->set('jversion.dev_level', '2');
$update->loadFromXML('https://update.joomla.org/core/extensions/com_joomlaupdate.xml');
$download_url = $update->get('downloadurl');
Above update server has an update only for Joomla 3.6
so $download_url->_data is empty as there is no update for Joomla 3.7.2
When you will change
$update->set('jversion.full', '3.6.0');
$update->set('jversion.dev_level', '0');
then $download_url->_data will contain a download URL.
Allow to check if there is an update for a specific version of Joomla
It is possible to check if there is an update only for current version of Joomla.
None
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Title |
|
Labels |
Added:
?
|
hmm I don't get that point? Why do you want to do that? Can you answear the questions from the PR template? This could help testing and understanding. ;) Thanks
We want to adapt Joomla Update to check compatibility with the version of Joomla you are going to update to.
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-04 09:56:40 |
Closed_By | ⇒ | wilsonge |
hmm I don't get that point? Why do you want to do that? Can you answear the questions from the PR template? This could help testing and understanding. ;) Thanks