You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -75,23 +78,25 @@ We also provide a [JSON template](https://raw.githubusercontent.com/textpattern/
75
78
`stable`, `beta` and `legacy` nodes each require a `version` entry in `semver` format (e.g. `1.3.8`).
76
79
*`downloadUrlTxt` and/or `downloadUrlPhp`:\
77
80
`stable`, `beta` and `legacy` nodes each require at least one of either `downloadUrlTxt` and/or `downloadUrlPhp` nodes to be stated. `downloadUrlTxt` refers to the download URL of the TXT-encoded version of the plugin, `downloadUrlPhp` refers to the download URL of the PHP version of the plugin.
78
-
81
+
*`phpHasManifest`:\
82
+
`stable`, `beta` and `legacy` nodes each require a `phpHasManifest` entry if `downloadUrlPhp` nodes are stated. Boolean values (`1` if the `manifest.json` file exists, otherwise `0`). If a `phpHasManifest` entry is missing, it is assumed the manifest.json file does not exist for that release. When only `downloadUrlTxt` is stated, the `phpHasManifest` entry is not required (and is ignored, if present). For more information on plugin manifest files, [see below](#manifests-for-php-versions-of-plugins).
79
83
80
84
### Example absolute minimum structure
81
85
82
-
This is the absolute minimum that is required in each JSON file. Note that, as described above, `stable` or `beta` could be stated on line 3:
86
+
This is the absolute minimum that is required in each JSON file. Note that, as described above, `stable` or `beta` could be stated on line 3. `phpHasManifest` is required when a `downloadUrlPhp` is stated (not required if only a `downloadUrlTxt` is stated):
One or more code repositories where the the project is maintained. For each entry, a `repoType` and `repoUrl` must be provided. For `repoType` expected values are either `homepage` (i.e. page on an author's website specifically about the plugin), `github`, `bitbucket` or `gitlab`.
@@ -100,6 +105,10 @@ This is the absolute minimum that is required in each JSON file. Note that, as d
100
105
*`legacy`:\
101
106
One or more releases that are specifically for older versions of Textpattern. Each legacy release must be labelled with the maximum version series of Textpattern it worked with. For example `4.6`.
102
107
108
+
### Manifests for PHP versions of plugins
109
+
110
+
TODO
111
+
103
112
### Linting
104
113
105
114
You can run a linter over the JSON files to check validity as follows (requires [Node.js](https://nodejs.org/)):
0 commit comments