[Rev 01] RFR: Add checkout instructions to PR body

Jorn Vernee jvernee at openjdk.java.net
Mon Feb 17 11:16:20 UTC 2020


> Hi,
> 
> I'd like let the pr bot add the fetch comamnd found in the automatic emails to the PR body, so that people using only GitHub can see the instructions as well.
> 
> This adds a new "Instructions" section to the body of the PR message:
> 
>> ## Instructions
>> To checkout these changes locally:
>> ```bash
>> $ git fetch https://git.openjdk.java.net/panama-foreign pull/16/head:pull/16
>> $ git checkout pull/16
>> ```
> 
> Testing:
> - Running `.\gradlew test`
> 
> Any other recommendations for testing this?
> 
> Thanks,
> Jorn

The pull request has been updated with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

-------------

Added commits:
 - 0774b382: Remove some unneeded lines
 - 6b97147e: Update message format after suggestions
 - 94cf7816: Use instance method instead of passing PR as argument
 - e8abf3ff: Add checkout instructions to PR body
 - 2ef003b5: Refactor notifier bot constructors
 - a0b9185b: 279: Optionally only update project-specific issues
 - 7f3f4b2e: 270: Remove ignored reviews from the summary
 - 4c469bf0: Add HostUserDetails::email
 - 57f1d634: Make Host::user return Optional<String>
 - c23c574f: vcs: add support for Mercurial 5.3

Changes:
  - all: https://git.openjdk.java.net/skara/pull/434/files
  - new: https://git.openjdk.java.net/skara/pull/434/files/7de15f5c..0774b382

Webrevs:
 - full: https://webrevs.openjdk.java.net/skara/434/webrev.01
 - incr: https://webrevs.openjdk.java.net/skara/434/webrev.00-01

  Stats: 1006 lines in 28 files changed: 779 ins; 28 del; 199 mod
  Patch: https://git.openjdk.java.net/skara/pull/434.diff
  Fetch: git fetch https://git.openjdk.java.net/skara pull/434/head:pull/434

PR: https://git.openjdk.java.net/skara/pull/434


More information about the skara-dev mailing list