?
Related to # 13789
avatar alex7r
alex7r
31 Jan 2017

Updates fetcher now comparing <targetplatform> with RegEx.
We should change it to use just minimal version instead.
related to #13789


Also I think it would be great to add ability to use one updates.xml for several extentions.


Docs can use some info

avatar alex7r alex7r - open - 31 Jan 2017
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jan 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 Jan 2017
avatar alex7r
alex7r - comment - 31 Jan 2017

Also you can't update plugins. Only some modules and components with "extension" server
Caused by https://github.com/joomla/joomla-cms/blob/staging/libraries/joomla/updater/adapters/extension.php#L50


Can someone review this while having few free minutes?
May be approve changing it to client_id = 0; by default?
@mbabker @rdeutz @wilsonge

avatar alex7r
alex7r - comment - 31 Jan 2017

Ok, everything except the initial issue is solved with "collection" update server like:

<?xml version="1.0" encoding="utf-8"?>
<extentionsets>
	<extentionset name="Extention" description="Extention for Joomla! CMS">
		<extension
				detailsurl="https://some.download.url/updates/extension"

				infourl="https://some.download.url/updates/extension/changelog"
				type="package"
				version="1.3.2"
				targetplatformversion="3.*"
				
				php_minimum="5.3.10"

				name="Extention (Package)"
				element="pkg_extention"
				downloadurl="https://some.download.url/updates/extension/download-1"
		/>
		<extension
				detailsurl="https://some.download.url/updates/extension"

				infourl="https://some.download.url/updates/extension/changelog"
				type="component"
				version="1.3.2"
				client_id="1"
				targetplatformversion="3.*"
				
				php_minimum="5.3.10"

				name="Extention (Component)"
				element="com_extention"
				downloadurl="https://some.download.url/updates/extension/download-2"
		/>
	</extentionset>
	<extentionset name="Extention 2" description="Extention for Joomla! CMS">
		<extension
				detailsurl="https://some.download.url/updates/extension-2"

				infourl="https://some.download.url/updates/extension-2/changelog"
				type="package"
				version="2.2.2"
				targetplatformversion="3.*"
				
				php_minimum="5.3.10"

				name="Extention 2 (Package)"
				element="pkg_extention_2"
				downloadurl="https://some.download.url/updates/extension-2/download-1"
		/>
		<extension
				detailsurl="https://some.download.url/updates/extension-2"

				infourl="https://some.download.url/updates/extension-2/changelog"
				type="component"
				version="2.2.2"
				client_id="1"
				targetplatformversion="3.*"
				
				php_minimum="5.3.10"

				name="Extention 2 (Component)"
				element="com_extention_2"
				downloadurl="https://some.download.url/updates/extension-2/download-2"
		/>
	</extentionset>
</extentionsets>
avatar alex7r alex7r - edited - 31 Jan 2017
avatar alex7r alex7r - change - 31 Jan 2017
The description was changed
avatar alex7r alex7r - edited - 31 Jan 2017
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jan 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 31 Jan 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Category Installation
avatar joomla-cms-bot joomla-cms-bot - change - 30 Mar 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 30 Mar 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Apr 2017
Status New Confirmed
Rel_Number 0 13789
Relation Type Related to
avatar brianteeman
brianteeman - comment - 18 Aug 2017

Closed as there is a PR

avatar brianteeman brianteeman - close - 18 Aug 2017
avatar brianteeman brianteeman - change - 18 Aug 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-08-18 21:28:06
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment