summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorNicolas R <atoomic@cpan.org>2019-06-11 11:48:40 -0600
committerNicolas R <atoomic@cpan.org>2019-10-19 11:01:27 +0200
commit79ff1055edda279426b74e4ec66c4a889721443b (patch)
tree2ad6d495bdc39ec59dd5985f681e3ff0f9c270f0 /Porting
parent859b78b1a8287681e524286f4e989b01816433ba (diff)
downloadperl-79ff1055edda279426b74e4ec66c4a889721443b.tar.gz
Add GitHub issue templates
These files should not be in the MANIFEST adjust porting/manifest.t to ignore .github files in addition to .gitignore files.
Diffstat (limited to 'Porting')
-rwxr-xr-xPorting/Maintainers.pl2
-rwxr-xr-xPorting/makerel2
-rw-r--r--Porting/manicheck1
3 files changed, 3 insertions, 2 deletions
diff --git a/Porting/Maintainers.pl b/Porting/Maintainers.pl
index 276e9d2403..06382528e1 100755
--- a/Porting/Maintainers.pl
+++ b/Porting/Maintainers.pl
@@ -16,7 +16,7 @@ use File::Glob qw(:case);
# complain if it can't find them)
@IGNORABLE = qw(
- .cvsignore .dualLivedDiffConfig .gitignore .perlcriticrc .perltidyrc
+ .cvsignore .dualLivedDiffConfig .gitignore .github .perlcriticrc .perltidyrc
.travis.yml ANNOUNCE Announce Artistic AUTHORS BENCHMARK BUGS Build.PL
CHANGELOG ChangeLog Changelog CHANGES Changes CONTRIBUTING CONTRIBUTING.md
CONTRIBUTING.mkdn COPYING Copying cpanfile CREDITS dist.ini GOALS HISTORY
diff --git a/Porting/makerel b/Porting/makerel
index 4fc0d80be0..3e83b8d0ad 100755
--- a/Porting/makerel
+++ b/Porting/makerel
@@ -77,7 +77,7 @@ print "\nMaking a release for $perl in $relroot/$reldir\n\n";
print "Cross-checking the MANIFEST...\n";
($missfile, $missentry) = fullcheck();
@$missentry
- = grep {$_ !~ m!^\.git/! and $_ !~ m!(?:/|^)\.gitignore!} @$missentry;
+ = grep {$_ !~ m!^\.(?:git|github)/! and $_ !~ m!(?:/|^)\.gitignore!} @$missentry;
if (@$missfile ) {
warn "Can't make a release with MANIFEST files missing:\n";
warn "\t".$_."\n" for (@$missfile);
diff --git a/Porting/manicheck b/Porting/manicheck
index b544a12252..e206861f66 100644
--- a/Porting/manicheck
+++ b/Porting/manicheck
@@ -21,6 +21,7 @@ find {
return if -d;
return if $_ eq '.gitignore';
return if $x =~ /^\.git\b/;
+ return if $x =~ m{^\.github/};
print "$x\t\tnot in MANIFEST\n" if !$files{$x};
},
}, ".";