@@ -172,20 +172,35 @@ not being able to test Perl 6 distributions (yet)).
172
172
The META6.json file is a JSON-file that must at least contain a C<perl>,
173
173
C<name>, C<version> and C<description> section.
174
174
175
+ First, we need to define a few terms:
176
+
177
+ =over
178
+
179
+ =item Version string
180
+
181
+ A quoted string that one would pass to C<Version.new>, e.g. "6.c".
182
+ This B<should not> be prefixed with "v" (unless your package has a really weird
183
+ versioning scheme, but please try not to do that).
184
+
185
+ =back
186
+
175
187
=head3 meta6
176
188
177
- Optional. The version of the META6.json schema in use, as a quoted Version
178
- literal (without the "v" prefix). If omitted a default value of "0" is assumed,
179
- which means the file conforms to S22 version 6 (i.e. pre-v6.c format).
189
+ Optional. L</Version string> of the META6.json schema in use. If omitted a default
190
+ value of "0" is assumed, which means the file conforms to S22 version 6 (i.e.
191
+ pre-v6.c format).
180
192
181
193
=head3 perl
182
194
183
195
Mandatory. The minimal perl version for which this distribution can be
184
- installed. Specified as a version string. So:
196
+ installed. Specified as a L</Version string> . So:
185
197
186
- "perl" : "v6.0.1 "
198
+ "perl" : "6.d "
187
199
188
- would not allow installation on Perl version 6.0.0.
200
+ would not allow installation on Perl implementations that only support v6.c.
201
+
202
+ (Prior to I<meta6 v1>, the example here made reference to "v6.0.1", but that
203
+ numeric scheme has long since been abandoned.)
189
204
190
205
=head3 name
191
206
@@ -197,10 +212,13 @@ be:
197
212
198
213
=head3 version
199
214
200
- Mandatory. The version literal for this distribution. An example of this
201
- would be:
215
+ Mandatory. The L</Version string> for the distribution as a whole. An example
216
+ of this would be:
217
+
218
+ "version" : "1.23"
202
219
203
- "version" : "v1.23"
220
+ (Prior to I<meta6 v1>, the format here wasn't explicit. All kinds of different
221
+ formats have been seen in the wild, including C<"*">.)
204
222
205
223
=head3 description
206
224
0 commit comments