question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Discussion about PR contribution best practices

See original GitHub issue

Some new best practices were introduced into https://github.com/corona-warn-app/cwa-website/blob/master/CONTRIBUTING.md#pull-request-checklist recently (see below).

I’d like to start this thread as an open discussion to help collaboration and implementing the best practices.


Pull Request Checklist

  • Use a git GUI interface if you are new to git. It will help you getting familiar with the basic submission workflow.

  • Branch from the master branch and also target master with your Pull Request.

  • Commits should be as small as possible while ensuring that each commit is correct independently (i.e., each commit should compile and pass tests).

    • If you notice a small error in your latest commit, you should amend fixes instead of creating a new commit.
    • If you make several related fixup commits in a row, you should squash them into a single commit.
    • Use restore operations if you want to revert a change in a commit.
  • Create Draft pull requests only if you need clarification or an explicit review before you can continue your work item.

  • If your patch is not getting reviewed or you need a specific person to review it, you can @-reply a reviewer asking for a review in the pull request or a comment, or you can ask for a review by contacting us via email.

  • Post review:

    • Integrate the requested changes into your submission.
    • Set respective comments in your GitHub review to resolved.
    • Rebase your PR to the latest upstream master branch.
    • Create a general PR comment to notify the reviewers that your amendments are ready for another round of review.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
larswmhcommented, Aug 10, 2021

@MikeMcC399 sorry for not following best practices, I’m still learning and will give my best to follow them from now on. I’m not a member of the Open Source Team, I get my information from other people who then assign tasks to me.

2reactions
MikeMcC399commented, Jul 31, 2021

After merging the master branch into a open PR, pulling it locally then adding a commit, GitHub Desktop wouldn’t let me squash. I had to rebase on master then I could squash and force push to origin. Still learning here 🙂 !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best Practices in Public Relations
Make sure your PR campaign matches those requirements. Support creativity with traditional tactics.
Read more >
Chapter 12: Best Practices for Excellence in Public Relations
Studying these factors of effectiveness and excellence tells us how public relations, ideally, should be conducted in order to achieve the best results....
Read more >
7 Basic (Yet Brilliant) Examples of PR Tactics That Work - Prowly
The best examples of PR tactics to leverage · 1. Using press releases to spread the word · 2. Targeting local TV stations...
Read more >
Five Benefits Of Using PR And How It Can Assist Your Business
Effective PR can boost your company's online presence through being featured on a variety of popular websites and other media platforms. This ...
Read more >
101 Public Relations Strategies, Tips and Examples
The best type of PR is the one that comes from others. What your staff, customers and suppliers say about you is very...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found