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
Labels |
Added:
?
|
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>
Category | ⇒ | Installation |
Status | New | ⇒ | Confirmed |
Rel_Number | 0 | ⇒ | 13789 |
Relation Type | ⇒ | Related to |
Closed as there is a PR
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-18 21:28:06 |
Closed_By | ⇒ | brianteeman |
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