{"action":"created","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/570","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/570/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/570/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/570/events","html_url":"https://github.com/mesonbuild/meson/issues/570","id":157369196,"number":570,"title":"Add project option for API version","user":{"login":"arteymix","id":1318477,"avatar_url":"https://avatars.githubusercontent.com/u/1318477?v=3","gravatar_id":"","url":"https://api.github.com/users/arteymix","html_url":"https://github.com/arteymix","followers_url":"https://api.github.com/users/arteymix/followers","following_url":"https://api.github.com/users/arteymix/following{/other_user}","gists_url":"https://api.github.com/users/arteymix/gists{/gist_id}","starred_url":"https://api.github.com/users/arteymix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arteymix/subscriptions","organizations_url":"https://api.github.com/users/arteymix/orgs","repos_url":"https://api.github.com/users/arteymix/repos","events_url":"https://api.github.com/users/arteymix/events{/privacy}","received_events_url":"https://api.github.com/users/arteymix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-29T04:50:02Z","updated_at":"2016-05-29T18:45:30Z","closed_at":"2016-05-29T18:41:19Z","body":"It would be very handy to have an `api_version` option in `project` as well as a getter in the `meson` object. That would be used to name Vala bindings, GIR files, header folders, etc...\r\n\r\n```python\r\nproject('project', 'c', version: '0.2.3', api_version: '0.2')\r\n\r\ninstall_header('project.h', install_dir: 'project-' + meson.get_project_api_version())\r\n```\r\n\r\nIt should default to the `MAJOR.MINOR` part of the project version.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/comments/222376070","html_url":"https://github.com/mesonbuild/meson/issues/570#issuecomment-222376070","issue_url":"https://api.github.com/repos/mesonbuild/meson/issues/570","id":222376070,"user":{"login":"nirbheek","id":75801,"avatar_url":"https://avatars.githubusercontent.com/u/75801?v=3","gravatar_id":"","url":"https://api.github.com/users/nirbheek","html_url":"https://github.com/nirbheek","followers_url":"https://api.github.com/users/nirbheek/followers","following_url":"https://api.github.com/users/nirbheek/following{/other_user}","gists_url":"https://api.github.com/users/nirbheek/gists{/gist_id}","starred_url":"https://api.github.com/users/nirbheek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirbheek/subscriptions","organizations_url":"https://api.github.com/users/nirbheek/orgs","repos_url":"https://api.github.com/users/nirbheek/repos","events_url":"https://api.github.com/users/nirbheek/events{/privacy}","received_events_url":"https://api.github.com/users/nirbheek/received_events","type":"User","site_admin":false},"created_at":"2016-05-29T18:45:30Z","updated_at":"2016-05-29T18:45:30Z","body":"There's some docs here:\r\n\r\nhttps://github.com/mesonbuild/meson/wiki/Syntax#strings\r\n\r\nBut it's a bit incomplete. I'll fix that now."}}
{"actor":{"display_login":"nirbheek"}}