Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support for multiple download sources on update servers #18926
Summary of Changes
This is an enhancement of #18547 to introduce support for multiple download sources (AKA mirrors) to the update server library. See the original PR for all the basics.
I have made a couple of core tweaks to the concept to allow us to be minimally disruptive to past releases while also enable us to expand the API and be able to implement other missing features in the update system. In short:
With the patch applied, go into the update component, set the update channel to "Custom URL" and use the URL https://developer.joomla.org/test-update-server/list_sts.xml as your server. Then try to update Joomla (this will use a nightly build, so it WILL undo the changes from this patch). The update should work.
Note this server is purposefully provisioned so that it should fail on the first two download attempts, the first using the existing
Documentation Changes Required
The update server documentation should be expanded to document the new tag/options.
I tested it. Updating joomla is working.
P.S I'm attaching plg_system_testtalt_1.0.0.zip for testing com_installer.