Skip to content
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

Issue: Cannot supply multiple files to pact-verifier #32

Merged
merged 2 commits into from
Jul 16, 2017

Conversation

SimKev2
Copy link
Contributor

@SimKev2 SimKev2 commented Jun 24, 2017

  • Updated '--pact-urls' to be a single comma separated string argument
  • Added '--pact-url' which can be specified multiple times

Fixing #21

Note that this will break any existing versions that are using multiple --pact-urls arguments

@matthewbalvanz-wf

@bethesque
Copy link
Member

When making a change to a public API, it's good practice to provide an upgrade path that does not break any existing users. You could maintain the existing pact_urls in parallel with pact_url, but print a deprecation warning to let the user know to change to the new format. The old pact_urls would then be removed in the next major release, according to semantic versioning practice.

@SimKev2 SimKev2 force-pushed the pacturls branch 2 times, most recently from fbfb657 to 01d6261 Compare June 25, 2017 01:08
@SimKev2
Copy link
Contributor Author

SimKev2 commented Jun 25, 2017

@bethesque Good idea. I re-enabled multiple for --pact-urls and added some comments that it can be removed in major version 1.0.0

@bethesque
Copy link
Member

👍

SimKev2 added 2 commits June 27, 2017 17:01
 - Updated '--pact-urls' to be a single comma separated string argument
 - Added '--pact-url' which can be specified multiple times
 - PR: Added deprecation warning instead of making api-breaking change
@SimKev2
Copy link
Contributor Author

SimKev2 commented Jun 27, 2017

Rebased onto master to fix the new version stuff @matthewbalvanz-wf

@matthewbalvanz-wf matthewbalvanz-wf merged commit 223ea76 into pact-foundation:master Jul 16, 2017
@SimKev2 SimKev2 deleted the pacturls branch July 23, 2017 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants