earthaccess icon indicating copy to clipboard operation
earthaccess copied to clipboard

Link to examples of high quality pull requests in the pull request template

Open mfisher87 opened this issue 1 year ago • 8 comments

For example, #278 does a great job of providing a complete usage example, and our PR template can guide others to do the same!

mfisher87 avatar Jul 09 '24 17:07 mfisher87

@mfisher87 Hey, do you have specific opinions on how we can approach this? I Think for solving this we need to have some PR'S that follow rules form PR template and we'll then just have to link to those PR'S.

Sherwin-14 avatar Jul 11 '24 14:07 Sherwin-14

The hard part is finding those PRs :) I don't know that we'll find one "perfect PR" that ticks all the boxes easily, but maybe we can find PRs that exemplify specific things from the list? For example, we have this checklist item:

  • [ ] Populate a descriptive title. For example, instead of "Updated README.md", use a title such as "Add testing details to the contributor section of the README".

Instead of ... such as "Add testing details ..., we could find a PR with a clear and concise title and use that as the example, and continue to find other PRs that have stellar examples of the other qualities we're looking for. What do you think?

mfisher87 avatar Jul 11 '24 15:07 mfisher87

I will try to come up with a PR that follows the rubric. I think if we are able to encompass all the rules of the rubric in one single PR that would be great. I know it's the ideal case and it may not be plausible at this point in time but I think we should try!

Sherwin-14 avatar Jul 11 '24 15:07 Sherwin-14

That sounds great! Thanks for being willing to dive deep on this! :heart:

mfisher87 avatar Jul 11 '24 16:07 mfisher87

That sounds great! Thanks for being willing to dive deep on this! ❤️

@mfisher87 Can we use the PR for backwards compatibility as an Ideal PR?

Sherwin-14 avatar Sep 18 '24 07:09 Sherwin-14

I think so! Based on this comment, which of our PR checklist items do you feel that PR sets a good example for?

mfisher87 avatar Sep 18 '24 14:09 mfisher87

I feel my PR has proper methodology, what I mean by that is that you will have to make changes to CHANGELOG before making a PR which I guess is something that people contributing for the first time might look over. Also I feel I could have done better with some of the titles of my commits but I think they are not too bad(they are descriptive enough). These are some of things I can remember at this point in time.

Sherwin-14 avatar Sep 18 '24 16:09 Sherwin-14

That sounds reasonable! Would you be willing to open a PR to modify our PR template? I'm thinking maybe we could add the example PR links as sub-bullets of the checklist items e.g.

https://github.com/nsidc/earthaccess/blob/bb553e17c98ea3ef4d07316ea651cca02af71713/.github/pull_request_template.md?plain=1#L35-L37

mfisher87 avatar Sep 19 '24 00:09 mfisher87