{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip/issues/2192","repository_url":"https://api.github.com/repos/zulip/zulip","labels_url":"https://api.github.com/repos/zulip/zulip/issues/2192/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/2192/comments","events_url":"https://api.github.com/repos/zulip/zulip/issues/2192/events","html_url":"https://github.com/zulip/zulip/issues/2192","id":186908704,"number":2192,"title":"Check provisioning version in run-dev.py","user":{"login":"showell","id":142908,"avatar_url":"https://avatars.githubusercontent.com/u/142908?v=3","gravatar_id":"","url":"https://api.github.com/users/showell","html_url":"https://github.com/showell","followers_url":"https://api.github.com/users/showell/followers","following_url":"https://api.github.com/users/showell/following{/other_user}","gists_url":"https://api.github.com/users/showell/gists{/gist_id}","starred_url":"https://api.github.com/users/showell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showell/subscriptions","organizations_url":"https://api.github.com/users/showell/orgs","repos_url":"https://api.github.com/users/showell/repos","events_url":"https://api.github.com/users/showell/events{/privacy}","received_events_url":"https://api.github.com/users/showell/received_events","type":"User","site_admin":false},"labels":[{"id":464968181,"url":"https://api.github.com/repos/zulip/zulip/labels/area:%20testing-infrastructure","name":"area: testing-infrastructure","color":"c5def5","default":false},{"id":273621476,"url":"https://api.github.com/repos/zulip/zulip/labels/bite%20size","name":"bite size","color":"bfe5bf","default":false},{"id":265216832,"url":"https://api.github.com/repos/zulip/zulip/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-02T20:17:36Z","updated_at":"2016-11-04T20:22:23Z","closed_at":null,"body":"We should prevent running run-dev.py if your provisioning status is not ok.  You can follow the model in `test-backend` and copy this code to the appropriate place in `run-dev.py`:\r\n\r\n```\r\n    if not options.force:\r\n        ok, msg = get_provisioning_status()\r\n        if not ok: \r\n            print(msg)\r\n            print('If you really know what you are doing, use --force to run anyway.')\r\n            sys.exit(1)\r\n```\r\n\r\nYou will also need to add the appropriate import statement and command line argument handling.  Again, you can use `tools/test-backend` as a model there."},"comment":{"url":"https://api.github.com/repos/zulip/zulip/issues/comments/258537823","html_url":"https://github.com/zulip/zulip/issues/2192#issuecomment-258537823","issue_url":"https://api.github.com/repos/zulip/zulip/issues/2192","id":258537823,"user":{"login":"Shashankagarwal181996","id":11462922,"avatar_url":"https://avatars.githubusercontent.com/u/11462922?v=3","gravatar_id":"","url":"https://api.github.com/users/Shashankagarwal181996","html_url":"https://github.com/Shashankagarwal181996","followers_url":"https://api.github.com/users/Shashankagarwal181996/followers","following_url":"https://api.github.com/users/Shashankagarwal181996/following{/other_user}","gists_url":"https://api.github.com/users/Shashankagarwal181996/gists{/gist_id}","starred_url":"https://api.github.com/users/Shashankagarwal181996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shashankagarwal181996/subscriptions","organizations_url":"https://api.github.com/users/Shashankagarwal181996/orgs","repos_url":"https://api.github.com/users/Shashankagarwal181996/repos","events_url":"https://api.github.com/users/Shashankagarwal181996/events{/privacy}","received_events_url":"https://api.github.com/users/Shashankagarwal181996/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T20:22:23Z","updated_at":"2016-11-04T20:22:23Z","body":"Would you please guide me how to check if the change I did in run-dev.py is working or not."}}
{"actor":{"display_login":"Shashankagarwal181996"}}