You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/01/22 20:11:16 UTC

[logging-log4j2] branch release-2.x updated: Clean-up GitHub templates

This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git


The following commit(s) were added to refs/heads/release-2.x by this push:
     new 17c46a1f3f Clean-up GitHub templates
17c46a1f3f is described below

commit 17c46a1f3f8190e04ef765fe74d5a6afd30fcdfe
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Sun Jan 22 21:12:23 2023 +0100

    Clean-up GitHub templates
---
 .github/ISSUE_TEMPLATE/bug_report.md      | 27 ++++++---------------------
 .github/ISSUE_TEMPLATE/feature_request.md | 17 +----------------
 .github/ISSUE_TEMPLATE/question.md        | 15 ---------------
 .github/pull_request_template.md          | 17 +----------------
 pom.xml                                   |  5 ++++-
 5 files changed, 12 insertions(+), 69 deletions(-)

diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index e8cd74467f..bc1d782d3c 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -1,18 +1,3 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
 ---
 name: Bug report
 about: Submit a bug report
@@ -20,15 +5,15 @@ about: Submit a bug report
 
 ## Description
 
-&lsqb;A clear and concise description of what the bug is.&rsqb;
+[A clear and concise description of what the bug is.]
 
 ## Configuration
 
-**Version:** &lsqb;Log4j version&rsqb;
+**Version:** [Log4j version]
 
-**Operating system:** &lsqb;OS and version&rsqb;
+**Operating system:** [OS and version]
 
-**JDK:** &lsqb;JDK distribution and version&rsqb;
+**JDK:** [JDK distribution and version]
 
 ## Logs
 
@@ -38,5 +23,5 @@ about: Submit a bug report
 
 ## Reproduction
 
-&lsqb;An isolated test reproducing the test.
-JUnit tests similar to the ones in the code base are extremely appreciated.&rsqb;
+[An isolated test reproducing the test.
+JUnit tests similar to the ones in the code base are extremely appreciated.]
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index d015abe908..57770a1e59 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -1,18 +1,3 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
 ---
 name: Feature request
 about: Submit a feature request
@@ -21,4 +6,4 @@ about: Submit a feature request
 **Warning!**
 It is highly recommended to discuss feature requests in [the mailing lists](https://logging.apache.org/log4j/2.x/support.html) first.
 
-&lsqb;A clear and concise description of feature requested.&rsqb;
+[A clear and concise description of the feature requested.]
diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md
index f64cccd16f..33c2d469ef 100644
--- a/.github/ISSUE_TEMPLATE/question.md
+++ b/.github/ISSUE_TEMPLATE/question.md
@@ -1,18 +1,3 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
 ---
 name: Question
 about: Ask a question
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 0df7a26fbf..7b0db3918c 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -1,19 +1,4 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-#      http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-&lsqb;A clear and concise description of what the pull request is for along with a reference to the associated issue IDs, if they exist.&rsqb;
+[A clear and concise description of what the pull request is for along with a reference to the associated issue IDs, if they exist.]
 
 ## Checklist
 
diff --git a/pom.xml b/pom.xml
index 43448c779d..96b76ecc94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1439,11 +1439,14 @@
             <exclude>**/rabbitmq.config</exclude>
             <exclude>**/MANIFEST.MF</exclude>
             <exclude>.surefire-*</exclude>
+            <!-- License headers in GitHub templates pollute the prompt displayed to the user: -->
+            <exclude>.github/ISSUE_TEMPLATE/*.md</exclude>
+            <exclude>.github/pull_request_template.md</exclude>
           </excludes>
         </configuration>
         <executions>
           <execution>
-            <phase>verify</phase>
+            <phase>validate</phase>
             <goals>
               <goal>check</goal>
             </goals>