{"action":"created","issue":{"url":"https://api.github.com/repos/renovatebot/renovate/issues/2105","repository_url":"https://api.github.com/repos/renovatebot/renovate","labels_url":"https://api.github.com/repos/renovatebot/renovate/issues/2105/labels{/name}","comments_url":"https://api.github.com/repos/renovatebot/renovate/issues/2105/comments","events_url":"https://api.github.com/repos/renovatebot/renovate/issues/2105/events","html_url":"https://github.com/renovatebot/renovate/issues/2105","id":330910170,"node_id":"MDU6SXNzdWUzMzA5MTAxNzA=","number":2105,"title":"Refactor got use","user":{"login":"rarkins","id":6311784,"node_id":"MDQ6VXNlcjYzMTE3ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6311784?v=4","gravatar_id":"","url":"https://api.github.com/users/rarkins","html_url":"https://github.com/rarkins","followers_url":"https://api.github.com/users/rarkins/followers","following_url":"https://api.github.com/users/rarkins/following{/other_user}","gists_url":"https://api.github.com/users/rarkins/gists{/gist_id}","starred_url":"https://api.github.com/users/rarkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rarkins/subscriptions","organizations_url":"https://api.github.com/users/rarkins/orgs","repos_url":"https://api.github.com/users/rarkins/repos","events_url":"https://api.github.com/users/rarkins/events{/privacy}","received_events_url":"https://api.github.com/users/rarkins/received_events","type":"User","site_admin":false},"labels":[{"id":502599336,"node_id":"MDU6TGFiZWw1MDI1OTkzMzY=","url":"https://api.github.com/repos/renovatebot/renovate/labels/feat","name":"feat","color":"006b75","default":false},{"id":619253225,"node_id":"MDU6TGFiZWw2MTkyNTMyMjU=","url":"https://api.github.com/repos/renovatebot/renovate/labels/pri3-normal","name":"pri3-normal","color":"c2e0c6","default":false},{"id":523660637,"node_id":"MDU6TGFiZWw1MjM2NjA2Mzc=","url":"https://api.github.com/repos/renovatebot/renovate/labels/ready","name":"ready","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"kayoub5","id":1814900,"node_id":"MDQ6VXNlcjE4MTQ5MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1814900?v=4","gravatar_id":"","url":"https://api.github.com/users/kayoub5","html_url":"https://github.com/kayoub5","followers_url":"https://api.github.com/users/kayoub5/followers","following_url":"https://api.github.com/users/kayoub5/following{/other_user}","gists_url":"https://api.github.com/users/kayoub5/gists{/gist_id}","starred_url":"https://api.github.com/users/kayoub5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayoub5/subscriptions","organizations_url":"https://api.github.com/users/kayoub5/orgs","repos_url":"https://api.github.com/users/kayoub5/repos","events_url":"https://api.github.com/users/kayoub5/events{/privacy}","received_events_url":"https://api.github.com/users/kayoub5/received_events","type":"User","site_admin":false},"assignees":[{"login":"kayoub5","id":1814900,"node_id":"MDQ6VXNlcjE4MTQ5MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/1814900?v=4","gravatar_id":"","url":"https://api.github.com/users/kayoub5","html_url":"https://github.com/kayoub5","followers_url":"https://api.github.com/users/kayoub5/followers","following_url":"https://api.github.com/users/kayoub5/following{/other_user}","gists_url":"https://api.github.com/users/kayoub5/gists{/gist_id}","starred_url":"https://api.github.com/users/kayoub5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayoub5/subscriptions","organizations_url":"https://api.github.com/users/kayoub5/orgs","repos_url":"https://api.github.com/users/kayoub5/repos","events_url":"https://api.github.com/users/kayoub5/events{/privacy}","received_events_url":"https://api.github.com/users/kayoub5/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-06-09T18:39:33Z","updated_at":"2018-10-25T14:06:22Z","closed_at":null,"author_association":"COLLABORATOR","body":"Ideas:\r\n- [ ] Stop using `gh-got` and `gl-got` and instead use our own `got` wrapper common for all APIs\r\n- [ ] Perform pagination in this wrapper (controlled via options)\r\n- [ ] Perform authentication in this wrapper\r\n- [ ] Maybe configure/perform retries in this wrapper, if `got`'s own behaviour doesn't suit\r\n- [ ] Perform caching in this layer (e.g. cache all GET requests for duration of repository renovation)\r\n\r\n- [ ] First step would be to remove gh-got/gl-got dependencies. To do that, we need to (a) convert `GITXXX_TOKEN` to `Authorization` header, and (b) pass `json: true` through. Basically a subset of `gh-got`"},"comment":{"url":"https://api.github.com/repos/renovatebot/renovate/issues/comments/433064905","html_url":"https://github.com/renovatebot/renovate/issues/2105#issuecomment-433064905","issue_url":"https://api.github.com/repos/renovatebot/renovate/issues/2105","id":433064905,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzA2NDkwNQ==","user":{"login":"rarkins","id":6311784,"node_id":"MDQ6VXNlcjYzMTE3ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6311784?v=4","gravatar_id":"","url":"https://api.github.com/users/rarkins","html_url":"https://github.com/rarkins","followers_url":"https://api.github.com/users/rarkins/followers","following_url":"https://api.github.com/users/rarkins/following{/other_user}","gists_url":"https://api.github.com/users/rarkins/gists{/gist_id}","starred_url":"https://api.github.com/users/rarkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rarkins/subscriptions","organizations_url":"https://api.github.com/users/rarkins/orgs","repos_url":"https://api.github.com/users/rarkins/repos","events_url":"https://api.github.com/users/rarkins/events{/privacy}","received_events_url":"https://api.github.com/users/rarkins/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T14:06:22Z","updated_at":"2018-10-25T14:06:22Z","author_association":"COLLABORATOR","body":"Waiting on #2423"}}
{"actor":{"display_login":"rarkins"}}