From dd316daf8b52d839851256ead6e639acc8ceb62c Mon Sep 17 00:00:00 2001 From: "ADMSK\\AVROGAL1" Date: Wed, 17 Feb 2021 14:46:38 +0300 Subject: [PATCH] docs: updates on workflows Added information on documentation --- .all-contributorsrc | 9 ++++- .editorconfig | 31 ++++++++++++++ .github/lock.yml | 28 +++++-------- .github/no-response.yml | 15 +++++++ .github/stale.yml | 90 +++++++++++++---------------------------- .vimrc | 7 ++++ README.md | 10 ++++- 7 files changed, 105 insertions(+), 85 deletions(-) create mode 100644 .editorconfig create mode 100644 .github/no-response.yml create mode 100644 .vimrc diff --git a/.all-contributorsrc b/.all-contributorsrc index d6b4099c171..95b391e303a 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -6,8 +6,15 @@ "files": [ "README.md" ], + "types": { + "marketing": { + "symbol": "πŸ’Œ", + "description": "Marketing - People who help in marketing the repo/project" + } + }, "imageSize": 100, - "commit": false, + "commit": true, + "contributorsPerLine": 5, "contributors": [ { "login": "AlexRogalskiy", diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..98cbf42fa47 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,31 @@ +# http://editorconfig.org +root = true + +[*] +indent_size = 2 +# Possible values - tab, space +indent_style = space +# Possible values - lf, crlf, cr +end_of_line = lf +# Possible values - latin1, utf-8, utf-16be, utf-16le +charset = utf-8 +insert_final_newline = true +trim_trailing_whitespace = true +max_line_length = 120 + +[*.js] +indent_size = 2 +max_line_length = 100 + +[*.{yml, yaml}] +indent_size = 2 + +[*.{html, xml}] +indent_size = 4 + +[*.{css, scss, json}] +indent_size = 2 + +[*.{md, markdown}] +max_line_length = off +trim_trailing_whitespace = false diff --git a/.github/lock.yml b/.github/lock.yml index cd809780a1a..ded304589c8 100644 --- a/.github/lock.yml +++ b/.github/lock.yml @@ -1,36 +1,26 @@ # Configuration for lock-threads - https://github.com/dessant/lock-threads # Number of days of inactivity before a closed issue or pull request is locked -daysUntilLock: 60 +daysUntilLock: 180 # Skip issues and pull requests created before a given timestamp. Timestamp must # follow ISO 8601 (`YYYY-MM-DD`). Set to `false` to disable skipCreatedBefore: false -# Issues and pull requests with these labels will not be locked. Set to `[]` to disable -exemptLabels: - - backlog +# Assign `resolved` as the reason for locking. Set to `false` to disable +setLockReason: true # Label to add before locking, such as `outdated`. Set to `false` to disable lockLabel: πŸ”’ Locked # Comment to post before locking. Set to `false` to disable lockComment: > - This thread has been automatically locked because it has not had recent - activity. Please open a new issue for related bugs and link to relevant - comments in this thread. - -# Assign `resolved` as the reason for locking. Set to `false` to disable -setLockReason: true + ⚠️This issue has been automatically locked πŸ”’since there has not been + any recent activity after it was closed. Please open a new πŸ†•issue for related bugs + and mention this issue. Thanks! πŸ‘ +# Issues or pull requests with these labels will not be locked +exemptLabels: + - help-wanted # Limit to only `issues` or `pulls` only: issues - -# Optionally, specify configuration settings just for `issues` or `pulls` -# issues: -# exemptLabels: -# - help-wanted -# lockLabel: outdated - -# pulls: -# daysUntilLock: 30 diff --git a/.github/no-response.yml b/.github/no-response.yml new file mode 100644 index 00000000000..1c8799d1351 --- /dev/null +++ b/.github/no-response.yml @@ -0,0 +1,15 @@ +# Configuration for probot-no-response - https://github.com/probot/no-response + +# Number of days of inactivity before an issue is closed for lack of response +daysUntilClose: 28 + +# Label requiring a response +responseRequiredLabel: more-information-needed + +# Comment to post when closing an issue for lack of response. Set to `false` to disable. +closeComment: > + This issue has been automatically closed because there has been no response + to our request for more information from the original author. With only the + information that is currently in the issue, we don't have enough information + to take action. Please reach out if you have or find the answers we need so + that we can investigate further. diff --git a/.github/stale.yml b/.github/stale.yml index 9b20137ebec..c64ff435eda 100644 --- a/.github/stale.yml +++ b/.github/stale.yml @@ -1,70 +1,34 @@ # Configuration for probot-stale - https://github.com/probot/stale -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 60 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 7 -# Issues with these labels will never be considered stale -exemptLabels: - - pinned - - security -# Label to use when marking an issue as stale -staleLabel: wontfix -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: false - -# Comment to be posted to on first time issues -newIssueWelcomeComment: | - πŸ‘‹ Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure - you include steps to reproduce it. If you're requesting a feature 🎁, please provide real - use cases that would benefit. πŸ‘ͺ +# Number of days of inactivity before an Issue or Pull Request becomes stale +daysUntilStale: 365 - To help make this a smooth process, please be sure you have first read the - [contributing guidelines](https://github.com/AlexRogalskiy/java-patterns/blob/master/.github/CONTRIBUTING.md). +# Number of days of inactivity before a stale Issue or Pull Request is closed +daysUntilClose: 14 -# Comment to be posted to on PRs from first time contributors in your repository -newPRWelcomeComment: | - πŸ’– Thanks for opening this pull request! πŸ’– +# Issues or Pull Requests with these labels will never be considered stale +# exemptLabels: - To help make this a smooth process, please be sure you have first read the - [contributing guidelines](https://github.com/AlexRogalskiy/java-patterns/blob/master/.github/CONTRIBUTING.md). +# Label to use when marking as stale +staleLabel: Stale +# Comment to post when marking as stale. Set to `false` to disable +markComment: > + πŸ‘ Thanks for your contribution! + ⚠️This issue has been automatically marked as stale because it has not had + recent activity. Because the Legesher team treats their issues + [as their backlog](https://en.wikipedia.org/wiki/Scrum_(software_development)#Product_backlog), stale issues + are closed. πŸ“• If you would like this issue to remain open: + 1. Verify that you can still reproduce the issue in the latest version of Atom + 1. Comment that the issue is still reproducible and include: + * What version of Atom you reproduced the issue on + * What OS and version you reproduced the issue on + * What steps you followed to reproduce the issue + Thank you! πŸ‘ +# Comment to post when removing the stale label. Set to `false` to disable +unmarkComment: true -# Comment to be posted to on pull requests merged by a first time user -firstPRMergeComment: > - Congrats on merging your first pull request! πŸŽ‰πŸŽ‰πŸŽ‰ You're helping make Insomnia awesome! πŸ™Œ +# Comment to post when closing a stale Issue or Pull Request. Set to `false` to disable +closeComment: true -# Comment to post when marking as stale. Set to `false` to disable. -issues: - daysUntilStale: 90 - daysUntilClose: 7 - exemptLabels: - - confirmed - markComment: > - Thank you for taking the time to raise this issue. However, it has - not had any activity on it in the past 180 days and will be closed in - 90 days if no updates occur. - Please check if the master branch has already resolved the issue - since it was raised. If you believe the issue is still valid and you - would like input from the maintainers then please comment to ask for - it to be reviewed. - closeComment: > - This issue has been automatically closed due to inactivity. Please re-open - if this still requires investigation. -pulls: - daysUntilStale: 90 - daysUntilClose: 30 - markComment: > - Thank you for your contribution! However, this pull request has not - had any activity in the past 180 days and will be closed in 90 days if - no updates occur. - If you believe the changes are still valid then please verify your - branch has no conflicts with master and rebase if needed. If you - are awaiting a (re-)review then please let us know. - closeComment: > - This pull request has been automatically closed due to inactivity. Please re-open - if these changes are still required. +# Limit to only `issues` or `pulls` +only: issues diff --git a/.vimrc b/.vimrc new file mode 100644 index 00000000000..bb4f9025899 --- /dev/null +++ b/.vimrc @@ -0,0 +1,7 @@ +set tabstop=2 +set shiftwidth=2 +set softtabstop=2 +set expandtab +set nosmarttab + +set textwidth=80 diff --git a/README.md b/README.md index c7d40739c65..6f693413f42 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,13 @@ with community support please contact with us if you have some question or propo [![Contributors Display](https://badges.pufler.dev/contributors/AlexRogalskiy/java-patterns?size=50&padding=5&bots=true)](https://badges.pufler.dev) -Please read [CONTRIBUTING.md](https://github.com/AlexRogalskiy/java-patterns/blob/master/.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us. +Please read +[CONTRIBUTING.md](https://github.com/AlexRogalskiy/java-patterns/blob/master/.github/CONTRIBUTING.md) +for details on our code of conduct, and the process for submitting pull requests to us +([emoji key](https://allcontributors.org/docs/en/emoji-key)). + +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) +specification. Contributions of any kind are welcome! [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) ![Github contributors](https://img.shields.io/github/all-contributors/AlexRogalskiy/java-patterns) @@ -436,4 +442,4 @@ Like