{"action":"opened","issue":{"url":"https://api.github.com/repos/bethesque/pact_broker/issues/25","labels_url":"https://api.github.com/repos/bethesque/pact_broker/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/bethesque/pact_broker/issues/25/comments","events_url":"https://api.github.com/repos/bethesque/pact_broker/issues/25/events","html_url":"https://github.com/bethesque/pact_broker/issues/25","id":68030273,"number":25,"title":"Why does Pact care about the format of the version number?","user":{"login":"BenSayers","id":1734851,"avatar_url":"https://avatars.githubusercontent.com/u/1734851?v=3","gravatar_id":"","url":"https://api.github.com/users/BenSayers","html_url":"https://github.com/BenSayers","followers_url":"https://api.github.com/users/BenSayers/followers","following_url":"https://api.github.com/users/BenSayers/following{/other_user}","gists_url":"https://api.github.com/users/BenSayers/gists{/gist_id}","starred_url":"https://api.github.com/users/BenSayers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenSayers/subscriptions","organizations_url":"https://api.github.com/users/BenSayers/orgs","repos_url":"https://api.github.com/users/BenSayers/repos","events_url":"https://api.github.com/users/BenSayers/events{/privacy}","received_events_url":"https://api.github.com/users/BenSayers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-13T07:35:22Z","updated_at":"2015-04-13T07:35:22Z","closed_at":null,"body":"When trying to upload a Pact file for a new Pacticipant I encountered this error:\r\n```\r\n{\"errors\":[\"Consumer version number '2015-04-13_06-30_39d5d8c919' is not recognised as a standard semantic version. eg. 1.3.0 or 2.0.4.rc1\"]}\r\n```\r\n\r\nDigging through the code I found this validation the version number goes through:\r\n```Ruby\r\ndef invalid_consumer_version_number?\r\n  begin\r\n    Versionomy.parse(consumer_version_number)\r\n    false\r\n  rescue Versionomy::Errors::ParseError => e\r\n    true\r\n  end\r\nend\r\n```\r\n\r\nWhy does the Pact broker need to be opinionated about the version number we use? While I agree that semantic versioning is the preferred way to version code, we have legacy codebases that do not follow this convention and it is not a trivial amount of work to change this. What are your thoughts on relaxing this validation?"}}