update issue templates and contributing guide
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parent fbe33ba · Browse files · 3 files·+42 added−51 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+42 added−51 removed
- other:+42 added−51 removed
Provenance
- Commit
9cd022f- Tree
5be3399- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
fbe33ba
3 files changed+42 added−51 removed
modified:.github/ISSUE_TEMPLATE/bug-report.md+14 added-26 removed
2 unmodified lines345678910789121314151610111213141520161718192220212223242526242528293031323334353637383926272 unmodified linesabout: Report a bug in Click (not other projects which depend on Click)---
<!--This issue tracker is a tool to address bugs in Click itself.Please use the #pocoo IRC channel on freenode, the Discord server orStack Overflow for general questions about using Flask or issuesnot related to Click.This issue tracker is a tool to address bugs in Click itself. Please usePallets Discord or Stack Overflow for questions about your own code.
If you'd like to report a bug in Click, fill out the template below. Provideany extra information that may be useful / related to your problem.Ideally, create an [MCVE](https://stackoverflow.com/help/mcve), which helps usunderstand the problem and helps check that it is not caused by something inyour code.Replace this comment with a clear outline of what the bug is.-->
<!--Describe how to replicate the bug.
### Expected BehaviorInclude a minimal reproducible example that demonstrates the bug.Include the full traceback if there was an exception.-->
Tell us what should happen.<!--Describe the expected behavior that should have happened but didn't.-->
```pythonPaste a minimal example that causes the problem.```Environment:
### Actual Behavior
Tell us what happens instead.
```pytbPaste the full traceback if there was an exception.```
### Environment
* Python version:* Click version:- Python version:- Click version:modified:.github/pull_request_template.md+11 added-6 removed
1134234567898101112131114151614171819202122237 unmodified lines
<!--Before opening a PR, open a ticket describing the issue or feature the PR will address. Follow the steps in CONTRIBUTING.rst.Replace this comment with a description of the change. Describe how it addresses the linked ticket.Before opening a PR, open a ticket describing the issue or feature thePR will address. Follow the steps in CONTRIBUTING.rst.
Replace this comment with a description of the change. Describe how itaddresses the linked ticket.-->
<!--Link to relevant issues or previous PRs, one per line. Use "fixes" to automatically close an issue.Link to relevant issues or previous PRs, one per line. Use "fixes" toautomatically close an issue.-->
- Fixes #<issue number>- fixes #<issue number>
<!--Ensure each step in CONTRIBUTING.rst is complete by adding an "x" to each box below.Ensure each step in CONTRIBUTING.rst is complete by adding an "x" toeach box below.
If only docs were changed, these aren't relevant and can be removed.-->
Checklist:7 unmodified linesmodified:CONTRIBUTING.rst+17 added-19 removed
5 unmodified lines6 7 Support questions8 -----------------9 10-Please, don't use the issue tracker for this. The issue tracker is a11-tool to address bugs and feature requests in Click itself. Use one of12-the following resources for questions about using Click or issues with13-your own code:10+Please don't use the issue tracker for this. The issue tracker is a tool11+to address bugs and feature requests in Click itself. Use one of the12+following resources for questions about using Click or issues with your13+own code:14 15 - The ``#get-help`` channel on our Discord chat:16- https://discord.gg/t6rrQZH16+ https://discord.gg/pallets17 - The mailing list flask@python.org for long term discussion or larger18 issues.19 - Ask on `Stack Overflow`_. Search with Google first using:20 ``site:stackoverflow.com python click {search term, exception message, etc.}``21 22-.. _Stack Overflow: https://stackoverflow.com/questions/tagged/python-click?sort=linked22+.. _Stack Overflow: https://stackoverflow.com/questions/tagged/python-click?tab=Frequent23 24 25 Reporting issues26 ----------------5 unmodified lines32 identify the issue. This also helps check that the issue is not with33 your own code.34 - Describe what actually happened. Include the full traceback if there35 was an exception.36-- List your Python and Click. If possible, check if this issue is37- already fixed in the latest releases or the latest code in the38- repository.36+- List your Python and Click versions. If possible, check if this37+ issue is already fixed in the latest releases or the latest code in38+ the repository.39 40 .. _minimal reproducible example: https://stackoverflow.com/help/minimal-reproducible-example41 42 63 unmodified lines106 .. code-block:: text107 108 > env\Scripts\activate109 110-- Install the development dependencies, then install Click in editable111- mode. This order is important, otherwise you'll get the wrong112- version of Click.110+- Install the development dependencies, then install Click in111+ editable mode.112 113 .. code-block:: text114 116- $ pip install -r requirements/dev.txt117- $ pip install -e .115+ $ pip install -r requirements/dev.txt && pip install -e .116 117 - Install the pre-commit hooks.118 119 .. code-block:: text120 121 $ pre-commit install122 123 .. _latest version of git: https://git-scm.com/downloads126-.. _username: https://help.github.com/en/articles/setting-your-username-in-git127-.. _email: https://help.github.com/en/articles/setting-your-commit-email-address-in-git124+.. _username: https://docs.github.com/en/github/using-git/setting-your-username-in-git125+.. _email: https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address126 .. _GitHub account: https://github.com/join129-.. _Fork: https://github.com/pallets/click/fork130-.. _Clone: https://help.github.com/en/articles/fork-a-repo#step-2-create-a-local-clone-of-your-fork127+.. _Fork: https://github.com/pallets/jinja/fork128+.. _Clone: https://docs.github.com/en/github/getting-started-with-github/fork-a-repo#step-2-create-a-local-clone-of-your-fork129 130 131 Start coding132 ~~~~~~~~~~~~27 unmodified lines160 161 $ git push --set-upstream fork your-branch-name162 163 .. _committing as you go: https://dont-be-afraid-to-commit.readthedocs.io/en/latest/git/commandlinegit.html#commit-your-changes166-.. _create a pull request: https://help.github.com/en/articles/creating-a-pull-request164+.. _create a pull request: https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request165 166 167 Running the tests168 ~~~~~~~~~~~~~~~~~48 unmodified lines