pact-foundation / roadmap

Developer Relations @ Pact - Your map to the Pact landscape for all-comers (maintainers, contributors, users, newbies)
https://pact.io/
MIT License
41 stars 7 forks source link

Allow version selectors to specify tags with regex #65

Open canny[bot] opened 4 months ago

canny[bot] commented 4 months ago

This would return all consumer pacts with tags that matches the provided regex. Adding this would allow consumers and providers to coordinate development with known branch patterns ex: tagPattern: .*-new-feature Would return any pact that has a tag suffix of -new-feature

https://pact.canny.io/admin/board/feature-requests/p/allow-version-selectors-to-specify-tags-with-regex

canny[bot] commented 4 months ago

This issue has been linked to a Canny post: Allow version selectors to specify tags with regex :tada:

YOU54F commented 4 months ago

Kyle Florence - August 5, 2021

We do this currently with an in-house solution since we are on a monorepo and it's easiest to manage deploys with separate branches for consumer and provider changes. In our case, we match on "pact=(\w+)" for branches like "feature/service/foo/pact=foo_bar_20210131/TICKET-123".