Skip to content
Myr

CONTRIBUTING.md

This file

Path

.github/CONTRIBUTING.md

66 lines · 3.4 KiB · Markdown

Last changed by

Fix link to AI Policy in CONTRIBUTING.md (#7576)Yamacbefore adoptiond38495c

History of this file

Take it

The walk stopped after 200 commits: lines older than 8812812 point at it.

Merge pull request #6519 from psf/dependabot/github_actions/actions/checkout-4.0.0Ian Stapleton Cordascobefore adoption8812812

lines 1–3why, one step back
1# Contribution Guidelines
23Before opening any issues or proposing any pull requests, please read

Add AI PolicyIan Stapleton Cordascobefore adoptionc4367f2

line 4why, one step back
4our [Contributor's Guide](https://requests.readthedocs.io/en/latest/dev/contributing/)

Fix link to AI Policy in CONTRIBUTING.md (#7576)Yamacbefore adoptiond38495c

line 5why, one step back
5as well as our [AI Policy](/.github/AI_POLICY.md).

Merge pull request #6519 from psf/dependabot/github_actions/actions/checkout-4.0.0Ian Stapleton Cordascobefore adoption8812812

lines 6–55why, one step back
6
7To get the greatest chance of helpful responses, please also observe the8following additional notes.910## Questions1112The GitHub issue tracker is for *bug reports* and *feature requests*. Please do13not use it to ask questions about how to use Requests. These questions should14instead be directed to [Stack Overflow](https://stackoverflow.com/). Make sure15that your question is tagged with the `python-requests` tag when asking it on16Stack Overflow, to ensure that it is answered promptly and accurately.1718## Good Bug Reports1920Please be aware of the following things when filing bug reports:21221. Avoid raising duplicate issues. *Please* use the GitHub issue search feature23 to check whether your bug report or feature request has been mentioned in24 the past. Duplicate bug reports and feature requests are a huge maintenance25 burden on the limited resources of the project. If it is clear from your26 report that you would have struggled to find the original, that's ok, but27 if searching for a selection of words in your issue title would have found28 the duplicate then the issue will likely be closed extremely abruptly.292. When filing bug reports about exceptions or tracebacks, please include the30 *complete* traceback. Partial tracebacks, or just the exception text, are31 not helpful. Issues that do not contain complete tracebacks may be closed32 without warning.333. Make sure you provide a suitable amount of information to work with. This34 means you should provide:3536 - Guidance on **how to reproduce the issue**. Ideally, this should be a37 *small* code sample that can be run immediately by the maintainers.38 Failing that, let us know what you're doing, how often it happens, what39 environment you're using, etc. Be thorough: it prevents us needing to ask40 further questions.41 - Tell us **what you expected to happen**. When we run your example code,42 what are we expecting to happen? What does "success" look like for your43 code?44 - Tell us **what actually happens**. It's not helpful for you to say "it45 doesn't work" or "it fails". Tell us *how* it fails: do you get an46 exception? A hang? A non-200 status code? How was the actual result47 different from your expected result?48 - Tell us **what version of Requests you're using**, and49 **how you installed it**. Different versions of Requests behave50 differently and have different bugs, and some distributors of Requests51 ship patches on top of the code we supply.5253 If you do not provide all of these things, it will take us much longer to54 fix your problem. If we ask you to clarify these and you never respond, we55 will close your issue without fixing it.

Add AI PolicyIan Stapleton Cordascobefore adoptionc4367f2

lines 56–66why, one step back
56
57## Good Pull Requests58591. Avoid raising duplicate pull requests. *Please* use the GitHub pull request60 search feature to check whether someone else has already filed a pull61 request.622. When filing a pull request, always include tests that fail without your63 changes thus preventing the fix from regressing.643. Always run the test suite locally654. Write commit messages that explain _why_ a change was made beyond "Fixes66 #NNNN". Why is this the right fix? What other options were ruled out? etc.