-
-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a diff endpoint for comparing two arbitrary versions of a Pact #190
Comments
I've always had this in the back of my mind to do, but you're the first person to actually ask for it. It should be quite easy. I can't get on to it right now because I've sworn not to do any more broker code until pact message is done, but I'll get on to it as soon as I can. Happy to accept PRs if you're interested. |
Love this idea! |
@bethesque Great to hear! 😃
I've never used Ruby in anger; I can't promise anything, but I can give it a shot. |
I've thrown together some developer docs that should help https://github.com/pact-foundation/pact_broker/blob/master/CONTRIBUTING.md |
This is done. See the |
Similar to the existing
previous-distinct
endpoint, but allowing arbitrary versions of a Pact to be diff'ed.This would come in particularly handy for us, where we want to send—as part of our CI/CD pipeline—Slack notifications to the provider team if a consumer team pushes a new version of the pact that is different from
latest/prod
.The endpoint URI to get the diff between
<version_a>
and<version_b>
could be something likeIdeally,
would also be available.
The text was updated successfully, but these errors were encountered: