{"action":"created","issue":{"url":"https://api.github.com/repos/ruslo/hunter/issues/922","repository_url":"https://api.github.com/repos/ruslo/hunter","labels_url":"https://api.github.com/repos/ruslo/hunter/issues/922/labels{/name}","comments_url":"https://api.github.com/repos/ruslo/hunter/issues/922/comments","events_url":"https://api.github.com/repos/ruslo/hunter/issues/922/events","html_url":"https://github.com/ruslo/hunter/issues/922","id":246711349,"number":922,"title":"Add testing version in local hunter-config file","user":{"login":"NeroBurner","id":9076163,"avatar_url":"https://avatars1.githubusercontent.com/u/9076163?v=4","gravatar_id":"","url":"https://api.github.com/users/NeroBurner","html_url":"https://github.com/NeroBurner","followers_url":"https://api.github.com/users/NeroBurner/followers","following_url":"https://api.github.com/users/NeroBurner/following{/other_user}","gists_url":"https://api.github.com/users/NeroBurner/gists{/gist_id}","starred_url":"https://api.github.com/users/NeroBurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeroBurner/subscriptions","organizations_url":"https://api.github.com/users/NeroBurner/orgs","repos_url":"https://api.github.com/users/NeroBurner/repos","events_url":"https://api.github.com/users/NeroBurner/events{/privacy}","received_events_url":"https://api.github.com/users/NeroBurner/received_events","type":"User","site_admin":false},"labels":[{"id":135659151,"url":"https://api.github.com/repos/ruslo/hunter/labels/discussion","name":"discussion","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-07-31T10:24:46Z","updated_at":"2017-08-01T05:57:29Z","closed_at":null,"body":"I'm trying to add a testing version of a hunter package inside a local hunter-config file\r\n\r\n\r\nin my `cmake/Hunter/config.cmake` file I have the following:\r\n```\r\ninclude(hunter_add_version)\r\nset(foo_version \"0.1.2-testing\")\r\nhunter_add_version(\r\n        PACKAGE_NAME\r\n        foo\r\n        VERSION\r\n        ${foo_version}\r\n        URL\r\n        \"some-url.tar.gz\"\r\n        SHA1\r\n        \"some-sha1-of-package\"\r\n    )\r\nhunter_config(foo\r\n   VERSION ${foo_version}\r\n)\r\n```\r\n\r\nI try to define a new version of an existing hunter package and to immediately use this new testing version\r\n\r\nhunter throws an error while configuring\r\n```\r\n[hunter ** FATAL ERROR **] Version not found: 0.1.2-testing. See 'hunter_config' command.\r\n```"},"comment":{"url":"https://api.github.com/repos/ruslo/hunter/issues/comments/319275827","html_url":"https://github.com/ruslo/hunter/issues/922#issuecomment-319275827","issue_url":"https://api.github.com/repos/ruslo/hunter/issues/922","id":319275827,"user":{"login":"NeroBurner","id":9076163,"avatar_url":"https://avatars1.githubusercontent.com/u/9076163?v=4","gravatar_id":"","url":"https://api.github.com/users/NeroBurner","html_url":"https://github.com/NeroBurner","followers_url":"https://api.github.com/users/NeroBurner/followers","following_url":"https://api.github.com/users/NeroBurner/following{/other_user}","gists_url":"https://api.github.com/users/NeroBurner/gists{/gist_id}","starred_url":"https://api.github.com/users/NeroBurner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeroBurner/subscriptions","organizations_url":"https://api.github.com/users/NeroBurner/orgs","repos_url":"https://api.github.com/users/NeroBurner/repos","events_url":"https://api.github.com/users/NeroBurner/events{/privacy}","received_events_url":"https://api.github.com/users/NeroBurner/received_events","type":"User","site_admin":false},"created_at":"2017-08-01T05:57:29Z","updated_at":"2017-08-01T05:57:29Z","body":"could you elaborate on your example. I don't fully understand it"}}
{"actor":{"display_login":"NeroBurner"}}