User tests: Successful: Unsuccessful:
This PR will add an update channel for our update component which will allow for updates to the component to be distributed separate from a CMS release.
If we were to ever have a repeat of what happened with 3.1.1 through 3.1.4 or in a rare instance where an update to the component was required in order to update the CMS, the update component would potentially fail when trying to update its own files. Adding this update channel allows the update component to be updated with Joomla's integrated extension update mechanisms, which would not use the code in the update component, and provides a fallback in case of such an emergency.
A new installation should have new database entries in the #__update_sites
and #__update_sites_extensions
table for this stream. Upgraded installations should also get the channel but without known ID values (hence the subqueries in the update SQL files). Updates on this channel will not work at this time, an XML file has not been provisioned at the coded location.
Labels |
Added:
?
|
Code review looks good.
Could you do a test release for it (since no one else will have the update server)? That way we can try updating it on a test site.
@nicksavov I've replaced the files that the current Testing update channel is pulling with packages built from staging plus this pull. It'll take a few minutes for the SDN to sync up, should be good to test within 10 minutes.
Great
No updates available so far in administrator/index.php?option=com_installer&view=update , but I'll try again in another 10.
For 3.3.5, you can install in the Extension Manager with http://update.joomla.org/core/packages/Joomla_3.3.5_to_3.3.6-Stable-Patch_Package.zip. For 3.3.0 through 3.3.4 you can install in the Extension Manager with http://update.joomla.org/core/packages/Joomla_3.3.x_to_3.3.6-Stable-Patch_Package.zip.
Ah, sorry, I've misunderstood you. I meant an update for the Joomla Update component.
I've already gotten the test site up to 3.3.6 and tested that everything worked. I was now wanting to test the update channel for the update component.
Looks like the XML is not at http://update.joomla.org/core/extensions/com_joomlaupdate.xml though.
We'll need to devise a packaging script for the component, but yes, we can get something put together for that. I'll also get the XML file provisioned.
There's a package for the update component at http://update.joomla.org/core/packages/com_joomlaupdate.zip
Still need to provision XML (will do that momentarily)
Installing the package will throw errors about the language files since those aren't packaged.
And the XML is now present, you should be able to update the component within Joomla now. To verify, on the Extension Manager's Manage view, filter for the update component and verify the version number is 3.3.6-dev
able to reproduce then on a fresh install:
1) switch to the Testing update server and update to the 3.3.6 package
2) after the update, go to the extension manager’s update view and check for updates on the update component, install it
3) then version number appears is 3.3.6-dev
thanks a lot!!!
This comment was created with the J!Tracker Application at http://issues.joomla.org/.
Tested
Updated to 3.3.6
In The extension manager update view there is an update for the Joomla! Update component version 3.3.6-dev listed
This comment was created with the J!Tracker Application at http://issues.joomla.org/.
I updated a test v3.3.0 site to v3.3.6. When I purge updates again I get the 3.3.7-dev listed. I suppose that's normal being on testing.
On updater I searched for components and com_joomlaupdate v3.3.6 was there. I installed it without errors except the language files warning.
Merging based on the above tests and reviews. Thanks to all involved!
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-10-01 00:12:37 |
@test
Updated to 3.3.6. In Extension Manager update view there is an update for the Joomla update component 3.3.6-dev. After update in the extension manager manage view the update component version number is 3.3.6-dev.
This comment was created with the J!Tracker Application at http://issues.joomla.org/.
Looks good, thank you!