{"action":"opened","number":616,"pull_request":{"url":"https://api.github.com/repos/mineral-ui/mineral-ui/pulls/616","id":175503964,"html_url":"https://github.com/mineral-ui/mineral-ui/pull/616","diff_url":"https://github.com/mineral-ui/mineral-ui/pull/616.diff","patch_url":"https://github.com/mineral-ui/mineral-ui/pull/616.patch","issue_url":"https://api.github.com/repos/mineral-ui/mineral-ui/issues/616","number":616,"state":"open","locked":false,"title":"test(happo): Update to happo v1.0","user":{"login":"trotzig","id":578277,"avatar_url":"https://avatars2.githubusercontent.com/u/578277?v=4","gravatar_id":"","url":"https://api.github.com/users/trotzig","html_url":"https://github.com/trotzig","followers_url":"https://api.github.com/users/trotzig/followers","following_url":"https://api.github.com/users/trotzig/following{/other_user}","gists_url":"https://api.github.com/users/trotzig/gists{/gist_id}","starred_url":"https://api.github.com/users/trotzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotzig/subscriptions","organizations_url":"https://api.github.com/users/trotzig/orgs","repos_url":"https://api.github.com/users/trotzig/repos","events_url":"https://api.github.com/users/trotzig/events{/privacy}","received_events_url":"https://api.github.com/users/trotzig/received_events","type":"User","site_admin":false},"body":"### Description\r\n\r\nRecent updates on happo.io and the happo.io client has made the CI\r\nintegration a bit simpler. Instead of having to write your own CI\r\nscript, ready-made scripts are included in the happo.io npm client. The\r\none for Travis, `happo-ci-travis` [1] is the one we're going to use. It\r\nis mostly just a straight up copy-paste of what we used to have in\r\nscripts/happo-ci.sh, with a few adjustments to make it more generic and\r\na little more robust.\r\n\r\nThe comment posting is no longer needed. Happo will automatically post a\r\nbuild status back to the PR. If there are diffs, Happo will show a\r\n\"failure\". If there are no diffs, the Happo status is green. In order to\r\nturn a failed Happo status into a success, you go to the\r\ndetails/comparison page and hit the (newly added) success button at the\r\ntop. Happo will then post back a green status to the PR.\r\n\r\nWith the new status, there's no longer a need for the comment posted to\r\nthe PR. So I removed that bit of code, including the dependency on the\r\n`github` client (which is now `@octokit/rest` by the way).\r\n\r\nThe pre-release/rc version will be updated to a proper release as soon\r\nas I've seen this script in action a bit more. I'll push a separate PR\r\nfollowing up with that change later.\r\n\r\n[1] https://github.com/enduire/happo.io/blob/master/bin/happo-ci-travis\r\n\r\n### Motivation and context\r\n\r\nWe no longer have to maintain our own complicated happo scripts, including posting back status to the PR. \r\n\r\n### Screenshots, videos, or demo, if appropriate\r\n\r\n<img width=\"424\" alt=\"Happo status on a PR on github.com\" src=\"https://user-images.githubusercontent.com/578277/37517722-9bc904c6-2912-11e8-8052-357579077857.png\">\r\n\r\n<img width=\"786\" alt=\"Happo status inside happo.io\" src=\"https://user-images.githubusercontent.com/578277/37517833-fe8f3e68-2912-11e8-9e8d-5c75d20596aa.png\">\r\n\r\n### How to test\r\n\r\nSince happo tests aren't run on outside PRs, I think it might be best for someone with push access to convert it to a PR posted from inside the project. That way, we can make sure things are okay before merging. \r\n\r\n### Types of changes\r\n\r\nMainly a refactor.\r\n\r\n### How does this PR make you feel?\r\n\r\n![Sweden qualifies for the World Cup](https://media.giphy.com/media/26u4cr0ttdswXKgNy/giphy.gif)\r\n","created_at":"2018-03-16T11:14:19Z","updated_at":"2018-03-16T11:14:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mineral-ui/mineral-ui/pulls/616/commits","review_comments_url":"https://api.github.com/repos/mineral-ui/mineral-ui/pulls/616/comments","review_comment_url":"https://api.github.com/repos/mineral-ui/mineral-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mineral-ui/mineral-ui/issues/616/comments","statuses_url":"https://api.github.com/repos/mineral-ui/mineral-ui/statuses/e6839ecd9bd847e52459e74d9a29fd0d2dc7b80a","head":{"label":"trotzig:happo-github-status","ref":"happo-github-status","sha":"e6839ecd9bd847e52459e74d9a29fd0d2dc7b80a","user":{"login":"trotzig","id":578277,"avatar_url":"https://avatars2.githubusercontent.com/u/578277?v=4","gravatar_id":"","url":"https://api.github.com/users/trotzig","html_url":"https://github.com/trotzig","followers_url":"https://api.github.com/users/trotzig/followers","following_url":"https://api.github.com/users/trotzig/following{/other_user}","gists_url":"https://api.github.com/users/trotzig/gists{/gist_id}","starred_url":"https://api.github.com/users/trotzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotzig/subscriptions","organizations_url":"https://api.github.com/users/trotzig/orgs","repos_url":"https://api.github.com/users/trotzig/repos","events_url":"https://api.github.com/users/trotzig/events{/privacy}","received_events_url":"https://api.github.com/users/trotzig/received_events","type":"User","site_admin":false},"repo":{"id":109265089,"name":"mineral-ui","full_name":"trotzig/mineral-ui","owner":{"login":"trotzig","id":578277,"avatar_url":"https://avatars2.githubusercontent.com/u/578277?v=4","gravatar_id":"","url":"https://api.github.com/users/trotzig","html_url":"https://github.com/trotzig","followers_url":"https://api.github.com/users/trotzig/followers","following_url":"https://api.github.com/users/trotzig/following{/other_user}","gists_url":"https://api.github.com/users/trotzig/gists{/gist_id}","starred_url":"https://api.github.com/users/trotzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotzig/subscriptions","organizations_url":"https://api.github.com/users/trotzig/orgs","repos_url":"https://api.github.com/users/trotzig/repos","events_url":"https://api.github.com/users/trotzig/events{/privacy}","received_events_url":"https://api.github.com/users/trotzig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trotzig/mineral-ui","description":"A design system and React component library for the web brought to you by CA Technologies.","fork":true,"url":"https://api.github.com/repos/trotzig/mineral-ui","forks_url":"https://api.github.com/repos/trotzig/mineral-ui/forks","keys_url":"https://api.github.com/repos/trotzig/mineral-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trotzig/mineral-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trotzig/mineral-ui/teams","hooks_url":"https://api.github.com/repos/trotzig/mineral-ui/hooks","issue_events_url":"https://api.github.com/repos/trotzig/mineral-ui/issues/events{/number}","events_url":"https://api.github.com/repos/trotzig/mineral-ui/events","assignees_url":"https://api.github.com/repos/trotzig/mineral-ui/assignees{/user}","branches_url":"https://api.github.com/repos/trotzig/mineral-ui/branches{/branch}","tags_url":"https://api.github.com/repos/trotzig/mineral-ui/tags","blobs_url":"https://api.github.com/repos/trotzig/mineral-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trotzig/mineral-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trotzig/mineral-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/trotzig/mineral-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trotzig/mineral-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/trotzig/mineral-ui/languages","stargazers_url":"https://api.github.com/repos/trotzig/mineral-ui/stargazers","contributors_url":"https://api.github.com/repos/trotzig/mineral-ui/contributors","subscribers_url":"https://api.github.com/repos/trotzig/mineral-ui/subscribers","subscription_url":"https://api.github.com/repos/trotzig/mineral-ui/subscription","commits_url":"https://api.github.com/repos/trotzig/mineral-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/trotzig/mineral-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/trotzig/mineral-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/trotzig/mineral-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/trotzig/mineral-ui/contents/{+path}","compare_url":"https://api.github.com/repos/trotzig/mineral-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trotzig/mineral-ui/merges","archive_url":"https://api.github.com/repos/trotzig/mineral-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trotzig/mineral-ui/downloads","issues_url":"https://api.github.com/repos/trotzig/mineral-ui/issues{/number}","pulls_url":"https://api.github.com/repos/trotzig/mineral-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/trotzig/mineral-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/trotzig/mineral-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trotzig/mineral-ui/labels{/name}","releases_url":"https://api.github.com/repos/trotzig/mineral-ui/releases{/id}","deployments_url":"https://api.github.com/repos/trotzig/mineral-ui/deployments","created_at":"2017-11-02T12:58:06Z","updated_at":"2018-03-16T10:33:42Z","pushed_at":"2018-03-16T11:06:06Z","git_url":"git://github.com/trotzig/mineral-ui.git","ssh_url":"git@github.com:trotzig/mineral-ui.git","clone_url":"https://github.com/trotzig/mineral-ui.git","svn_url":"https://github.com/trotzig/mineral-ui","homepage":"http://mineral-ui.com","size":6033,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mineral-ui:master","ref":"master","sha":"ed1cd69a2eb6d74a58a171af73bb1d6efd5d5a6f","user":{"login":"mineral-ui","id":27220460,"avatar_url":"https://avatars1.githubusercontent.com/u/27220460?v=4","gravatar_id":"","url":"https://api.github.com/users/mineral-ui","html_url":"https://github.com/mineral-ui","followers_url":"https://api.github.com/users/mineral-ui/followers","following_url":"https://api.github.com/users/mineral-ui/following{/other_user}","gists_url":"https://api.github.com/users/mineral-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/mineral-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mineral-ui/subscriptions","organizations_url":"https://api.github.com/users/mineral-ui/orgs","repos_url":"https://api.github.com/users/mineral-ui/repos","events_url":"https://api.github.com/users/mineral-ui/events{/privacy}","received_events_url":"https://api.github.com/users/mineral-ui/received_events","type":"Organization","site_admin":false},"repo":{"id":87827232,"name":"mineral-ui","full_name":"mineral-ui/mineral-ui","owner":{"login":"mineral-ui","id":27220460,"avatar_url":"https://avatars1.githubusercontent.com/u/27220460?v=4","gravatar_id":"","url":"https://api.github.com/users/mineral-ui","html_url":"https://github.com/mineral-ui","followers_url":"https://api.github.com/users/mineral-ui/followers","following_url":"https://api.github.com/users/mineral-ui/following{/other_user}","gists_url":"https://api.github.com/users/mineral-ui/gists{/gist_id}","starred_url":"https://api.github.com/users/mineral-ui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mineral-ui/subscriptions","organizations_url":"https://api.github.com/users/mineral-ui/orgs","repos_url":"https://api.github.com/users/mineral-ui/repos","events_url":"https://api.github.com/users/mineral-ui/events{/privacy}","received_events_url":"https://api.github.com/users/mineral-ui/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mineral-ui/mineral-ui","description":"A design system and React component library for the web brought to you by CA Technologies.","fork":false,"url":"https://api.github.com/repos/mineral-ui/mineral-ui","forks_url":"https://api.github.com/repos/mineral-ui/mineral-ui/forks","keys_url":"https://api.github.com/repos/mineral-ui/mineral-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mineral-ui/mineral-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mineral-ui/mineral-ui/teams","hooks_url":"https://api.github.com/repos/mineral-ui/mineral-ui/hooks","issue_events_url":"https://api.github.com/repos/mineral-ui/mineral-ui/issues/events{/number}","events_url":"https://api.github.com/repos/mineral-ui/mineral-ui/events","assignees_url":"https://api.github.com/repos/mineral-ui/mineral-ui/assignees{/user}","branches_url":"https://api.github.com/repos/mineral-ui/mineral-ui/branches{/branch}","tags_url":"https://api.github.com/repos/mineral-ui/mineral-ui/tags","blobs_url":"https://api.github.com/repos/mineral-ui/mineral-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mineral-ui/mineral-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mineral-ui/mineral-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/mineral-ui/mineral-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mineral-ui/mineral-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/mineral-ui/mineral-ui/languages","stargazers_url":"https://api.github.com/repos/mineral-ui/mineral-ui/stargazers","contributors_url":"https://api.github.com/repos/mineral-ui/mineral-ui/contributors","subscribers_url":"https://api.github.com/repos/mineral-ui/mineral-ui/subscribers","subscription_url":"https://api.github.com/repos/mineral-ui/mineral-ui/subscription","commits_url":"https://api.github.com/repos/mineral-ui/mineral-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/mineral-ui/mineral-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/mineral-ui/mineral-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/mineral-ui/mineral-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/mineral-ui/mineral-ui/contents/{+path}","compare_url":"https://api.github.com/repos/mineral-ui/mineral-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mineral-ui/mineral-ui/merges","archive_url":"https://api.github.com/repos/mineral-ui/mineral-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mineral-ui/mineral-ui/downloads","issues_url":"https://api.github.com/repos/mineral-ui/mineral-ui/issues{/number}","pulls_url":"https://api.github.com/repos/mineral-ui/mineral-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/mineral-ui/mineral-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/mineral-ui/mineral-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mineral-ui/mineral-ui/labels{/name}","releases_url":"https://api.github.com/repos/mineral-ui/mineral-ui/releases{/id}","deployments_url":"https://api.github.com/repos/mineral-ui/mineral-ui/deployments","created_at":"2017-04-10T15:29:20Z","updated_at":"2018-03-15T19:01:33Z","pushed_at":"2018-03-16T04:37:26Z","git_url":"git://github.com/mineral-ui/mineral-ui.git","ssh_url":"git@github.com:mineral-ui/mineral-ui.git","clone_url":"https://github.com/mineral-ui/mineral-ui.git","svn_url":"https://github.com/mineral-ui/mineral-ui","homepage":"http://mineral-ui.com","size":6637,"stargazers_count":174,"watchers_count":174,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":96,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":13,"open_issues":96,"watchers":174,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mineral-ui/mineral-ui/pulls/616"},"html":{"href":"https://github.com/mineral-ui/mineral-ui/pull/616"},"issue":{"href":"https://api.github.com/repos/mineral-ui/mineral-ui/issues/616"},"comments":{"href":"https://api.github.com/repos/mineral-ui/mineral-ui/issues/616/comments"},"review_comments":{"href":"https://api.github.com/repos/mineral-ui/mineral-ui/pulls/616/comments"},"review_comment":{"href":"https://api.github.com/repos/mineral-ui/mineral-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mineral-ui/mineral-ui/pulls/616/commits"},"statuses":{"href":"https://api.github.com/repos/mineral-ui/mineral-ui/statuses/e6839ecd9bd847e52459e74d9a29fd0d2dc7b80a"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":99,"changed_files":3}}
{"actor":{"display_login":"trotzig"}}