{"action":"created","issue":{"url":"https://api.github.com/repos/openfaas/openfaas-cloud/issues/235","repository_url":"https://api.github.com/repos/openfaas/openfaas-cloud","labels_url":"https://api.github.com/repos/openfaas/openfaas-cloud/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/openfaas/openfaas-cloud/issues/235/comments","events_url":"https://api.github.com/repos/openfaas/openfaas-cloud/issues/235/events","html_url":"https://github.com/openfaas/openfaas-cloud/pull/235","id":364002758,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4Mjk2NjQ4","number":235,"title":"WIP: Added private repo label for private functions","user":{"login":"bartsmykla","id":11655498,"node_id":"MDQ6VXNlcjExNjU1NDk4","avatar_url":"https://avatars1.githubusercontent.com/u/11655498?v=4","gravatar_id":"","url":"https://api.github.com/users/bartsmykla","html_url":"https://github.com/bartsmykla","followers_url":"https://api.github.com/users/bartsmykla/followers","following_url":"https://api.github.com/users/bartsmykla/following{/other_user}","gists_url":"https://api.github.com/users/bartsmykla/gists{/gist_id}","starred_url":"https://api.github.com/users/bartsmykla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartsmykla/subscriptions","organizations_url":"https://api.github.com/users/bartsmykla/orgs","repos_url":"https://api.github.com/users/bartsmykla/repos","events_url":"https://api.github.com/users/bartsmykla/events{/privacy}","received_events_url":"https://api.github.com/users/bartsmykla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-26T12:26:11Z","updated_at":"2018-09-26T15:20:22Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/openfaas/openfaas-cloud/pulls/235","html_url":"https://github.com/openfaas/openfaas-cloud/pull/235","diff_url":"https://github.com/openfaas/openfaas-cloud/pull/235.diff","patch_url":"https://github.com/openfaas/openfaas-cloud/pull/235.patch"},"body":"If function was build from private github repository it will receive\r\nlabel com.openfaas.cloud.git-private-repo=true\r\n\r\nSigned-off-by: Bart Smykla <bsmykla@vmware.com>\r\n\r\n## Description\r\n\r\n\r\n## How Has This Been Tested?\r\nWIP\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\n\r\n\r\n## How are existing users impacted? What migration steps/scripts do we need?\r\n\r\n\r\n\r\n## Checklist:\r\n\r\nI have:\r\n\r\n- [ ] updated the documentation and/or roadmap (if required)\r\n- [x] read the [CONTRIBUTION](https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md) guide\r\n- [x] signed-off my commits with `git commit -s`\r\n- [ ] added unit tests\r\n"},"comment":{"url":"https://api.github.com/repos/openfaas/openfaas-cloud/issues/comments/424756407","html_url":"https://github.com/openfaas/openfaas-cloud/pull/235#issuecomment-424756407","issue_url":"https://api.github.com/repos/openfaas/openfaas-cloud/issues/235","id":424756407,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDc1NjQwNw==","user":{"login":"bartsmykla","id":11655498,"node_id":"MDQ6VXNlcjExNjU1NDk4","avatar_url":"https://avatars1.githubusercontent.com/u/11655498?v=4","gravatar_id":"","url":"https://api.github.com/users/bartsmykla","html_url":"https://github.com/bartsmykla","followers_url":"https://api.github.com/users/bartsmykla/followers","following_url":"https://api.github.com/users/bartsmykla/following{/other_user}","gists_url":"https://api.github.com/users/bartsmykla/gists{/gist_id}","starred_url":"https://api.github.com/users/bartsmykla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartsmykla/subscriptions","organizations_url":"https://api.github.com/users/bartsmykla/orgs","repos_url":"https://api.github.com/users/bartsmykla/repos","events_url":"https://api.github.com/users/bartsmykla/events{/privacy}","received_events_url":"https://api.github.com/users/bartsmykla/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T15:20:22Z","updated_at":"2018-09-26T15:20:22Z","author_association":"MEMBER","body":"It's WIP, because it's not working. It's assuming that `event` inside builldsiprun will have information if repo is private or not, but inside `getEvent` function there is no notion if the repository is private, so I was looking at env vars which can tell if it's private or not, but without success for now."}}
{"actor":{"display_login":"bartsmykla"}}