buildpipe-buildkite-plugin icon indicating copy to clipboard operation
buildpipe-buildkite-plugin copied to clipboard

Diff Command for GitHub Rebase Merge Strategy

Open bradbarrow opened this issue 3 years ago • 0 comments

Hi folks.

We recently swapped our repo over to use GitHub's rebase strategy for PR merges and noted that the default diff command for buildpipe doesn't work anymore (as noted in the docs).

Before re-inventing the wheel - wondering if the Buildpipe community has solved for a diff command for this scenario yet and whether we might document different suggested diff commands for the different strategies.

First thought is to rely on git tags for the diffing the default branch HEAD to a prior build but the risk of drift is a little concerning.

Anyone encountered this and come up with an elegant solution?

Thanks

P.S I'd have preferred to submit this as a discussion rather than an issue - happy to be redirected to a different forum. Thanks :)

bradbarrow avatar Oct 19 '21 06:10 bradbarrow