Skip to content

Commit f4b2339

Browse files
committed
Renamed "patch" to "pull request"
Django hasn't used patches in earnest in probably a decade, it's time to move on with the reality.
1 parent a8774ab commit f4b2339

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

trac-env/conf/trac.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@ easy = checkbox
207207
easy.label = Easy pickings
208208
easy.order = 60
209209
has_patch = checkbox
210-
has_patch.label = Has patch
210+
has_patch.label = Has pull request
211211
has_patch.order = 20
212212
needs_better_patch = checkbox
213-
needs_better_patch.label = Patch needs improvement
213+
needs_better_patch.label = Pull request needs improvement
214214
needs_better_patch.order = 50
215215
needs_better_patch.value = 0
216216
needs_docs = checkbox

trac-env/htdocs/tickethacks.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -187,44 +187,44 @@ $(function() {
187187
if (!has_patch) {
188188
next_steps.push(
189189
"<a href='https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/'>" +
190-
"To provide a patch</a> by sending a pull request. " +
190+
"To send a pull request</a>. " +
191191
"<a href='https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/#claiming-tickets'>" +
192192
"Claim the ticket</a> when you start working so that someone else doesn't duplicate effort. " +
193193
"Before sending a pull request, review your work against the <a href='" +
194194
"https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/#patch-review-checklist'>" +
195-
"patch review checklist</a>. " +
196-
"Check the \"Has patch\" flag on the ticket after sending a pull request and " +
195+
"contribution review checklist</a>. " +
196+
"Check the \"Has pull request\" flag on the ticket after sending a pull request and " +
197197
include_link_to_pr_msg
198198
);
199199
} else {
200200
if (needs_tests) {
201-
next_steps.push('To add tests to the patch, then uncheck the "Needs tests" flag on the ticket.');
201+
next_steps.push('To add tests to the pull request, then uncheck the "Needs tests" flag on the ticket.');
202202
}
203203
if (needs_docs) {
204-
next_steps.push('To write documentation for the patch, then uncheck "Needs documentation" on the ticket.');
204+
next_steps.push('To write documentation for the pull request, then uncheck "Needs documentation" on the ticket.');
205205
}
206206
if (patch_needs_improvement) {
207207
next_steps.push(
208-
"To improve the patch as described in the pull request review " +
208+
"To improve the pull request as described in the pull request review " +
209209
"comments or on this ticket, then uncheck \"Patch needs improvement\"."
210210
);
211211
}
212212
if (!needs_tests && !needs_docs && !patch_needs_improvement) {
213213
next_steps.push(
214-
'For anyone except the patch author to review the patch using the ' +
214+
'For anyone except the pull request author to review the pull request using the ' +
215215
'<a href="https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/submitting-patches/#patch-review-checklist">' +
216-
'patch review checklist</a> and either ' +
216+
'pull request review checklist</a> and either ' +
217217
'mark the ticket as "Ready for checkin" if everything looks good, ' +
218218
'or leave comments for improvement and mark the ticket as ' +
219-
'"Patch needs improvement".'
219+
'"Pull request needs improvement".'
220220
);
221221
} else {
222222
next_steps.push("<p>If creating a new pull request, " + include_link_to_pr_msg);
223223
}
224224
}
225225
} else if (stage == 'Ready for checkin') {
226226
next_steps.push(
227-
'For a Django committer to do a final review of the patch and merge ' +
227+
'For a Django committer to do a final review of the pull request and merge ' +
228228
'it if all looks good.'
229229
);
230230
} else if (stage == 'Someday/Maybe') {
@@ -234,7 +234,7 @@ $(function() {
234234
'<p>It could be an issue that\'s blocked until a future version of Django ' +
235235
'(if so, Keywords will contain that version number). It could also ' +
236236
'be an enhancement request that we might consider adding someday to the framework ' +
237-
'if an excellent patch is submitted.</p>' +
237+
'if an excellent contribution is submitted.</p>' +
238238
'<p>If you\'re interested in contributing to the issue, ' +
239239
'raising your ideas on the <a href="http://groups.google.com/group/django-developers">django-developers</a> ' +
240240
'mailing list certainly wouldn\'t hurt.<p>'

0 commit comments

Comments
 (0)