Skip to content

Commit

Permalink
tool for Coke++
Browse files Browse the repository at this point in the history
  • Loading branch information
perlpilot committed Oct 22, 2015
1 parent a76c349 commit fb39bda
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/release_guide.pod
Expand Up @@ -26,6 +26,10 @@ Names can be gotten from L<http://www.pm.org> if you
canʼt think of one with any particular significance to Perl
6 or Rakudo.

There is a rudimentary tool for discerning available Perl Monger group
names that have not already been used for a release in
F<tools/available-pm-names.p6>

=head2 Steps to create a release (for release managers)

=over 4
Expand Down
8 changes: 8 additions & 0 deletions tools/available-pm-names.p6
@@ -0,0 +1,8 @@
#!/usr/bin/env perl6

use LWP::Simple;

my $json = LWP::Simple.get("http://www.pm.org/groups/perl_mongers.json");
my @pm-names = from-json($json).map:{ $_<name> ~~ s/ '.pm' $//; $_<name> };
my @release-names = grep { / ^ <[A..Z]> \w+ / }, qx{git tag}.lines;
.say for (@pm-names (-) @release-names).map(*.key).sort;

0 comments on commit fb39bda

Please sign in to comment.