From: Tim Düsterhus Date: Mon, 17 Jan 2022 12:24:19 +0000 (+0100) Subject: Modernize package.xml X-Git-Tag: 5.6.final~53^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=17fc75ce4a092e51314f0ccffa2c1290b47c42d9;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Modernize package.xml --- diff --git a/docs/package/package-xml.md b/docs/package/package-xml.md index d26557d8..c26811cb 100644 --- a/docs/package/package-xml.md +++ b/docs/package/package-xml.md @@ -95,7 +95,7 @@ A list of packages including their version required for this package to work. Example: ```xml -com.woltlab.wcf +com.example.foo ``` The attribute `minversion` must be a valid version number as described in [``](#version). @@ -110,7 +110,7 @@ A list of optional packages which can be selected by the user at the very end of Example: ```xml -com.woltlab.wcf.moderatedUserGroup +com.example.bar ``` The `file` attribute specifies the location of the optional package's archive relative to the `package.xml`. @@ -124,10 +124,10 @@ List of packages which conflict with this package. It is not possible to install Example: ```xml -com.woltlab.wcf +com.woltlab.wcf ``` -The attribute `version` must be a valid version number as described in the [\](#version) section. In the example above it will be impossible to install this package in WoltLab Suite Core 3.1.0 Alpha 1 or higher. +The attribute `version` must be a valid version number as described in the [\](#version) section. In the example above it will be impossible to install this package in WoltLab Suite Core 6.0.0 Alpha 1 or higher. ### `` !!! info "Available since WoltLab Suite 3.1" diff --git a/snippets/package/package.xml b/snippets/package/package.xml index 992231d2..428db038 100644 --- a/snippets/package/package.xml +++ b/snippets/package/package.xml @@ -4,7 +4,7 @@ Simple Package A simple package to demonstrate the package system of WoltLab Suite Core 1.0.0 - 2016-12-18 + 2022-01-17 @@ -13,7 +13,7 @@ - com.woltlab.wcf + com.woltlab.wcf @@ -24,4 +24,4 @@ templates.tar - \ No newline at end of file + diff --git a/snippets/tutorial/basic-app/package.xml b/snippets/tutorial/basic-app/package.xml index b4754e6d..b4842286 100644 --- a/snippets/tutorial/basic-app/package.xml +++ b/snippets/tutorial/basic-app/package.xml @@ -4,8 +4,8 @@ Example App A very basic example of an app. 1 - 3.1.0 - 2018-03-29 + 5.4.0 + 2022-01-17 @@ -14,12 +14,12 @@ - com.woltlab.wcf + com.woltlab.wcf - - - + + com.woltlab.wcf +