Move community files under .github/ (#5206)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Hugo van Kemenade · committed by Seth Michael Larson · parent a9ee0ee · Browse files · 6 files·+153 added−156 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
6 files+153 added−156 removed
- other:+153 added−156 removed
Provenance
- Commit
d2f65af- Tree
f8e5bd8- Author
Hugo van Kemenade <hugovk@users.noreply.github.com>- Committer
Seth Michael Larson <sethmichaellarson@gmail.com>- Parent
a9ee0ee
6 files changed+153 added−156 removed
added:.github/CODE_OF_CONDUCT.md+3 added
123Be cordial or be on your way.
https://www.kennethreitz.org/essays/be-cordial-or-be-on-your-wayadded:.github/CONTRIBUTING.md+57 added
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657# Contribution Guidelines
Before opening any issues or proposing any pull requests, please do thefollowing:
1. Read our [Contributor's Guide](https://requests.readthedocs.io/en/latest/dev/contributing/).2. Understand our [development philosophy](https://requests.readthedocs.io/en/latest/dev/philosophy/).
To get the greatest chance of helpful responses, please also observe thefollowing additional notes.
## Questions
The GitHub issue tracker is for *bug reports* and *feature requests*. Please donot use it to ask questions about how to use Requests. These questions shouldinstead be directed to [Stack Overflow](https://stackoverflow.com/). Make surethat your question is tagged with the `python-requests` tag when asking it onStack Overflow, to ensure that it is answered promptly and accurately.
## Good Bug Reports
Please be aware of the following things when filing bug reports:
1. Avoid raising duplicate issues. *Please* use the GitHub issue search feature to check whether your bug report or feature request has been mentioned in the past. Duplicate bug reports and feature requests are a huge maintenance burden on the limited resources of the project. If it is clear from your report that you would have struggled to find the original, that's ok, but if searching for a selection of words in your issue title would have found the duplicate then the issue will likely be closed extremely abruptly.2. When filing bug reports about exceptions or tracebacks, please include the *complete* traceback. Partial tracebacks, or just the exception text, are not helpful. Issues that do not contain complete tracebacks may be closed without warning.3. Make sure you provide a suitable amount of information to work with. This means you should provide:
- Guidance on **how to reproduce the issue**. Ideally, this should be a *small* code sample that can be run immediately by the maintainers. Failing that, let us know what you're doing, how often it happens, what environment you're using, etc. Be thorough: it prevents us needing to ask further questions. - Tell us **what you expected to happen**. When we run your example code, what are we expecting to happen? What does "success" look like for your code? - Tell us **what actually happens**. It's not helpful for you to say "it doesn't work" or "it fails". Tell us *how* it fails: do you get an exception? A hang? A non-200 status code? How was the actual result different from your expected result? - Tell us **what version of Requests you're using**, and **how you installed it**. Different versions of Requests behave differently and have different bugs, and some distributors of Requests ship patches on top of the code we supply.
If you do not provide all of these things, it will take us much longer to fix your problem. If we ask you to clarify these and you never respond, we will close your issue without fixing it.added:.github/SECURITY.md+93 added
1+# Vulnerability Disclosure2+3+4+5+If you think you have found a potential security vulnerability in6+requests, please email7+`sigmavirus24 <mailto:graffatcolmingov@gmail.com>`\_ and8+`Nate <mailto:nate.prewitt@gmail.com>`\_ directly. **Do not file a9+public issue.**10+11+Our PGP Key fingerprints are:12+13+- 0161 BB7E B208 B5E0 4FDC 9F81 D9DA 0A04 9113 F853 (@sigmavirus24)14+15+- 8722 7E29 AD9C FF5C FAC3 EA6A 44D3 FF97 B80D C864 (@nateprewitt)16+17+If English is not your first language, please try to describe the18+problem and its impact to the best of your ability. For greater detail,19+please use your native language and we will try our best to translate it20+using online services.21+22+Please also include the code you used to find the problem and the23+shortest amount of code necessary to reproduce it.24+25+Please do not disclose this to anyone else. We will retrieve a CVE26+identifier if necessary and give you full credit under whatever name or27+alias you provide. We will only request an identifier when we have a fix28+and can publish it in a release.29+30+We will respect your privacy and will only publicize your involvement if31+you grant us permission.32+33+## Process34+35+This following information discusses the process the requests project36+follows in response to vulnerability disclosures. If you are disclosing37+a vulnerability, this section of the documentation lets you know how we38+will respond to your disclosure.39+40+### Timeline41+42+When you report an issue, one of the project members will respond to you43+within two days *at the outside*. In most cases responses will be44+faster, usually within 12 hours. This initial response will at the very45+least confirm receipt of the report.46+47+If we were able to rapidly reproduce the issue, the initial response48+will also contain confirmation of the issue. If we are not, we will49+often ask for more information about the reproduction scenario.50+51+Our goal is to have a fix for any vulnerability released within two52+weeks of the initial disclosure. This may potentially involve shipping53+an interim release that simply disables function while a more mature fix54+can be prepared, but will in the vast majority of cases mean shipping a55+complete release as soon as possible.56+57+Throughout the fix process we will keep you up to speed with how the fix58+is progressing. Once the fix is prepared, we will notify you that we59+believe we have a fix. Often we will ask you to confirm the fix resolves60+the problem in your environment, especially if we are not confident of61+our reproduction scenario.62+63+At this point, we will prepare for the release. We will obtain a CVE64+number if one is required, providing you with full credit for the65+discovery. We will also decide on a planned release date, and let you66+know when it is. This release date will *always* be on a weekday.67+68+At this point we will reach out to our major downstream packagers to69+notify them of an impending security-related patch so they can make70+arrangements. In addition, these packagers will be provided with the71+intended patch ahead of time, to ensure that they are able to promptly72+release their downstream packages. Currently the list of people we73+actively contact *ahead of a public release* is:74+75+- Jeremy Cline, Red Hat (@jeremycline)76+- Daniele Tricoli, Debian (@eriol)77+78+We will notify these individuals at least a week ahead of our planned79+release date to ensure that they have sufficient time to prepare. If you80+believe you should be on this list, please let one of the maintainers81+know at one of the email addresses at the top of this article.82+83+On release day, we will push the patch to our public repository, along84+with an updated changelog that describes the issue and credits you. We85+will then issue a PyPI release containing the patch.86+87+At this point, we will publicise the release. This will involve mails to88+mailing lists, Tweets, and all other communication mechanisms available89+to the core team.90+91+We will also explicitly mention which commits contain the fix to make it92+easier for other distributors and users to easily patch their own93+versions of requests if upgrading is not an option.deleted:CODE_OF_CONDUCT.md-3 removed
123Be cordial or be on your way.
https://www.kennethreitz.org/essays/be-cordial-or-be-on-your-waydeleted:CONTRIBUTING.md-57 removed
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657# Contribution Guidelines
Before opening any issues or proposing any pull requests, please do thefollowing:
1. Read our [Contributor's Guide](https://requests.readthedocs.io/en/latest/dev/contributing/).2. Understand our [development philosophy](https://requests.readthedocs.io/en/latest/dev/philosophy/).
To get the greatest chance of helpful responses, please also observe thefollowing additional notes.
## Questions
The GitHub issue tracker is for *bug reports* and *feature requests*. Please donot use it to ask questions about how to use Requests. These questions shouldinstead be directed to [Stack Overflow](https://stackoverflow.com/). Make surethat your question is tagged with the `python-requests` tag when asking it onStack Overflow, to ensure that it is answered promptly and accurately.
## Good Bug Reports
Please be aware of the following things when filing bug reports:
1. Avoid raising duplicate issues. *Please* use the GitHub issue search feature to check whether your bug report or feature request has been mentioned in the past. Duplicate bug reports and feature requests are a huge maintenance burden on the limited resources of the project. If it is clear from your report that you would have struggled to find the original, that's ok, but if searching for a selection of words in your issue title would have found the duplicate then the issue will likely be closed extremely abruptly.2. When filing bug reports about exceptions or tracebacks, please include the *complete* traceback. Partial tracebacks, or just the exception text, are not helpful. Issues that do not contain complete tracebacks may be closed without warning.3. Make sure you provide a suitable amount of information to work with. This means you should provide:
- Guidance on **how to reproduce the issue**. Ideally, this should be a *small* code sample that can be run immediately by the maintainers. Failing that, let us know what you're doing, how often it happens, what environment you're using, etc. Be thorough: it prevents us needing to ask further questions. - Tell us **what you expected to happen**. When we run your example code, what are we expecting to happen? What does "success" look like for your code? - Tell us **what actually happens**. It's not helpful for you to say "it doesn't work" or "it fails". Tell us *how* it fails: do you get an exception? A hang? A non-200 status code? How was the actual result different from your expected result? - Tell us **what version of Requests you're using**, and **how you installed it**. Different versions of Requests behave differently and have different bugs, and some distributors of Requests ship patches on top of the code we supply.
If you do not provide all of these things, it will take us much longer to fix your problem. If we ask you to clarify these and you never respond, we will close your issue without fixing it.deleted:SECURITY.md-96 removed
1-Vulnerability Disclosure2-========================3-4-.. image::5-https://farm5.staticflickr.com/4211/34709353644\_b041e9e1c2\_k\_d.jpg6-7-If you think you have found a potential security vulnerability in8-requests, please email9-`sigmavirus24 <mailto:graffatcolmingov@gmail.com>`\_ and10-`Nate <mailto:nate.prewitt@gmail.com>`\_ directly. **Do not file a11-public issue.**12-13-Our PGP Key fingerprints are:14-15-- 0161 BB7E B208 B5E0 4FDC 9F81 D9DA 0A04 9113 F853 (@sigmavirus24)16-17-- 8722 7E29 AD9C FF5C FAC3 EA6A 44D3 FF97 B80D C864 (@nateprewitt)18-19-If English is not your first language, please try to describe the20-problem and its impact to the best of your ability. For greater detail,21-please use your native language and we will try our best to translate it22-using online services.23-24-Please also include the code you used to find the problem and the25-shortest amount of code necessary to reproduce it.26-27-Please do not disclose this to anyone else. We will retrieve a CVE28-identifier if necessary and give you full credit under whatever name or29-alias you provide. We will only request an identifier when we have a fix30-and can publish it in a release.31-32-We will respect your privacy and will only publicize your involvement if33-you grant us permission.34-35-Process36--------37-38-This following information discusses the process the requests project39-follows in response to vulnerability disclosures. If you are disclosing40-a vulnerability, this section of the documentation lets you know how we41-will respond to your disclosure.42-43-Timeline \~\~\~\~\~\~\~\~44-45-When you report an issue, one of the project members will respond to you46-within two days *at the outside*. In most cases responses will be47-faster, usually within 12 hours. This initial response will at the very48-least confirm receipt of the report.49-50-If we were able to rapidly reproduce the issue, the initial response51-will also contain confirmation of the issue. If we are not, we will52-often ask for more information about the reproduction scenario.53-54-Our goal is to have a fix for any vulnerability released within two55-weeks of the initial disclosure. This may potentially involve shipping56-an interim release that simply disables function while a more mature fix57-can be prepared, but will in the vast majority of cases mean shipping a58-complete release as soon as possible.59-60-Throughout the fix process we will keep you up to speed with how the fix61-is progressing. Once the fix is prepared, we will notify you that we62-believe we have a fix. Often we will ask you to confirm the fix resolves63-the problem in your environment, especially if we are not confident of64-our reproduction scenario.65-66-At this point, we will prepare for the release. We will obtain a CVE67-number if one is required, providing you with full credit for the68-discovery. We will also decide on a planned release date, and let you69-know when it is. This release date will *always* be on a weekday.70-71-At this point we will reach out to our major downstream packagers to72-notify them of an impending security-related patch so they can make73-arrangements. In addition, these packagers will be provided with the74-intended patch ahead of time, to ensure that they are able to promptly75-release their downstream packages. Currently the list of people we76-actively contact *ahead of a public release* is:77-78-- Jeremy Cline, Red Hat (@jeremycline)79-- Daniele Tricoli, Debian (@eriol)80-81-We will notify these individuals at least a week ahead of our planned82-release date to ensure that they have sufficient time to prepare. If you83-believe you should be on this list, please let one of the maintainers84-know at one of the email addresses at the top of this article.85-86-On release day, we will push the patch to our public repository, along87-with an updated changelog that describes the issue and credits you. We88-will then issue a PyPI release containing the patch.89-90-At this point, we will publicise the release. This will involve mails to91-mailing lists, Tweets, and all other communication mechanisms available92-to the core team.93-94-We will also explicitly mention which commits contain the fix to make it95-easier for other distributors and users to easily patch their own96-versions of requests if upgrading is not an option.