Hi, Is it possible to update a branch listed on a ...
# pact-broker
j
Hi, Is it possible to update a branch listed on a contract? We had a scenario whereby a team did a FF merge with git which preserved the commit sha we are using as version. Because the contract was published initially under a feature branch, the contract does not acknowledge the commit it is now apart of is the main branch but it has all the tags and environments associated as being within the main. I can see this being a problem if some projects are pulling in contracts based on what is available as part of the mainBranch and potentially excluding this case.
b
You can tag/mark any version with multiple branches, so that isn't a problem. Whatever talks to the broker still needs to do that, though. If the problem is that adding more branches to an existing contract version doesn't trigger further verifications, that's a separate issue.