Skip to content

Commit 4bc72d5

Browse files
committed
Add updated information on putting license in META6.json
https://design.perl6.org/S22.html#license
1 parent 0fc39a6 commit 4bc72d5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

doc/Language/modules.pod6

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,19 @@ To share your module, do the following:
461461
you might just use the same one that Rakudo Perl 6 uses. Just
462462
copy/paste the raw form of L<its license|https://github.com/rakudo/rakudo/blob/nom/LICENSE>
463463
into your own C<LICENSE> file.
464+
465+
=item The license field in META6.json
466+
The license field should be one of the standardized names listed here:
467+
https://spdx.org/licenses/, in the case of the B<Artistic 2.0> license which
468+
is what many of our ecosystem modules use, its identifier is
469+
C<Artistic-2.0>. Having standardized identifiers make it easy for humans
470+
and computers alike to know which license was actually used by looking at
471+
the metadata!
472+
473+
=item My license is not on spdx.org or using your own license
474+
If you can't find your license on C<spdx.org> or you use your own license,
475+
you should put the licenses name in the license field, and under
476+
more details here https://design.perl6.org/S22.html#license
464477
465478
=item If you don't yet have any tests, you can leave out the C<t>
466479
directory and C<basic.t> file for now. For more info on how to write
@@ -493,6 +506,7 @@ To share your module, do the following:
493506
"version" : "0.1.0",
494507
"description" : "Wonderful simulation to get some perspective.",
495508
"authors" : [ "R<Your Name>" ],
509+
"license" : "Artistic-2.0",
496510
"provides" : {
497511
"Vortex::TotalPerspective" : "lib/Vortex/TotalPerspective.pm"
498512
},

0 commit comments

Comments
 (0)