joomla / joomla-cms

Home of the Joomla! Content Management System
https://www.joomla.org
GNU General Public License v2.0
4.69k stars 3.63k forks source link

update server outdated XML #43643

Open Pawel-Panek opened 3 weeks ago

Pawel-Panek commented 3 weeks ago

The version numbers in https://update.joomla.org/core/nightlies/next_minor_list.xml and the links from https://update.joomla.org/core/nightlies/next_minor_extension.xml are no longer up to date with latest versions as published on https://developer.joomla.org/nightly-builds.html.

Please update the versioning and the package download links. Thanks.

richard67 commented 3 weeks ago

@Pawel-Panek Joomla 5.1 does not use these XML files anymore, it uses TUF (the update framework), and this can be checked here: https://update.joomla.org/cms/targets.json .

Furthermore, the version can never be the same as the nightlies as the latter are one the next dev version. E.g. for 5.1 the latest release was 5.1.1 and the nightlies for 5.1 have 5.1.2-dev.

richard67 commented 3 weeks ago

Closing as expected behaviour due to the reasons stated in my previous comment. Feel free to reopen this issue or ask us to do it if you think this is wrong.

brianteeman commented 3 weeks ago

@richard67 this is referring to the nightlies which Cloud Access provides access to on their joomla platform https://update.joomla.org/cms/targets.json does not have any information for the nightly builds

richard67 commented 3 weeks ago

@richard67 this is referring to the nightlies which Cloud Access provides access to on their joomla platform https://update.joomla.org/cms/targets.json does not have any information for the nightly builds

@brianteeman The issue refers to the other XML and claims they are not up to date compared to the nightlies, which is wrong for 5.1 because these XML files which are only relevant for 4.4. For the nightlies TUF is not used. So please read again the issue description.

brianteeman commented 3 weeks ago

Not trying to be obtuse here but that is not correct, If it was correct then this line should not be present in the nightly build xml

https://update.joomla.org/core/nightlies/next_minor_list.xml <extension name="Joomla" element="joomla" type="file" version="5.1.1-dev" targetplatformversion="5.0" detailsurl="https://update.joomla.org/core/nightlies/next_minor_extension.xml"/>

https://update.joomla.org/core/nightlies/next_minor_extension.xml

<update>
<name>Joomla! 5.1 Nightly Build</name>
<description>Joomla! CMS</description>
<element>joomla</element>
<type>file</type>
<version>5.1.1-dev</version>
<infourl title="Joomla! Nightly Builds">https://developer.joomla.org/nightly-builds.html</infourl>
<downloads>
<downloadurl type="full" format="zip">https://developer.joomla.org/nightlies/Joomla_5.1.1-dev-Development-Update_Package.zip</downloadurl>
</downloads>
<tags>
<tag>stable</tag>
</tags>
<supported_databases mysql="8.0.13" mariadb="10.4" postgresql="12.0"/>
<php_minimum>8.1.0</php_minimum>
<maintainer>Joomla! Production Department</maintainer>
<maintainerurl>https://www.joomla.org</maintainerurl>
<targetplatform name="joomla" version="5.[0]"/>
</update>

If these entries are incorrect then they should be removed

How is @Pawel-Panek and others supposed to get the nightly packages

richard67 commented 3 weeks ago

I see. The nightlies XML are indeed outdated => @LadySolveig @bembelimen Could you check?

richard67 commented 3 weeks ago

Maybe the issue should reported there: https://github.com/joomla/update.joomla.org/issues

Pawel-Panek commented 3 weeks ago

@richard67 please feel free to close the issue here and reopen in update.joomla.org repo.

@brianteeman thank you for picking up on this. This is exactly what we need. Our systems try to follow up on version changes but we need to have a reliable source of information about new packages.

One issue with next_mirror_list.xml is that it doesn't mention 4.4.6 so we can't deploy this package.

The other is with 5.x branch. We also would like to have a way to download -dev versions, like 5.1.2-dev which isn't linked in https://update.joomla.org/cms/targets.json .

richard67 commented 2 weeks ago

I've made a pull request with one possible way to fix it: https://github.com/joomla/update.joomla.org/pull/365

If that PR gets accepted as it is, you would have to use "next_patch_list.xml" instead of "next_minor_list.xml" for getting the 4.4.6-dev and 5.1.2-dev nightlies. For the 5.2 nightlies you would use "next_minor_list.xml", and for the 6.0 nightlies you would use "next_major_list.xml".

@Pawel-Panek Could you work with that?

Pawel-Panek commented 2 weeks ago

Yes, that looks good. Thank you!

richard67 commented 2 weeks ago

The PR for the nightly build update site XML has been merged meanwhile. Now it needs a final step to make the URLs show up on https://developer.joomla.org/nightly-builds.html . I‘ve pinged someone who can do that.