{"action":"created","issue":{"url":"https://api.github.com/repos/google/WebFundamentals/issues/2559","repository_url":"https://api.github.com/repos/google/WebFundamentals","labels_url":"https://api.github.com/repos/google/WebFundamentals/issues/2559/labels{/name}","comments_url":"https://api.github.com/repos/google/WebFundamentals/issues/2559/comments","events_url":"https://api.github.com/repos/google/WebFundamentals/issues/2559/events","html_url":"https://github.com/google/WebFundamentals/issues/2559","id":133235176,"number":2559,"title":"Build error when contributor photo is a png","user":{"login":"Garbee","id":868301,"avatar_url":"https://avatars.githubusercontent.com/u/868301?v=3","gravatar_id":"","url":"https://api.github.com/users/Garbee","html_url":"https://github.com/Garbee","followers_url":"https://api.github.com/users/Garbee/followers","following_url":"https://api.github.com/users/Garbee/following{/other_user}","gists_url":"https://api.github.com/users/Garbee/gists{/gist_id}","starred_url":"https://api.github.com/users/Garbee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Garbee/subscriptions","organizations_url":"https://api.github.com/users/Garbee/orgs","repos_url":"https://api.github.com/users/Garbee/repos","events_url":"https://api.github.com/users/Garbee/events{/privacy}","received_events_url":"https://api.github.com/users/Garbee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-12T12:59:41Z","updated_at":"2016-02-16T11:40:52Z","closed_at":null,"body":"It would be nice if the build detected a non-jpg photo being used for contributors and fails if that is the case. Since everything is hard-coded to do jpg this would be a good early check so things that are known-to-work get merged.\r\n\r\nSeems easy enough to add to the build process right? I'm thinking a quick gulp task that just counts the items in the folder. Then ask for all the `*.jpg` from it and compare the length. If lengths are equal then all is fine, if not throw an error that some file exists in there that isn't of the right type.\r\n\r\nI accidentally comitted a png and no one caught that. Would be nice if we tried to catch it automatically in the future and get things solved early so the history of binary files is kept minimal. In a repo this large it adds up.\r\n\r\ncc @crhym3 "},"comment":{"url":"https://api.github.com/repos/google/WebFundamentals/issues/comments/184647998","html_url":"https://github.com/google/WebFundamentals/issues/2559#issuecomment-184647998","issue_url":"https://api.github.com/repos/google/WebFundamentals/issues/2559","id":184647998,"user":{"login":"gauntface","id":139760,"avatar_url":"https://avatars.githubusercontent.com/u/139760?v=3","gravatar_id":"","url":"https://api.github.com/users/gauntface","html_url":"https://github.com/gauntface","followers_url":"https://api.github.com/users/gauntface/followers","following_url":"https://api.github.com/users/gauntface/following{/other_user}","gists_url":"https://api.github.com/users/gauntface/gists{/gist_id}","starred_url":"https://api.github.com/users/gauntface/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauntface/subscriptions","organizations_url":"https://api.github.com/users/gauntface/orgs","repos_url":"https://api.github.com/users/gauntface/repos","events_url":"https://api.github.com/users/gauntface/events{/privacy}","received_events_url":"https://api.github.com/users/gauntface/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T11:40:52Z","updated_at":"2016-02-16T11:40:52Z","body":"I was looking at testing perf issues way back when I started, not build process tests (which is now done in Jekyll 3 but neither particularly help figure out perf issues)."}}