summaryrefslogtreecommitdiff
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
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.
-rw-r--r--.github/ISSUE_TEMPLATE/01-perlbug-core.md30
-rw-r--r--.github/ISSUE_TEMPLATE/02-perlbug-docs.md14
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.md13
-rw-r--r--.gitignore1
-rwxr-xr-xPorting/Maintainers.pl2
-rwxr-xr-xPorting/makerel2
-rw-r--r--Porting/manicheck1
-rw-r--r--t/porting/manifest.t1
-rw-r--r--utils/.gitignore1
9 files changed, 63 insertions, 2 deletions
diff --git a/.github/ISSUE_TEMPLATE/01-perlbug-core.md b/.github/ISSUE_TEMPLATE/01-perlbug-core.md
new file mode 100644
index 0000000000..b1afee5135
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/01-perlbug-core.md
@@ -0,0 +1,30 @@
+---
+name: Report a Perl 5 Bug
+about: Create a report to help us improve Perl 5
+title: ''
+labels: Needs Triage, bug, severity low
+assignees: ''
+
+---
+<!-- Note: you can also replace the whole content by the file generated by perlbug utility. -->
+
+<!--
+If your bug is about a Perl core module rather than a core language
+feature, please enter its name after.
+-->
+Module:
+
+**Description**
+<!-- A clear and concise description of what the bug is. -->
+
+**Steps to Reproduce**
+<!-- A one-liner or script to reproduce the issue. -->
+
+**Expected behavior**
+<!-- A clear and concise description of what you expected to happen. -->
+
+**Perl configuration**
+<!-- Please paste `perl -V` output just below. -->
+```
+# perl -V output goes here
+```
diff --git a/.github/ISSUE_TEMPLATE/02-perlbug-docs.md b/.github/ISSUE_TEMPLATE/02-perlbug-docs.md
new file mode 100644
index 0000000000..6e6a302f5f
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/02-perlbug-docs.md
@@ -0,0 +1,14 @@
+---
+name: Report a Perl 5 Documentation Issue
+about: Create a report to help us improve Perl 5
+title: '[doc] '
+labels: Needs Triage, bug, documentation, severity low
+assignees: ''
+
+---
+
+**Where**
+<!-- What module, script or perldoc URL needs to be fixed? -->
+
+**Description**
+<!-- Please describe the documentation issue here. -->
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 0000000000..f9d3c09451
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,13 @@
+---
+name: Feature request
+about: Suggest an idea to help us improve Perl 5
+title: "[feature]"
+labels: Feature Request, Needs Triage
+assignees: ''
+
+---
+
+**Please do not report bugs as part of a feature request**
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
diff --git a/.gitignore b/.gitignore
index 7f3b7b1933..36683de00c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,6 +62,7 @@ perldtrace.h
# general build products (darwin)
*.dylib
+*.DS_Store
# general build products (Win32)
*.def
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};
},
}, ".";
diff --git a/t/porting/manifest.t b/t/porting/manifest.t
index 7bed600de5..a1b28c1c12 100644
--- a/t/porting/manifest.t
+++ b/t/porting/manifest.t
@@ -88,6 +88,7 @@ SKIP: {
my %seen; # De-dup ls-files output (can appear more than once)
chomp(my @repo= grep {
!m{\.gitignore$} &&
+ !m{^\.github/} &&
!$seen{$_}++
} `git ls-files`);
skip("git ls-files didnt work",3)
diff --git a/utils/.gitignore b/utils/.gitignore
index 4d7e41dd40..b92275538c 100644
--- a/utils/.gitignore
+++ b/utils/.gitignore
@@ -1,4 +1,5 @@
*
!/.gitignore
+!/.github
!/*.SH
!/*.PL