core icon indicating copy to clipboard operation
core copied to clipboard

Use CI for preview of PRs

Open PetarKirov opened this issue 8 years ago • 1 comments

Similar to DAutoTest, but simpler to implement: https://github.com/rejectedsoftware/ddox/blob/v0.16.0/travis-ci.sh#L23

PetarKirov avatar May 22 '17 00:05 PetarKirov

With our current low load of PRs it's imho easier to just use the GH feature to clone the PR directly from upstream, e.g.

~/.gitconfig

[alias]
pr  = "!f() { git fetch -fu ${2:-upstream} refs/pull/$1/head:pr/$1 && git checkout pr/$1; }; f"

and then:

git pr 5150 dub

It takes usually less than a minute ;-)

wilzbach avatar May 22 '17 12:05 wilzbach