Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

explicit patch submission instructions #180

Merged
merged 3 commits into from
Sep 26, 2024
Merged

explicit patch submission instructions #180

merged 3 commits into from
Sep 26, 2024

Conversation

shannonpileggi
Copy link
Contributor

closes #177

Copy link
Member

@llrs llrs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry it took me that long to check this. I like the list as it is easy to follow. My major concern is about the "Patch in response to an unreported issue or bug report" section.

@@ -112,9 +112,24 @@ When creating a patch for submission, there are several things that you can do t

## Submitting your patch for review {#SubmitPatches}

1. Patch in response to a pre-existing issue or bug report: In this case, you should attach the patch to the existing issue or bug report on Bugzilla with a brief comment.
### Patch in response to a pre-existing issue or bug report
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like how it is written.


### Patch in response to an unreported issue or bug report

Assuming you already performed a search on Bugzilla for a pre-existing issue or bug and did not find the issue or bug reported, you need to create a new bug report and include your patch with it. Please fill in as much relevant detail as possible to prevent reviewers from having to delay reviewing your patch because of lack of information. Include (mostly as the first sentence), a to-the-point explanation of what the purpose of the patch is. This sentence should not be in the descriptive form, rather an imperative form will be more suitable here. If this is not enough detail for a patch, a new paragraphs(s) can be added to explain in proper depth what has happened. The details should be good enough that a core developer reading it understands the justification for the change.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This paragraph was moved from above, but I think we can improve it too in this PR (feel free to ignore the comments):

  1. Split each sentence in a different line: this will help future diffs to a single sentence.
  2. The content is related to other sections of the book, I would add links to them:
    a) To search on Bugzilla (section 3.3)
    b) How to report a bug (Chapter 4)
    c) How to write a good patch (7.4)

Reconsidering, perhaps splitting this in two sections complicates following the book. Adding a sentence at the end of the "Submitting your patch for review" section highlighting the differences on this PR (without the new third level section) and if it is all in one (open bug report+patch) might be easier...
What do you think?

Copy link
Collaborator

@SaranjeetKaur SaranjeetKaur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one! Thanks @shannonpileggi!

@llrs llrs merged commit 20e5f8c into main Sep 26, 2024
@llrs llrs deleted the shannonpileggi-patch-1 branch September 26, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

explicit patch submission instructions
3 participants