Skip to content

Testing Automated Updates for 5.4.0 and 6.0.0 pre stable release #45540

@HLeithner

Description

@HLeithner

Caution

Do not use the Alpha Update Server on a production site

Packages

For the pre release cycle of Joomla 5.4 and Joomla 6.0 I will maintain "stable" packages for testing the automated update service introduced with Joomla 5.4-alpha1.

Since the automated update mechanism will only update between stable releases it's not possible to test the update mechanism within the pre-release packages (alpha1-3, beta1-2, rc).

For this I create a separate Joomla Update-Package corresponding to each pre-release package as a stable package and publish this package on the Alpha update repository. This repository is a copy of our tuf update server which hold the information about the available updates.

  • 5.4.0-alpha1 will be 5.4.110
  • 6.0.0-alpha1 will be 6.0.110

They are marked as stable packages.

Caution

Once again. Do not use the Alpha Update Server on a production site, it will auto update to your stable site to a pre-release version.

Plugin

Since it's not possible to switch to this update repository in the Joomla backend, I created a plugin which allows you to switch to the alpha update server. This can be used in any Joomla 5.0+ version but only make sense if you want to test the auto update server with 5.4.0-alpha1 or 6.0.0-alpha1 and later.

Caution

Do not use this plugin on a production site.

You can download it from here.

The plugin is called "System - Alpha Update " and will automatically activate it self and change the server to the "alpha update server".

It has one option to configure, which "server" you would like to select.

  • default
  • alpha

The plugin does 2 things.

  1. Modify the file administrator/components/com_joomlaupdate/src/Model/UpdateModel.php
  2. Update the database table #__extensions

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions