From 9089622a1744f6fbed4d863f1ff39f5302361895 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Tue, 12 Nov 2019 17:29:31 +0100 Subject: [PATCH] Generalize github templates --- .github/CODE_OF_CONDUCT.md | 3 +++ .github/CONTRIBUTING.md | 3 +++ ...{3_Feature_request.md => 2_Feature_request.md} | 0 .github/ISSUE_TEMPLATE/2_Support_question.md | 15 --------------- .github/ISSUE_TEMPLATE/4_Documentation_issue.md | 9 --------- .github/ISSUE_TEMPLATE/config.yml | 8 ++++++++ SECURITY.md => .github/SECURITY.md | 0 .github/SUPPORT.md | 11 ++--------- CODE_OF_CONDUCT.md | 9 --------- CONTRIBUTING.md | 3 --- README.md | 4 ++-- 11 files changed, 18 insertions(+), 47 deletions(-) create mode 100644 .github/CODE_OF_CONDUCT.md create mode 100644 .github/CONTRIBUTING.md rename .github/ISSUE_TEMPLATE/{3_Feature_request.md => 2_Feature_request.md} (100%) delete mode 100644 .github/ISSUE_TEMPLATE/2_Support_question.md delete mode 100644 .github/ISSUE_TEMPLATE/4_Documentation_issue.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml rename SECURITY.md => .github/SECURITY.md (100%) delete mode 100644 CODE_OF_CONDUCT.md delete mode 100644 CONTRIBUTING.md diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md new file mode 100644 index 000000000000..92b5bf56d3a9 --- /dev/null +++ b/.github/CODE_OF_CONDUCT.md @@ -0,0 +1,3 @@ +# Code of Conduct + +The Laravel Code of Conduct can be found in the [Laravel documentation](https://laravel.com/docs/contributions#code-of-conduct). diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md new file mode 100644 index 000000000000..246ffb5c7e47 --- /dev/null +++ b/.github/CONTRIBUTING.md @@ -0,0 +1,3 @@ +# Laravel Contribution Guide + +The Laravel contributing guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). diff --git a/.github/ISSUE_TEMPLATE/3_Feature_request.md b/.github/ISSUE_TEMPLATE/2_Feature_request.md similarity index 100% rename from .github/ISSUE_TEMPLATE/3_Feature_request.md rename to .github/ISSUE_TEMPLATE/2_Feature_request.md diff --git a/.github/ISSUE_TEMPLATE/2_Support_question.md b/.github/ISSUE_TEMPLATE/2_Support_question.md deleted file mode 100644 index 9616815b0fbd..000000000000 --- a/.github/ISSUE_TEMPLATE/2_Support_question.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -name: "🧐 Support Question" -about: 'This repository is only for reporting bugs or problems. If you need help, see: - https://github.com/laravel/laravel#learning-laravel' - ---- - -This repository is only for reporting bugs or issues. If you need support, please use the forums: - -- https://laracasts.com/discuss -- https://laravel.io/forum - -Alternatively, you may use Slack (https://larachat.co/), Discord (https://discordapp.com/invite/mPZNm7A), or Stack Overflow (http://stackoverflow.com/questions/tagged/laravel). - -Thanks! diff --git a/.github/ISSUE_TEMPLATE/4_Documentation_issue.md b/.github/ISSUE_TEMPLATE/4_Documentation_issue.md deleted file mode 100644 index 450aff6fc797..000000000000 --- a/.github/ISSUE_TEMPLATE/4_Documentation_issue.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -name: "📚 Documentation Issue" -about: 'For documentation issues, open a pull request at https://github.com/laravel/docs' - ---- - -The Laravel documentation has its own dedicated repository. Please open a pull request at https://github.com/laravel/docs to correct the issue you have found. - -Thanks! diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000000..0f039119b8a3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Support question + url: https://laravel.com/docs/contributions#support-questions + about: 'This repository is only for reporting bugs. If you need help using the library, click:' + - name: Documentation issue + url: https://github.com/laravel/docs + about: For documentation issues, open a pull request at the laravel/docs repository diff --git a/SECURITY.md b/.github/SECURITY.md similarity index 100% rename from SECURITY.md rename to .github/SECURITY.md diff --git a/.github/SUPPORT.md b/.github/SUPPORT.md index ce842be7e32b..f0877fc27c24 100644 --- a/.github/SUPPORT.md +++ b/.github/SUPPORT.md @@ -1,10 +1,3 @@ -# Support +# Support Questions -This repository is only for reporting bugs or issues. If you need support, please use the forums: - -- https://laracasts.com/discuss -- https://laravel.io/forum - -Alternatively, you may use [Slack](https://larachat.co/), [Discord](https://discordapp.com/invite/mPZNm7A), or [Stack Overflow](http://stackoverflow.com/questions/tagged/laravel). - -Thanks! +The Laravel support guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions#support-questions). diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md deleted file mode 100644 index d217c600f443..000000000000 --- a/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,9 +0,0 @@ -The Laravel code of conduct is derived from the Ruby code of conduct. Any violations of the code of conduct may be reported to Taylor Otwell (taylor@laravel.com). - -- Participants will be tolerant of opposing views. - -- Participants must ensure that their language and actions are free of personal attacks and disparaging personal remarks. - -- When interpreting the words and actions of others, participants should always assume good intentions. - -- Behavior which can be reasonably considered harassment will not be tolerated. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 98a384624702..000000000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,3 +0,0 @@ -# Laravel Contribution Guide - -Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). diff --git a/README.md b/README.md index 1e065a9511dd..5e1f6e6cd23f 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Thank you for considering contributing to the Laravel framework! The contributio ## Code of Conduct -In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](CODE_OF_CONDUCT.md). +In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). ## Security Vulnerabilities @@ -42,4 +42,4 @@ Please review [our security policy](https://github.com/laravel/framework/securit ## License -The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). +The Laravel framework is open-sourced software licensed under the [MIT license](LICENSE.md).