File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,11 +10,27 @@ The following is a short step-by-step rundown of what one typically would do to
1010- Feel free to add yourself to AUTHORS file.
1111- Create a pull request.
1212
13+ ## Submission requirements
14+
15+ Every issue and pull request must address a problem that actually occurs in
16+ downstream software using GitPython. Identify the affected software. In the
17+ pull request description, explicitly state the problem the change fixes or link
18+ to an issue that documents it in the affected project's issue tracker. If you
19+ open a GitPython issue, describe what goes wrong in the downstream software.
20+
21+ Proactive performance fixes are exempt from the downstream problem requirement
22+ only if they reduce the asymptotic time complexity.
23+ State the time complexity before and after the change in the PR description
24+ and present benchmark numbers of before and after a possible fix.
25+
26+ Security-related work is exempt from these requirements. Follow the
27+ [ security policy] ( SECURITY.md#reporting-a-vulnerability ) for reporting instructions.
28+
1329## Prefer pull requests
1430
1531Pull requests are preferred when you have a fix or improvement to contribute: a PR
16- can be treated as an issue with a fix attached. Describe the problem and proposed
17- solution in the PR itself; a separate issue is not required .
32+ can be treated as an issue with a fix attached. Describe the proposed solution
33+ in the PR itself; a separate GitPython issue is not desirable .
1834
1935Please avoid opening an issue solely to follow it immediately with a PR that fixes
2036it. Open the PR directly instead. Issues are still welcome for problems without a
Original file line number Diff line number Diff line change @@ -241,10 +241,8 @@ Please have a look at the [contributions file][contributing].
241241- [ Questions and Answers] ( http://stackexchange.com/filters/167317/gitpython )
242242- Please post on Stack Overflow and use the ` gitpython ` tag
243243- [ Issue Tracker] ( https://github.com/gitpython-developers/GitPython/issues )
244- - Post reproducible bugs and feature requests as a new issue when you do not have
245- a fix or need discussion before implementation. If you have a fix or improvement,
246- [ open a pull request directly] ( CONTRIBUTING.md#prefer-pull-requests ) and describe
247- the problem there; you do not need to create an issue first.
244+ - Before opening an issue or pull request, read the
245+ [ submission requirements] ( CONTRIBUTING.md#submission-requirements ) .
248246 Please be sure to provide the following information when reporting bugs in an
249247 issue or PR:
250248 - GitPython version (e.g. ` import git; git.__version__ ` )
You can’t perform that action at this time.
0 commit comments