{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/go-version/issues/16","repository_url":"https://api.github.com/repos/hashicorp/go-version","labels_url":"https://api.github.com/repos/hashicorp/go-version/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/go-version/issues/16/comments","events_url":"https://api.github.com/repos/hashicorp/go-version/issues/16/events","html_url":"https://github.com/hashicorp/go-version/issues/16","id":161042363,"number":16,"title":"Store and allow retrieval of the string of the version in its original form","user":{"login":"matthew-andrews","id":825088,"avatar_url":"https://avatars.githubusercontent.com/u/825088?v=3","gravatar_id":"","url":"https://api.github.com/users/matthew-andrews","html_url":"https://github.com/matthew-andrews","followers_url":"https://api.github.com/users/matthew-andrews/followers","following_url":"https://api.github.com/users/matthew-andrews/following{/other_user}","gists_url":"https://api.github.com/users/matthew-andrews/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew-andrews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew-andrews/subscriptions","organizations_url":"https://api.github.com/users/matthew-andrews/orgs","repos_url":"https://api.github.com/users/matthew-andrews/repos","events_url":"https://api.github.com/users/matthew-andrews/events{/privacy}","received_events_url":"https://api.github.com/users/matthew-andrews/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-18T20:38:46Z","updated_at":"2016-06-18T20:38:46Z","closed_at":null,"body":"For my use case (a little API that grabs a GitHub repository's tags and then matches semver patterns against it) it would be helpful if there were a way back to the string of the version in its original form.\r\n\r\n```\r\ncurl https://api.mattandre.ws/semver/github/hashicorp/terraform/<v0.5\r\n```\r\n\r\nWith one small tweak, this is very easy to achieve with your `go-version` library, see here:-\r\nhttps://github.com/matthew-andrews/go-version/commit/401ade5081cb0b4f644a0ca51ba58a5ef686b569\r\n\r\nCould this (or something like it) be something you could consider merging into the proper library?"}}
{"actor":{"display_login":"matthew-andrews"}}