{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/gerdriesselmann/gyro-php/pulls/7","id":38102764,"html_url":"https://github.com/gerdriesselmann/gyro-php/pull/7","diff_url":"https://github.com/gerdriesselmann/gyro-php/pull/7.diff","patch_url":"https://github.com/gerdriesselmann/gyro-php/pull/7.patch","issue_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/issues/7","number":7,"state":"open","locked":false,"title":"compress js/css files with yuicompressor one-by-one on failure","user":{"login":"hwde","id":1931190,"avatar_url":"https://avatars.githubusercontent.com/u/1931190?v=3","gravatar_id":"","url":"https://api.github.com/users/hwde","html_url":"https://github.com/hwde","followers_url":"https://api.github.com/users/hwde/followers","following_url":"https://api.github.com/users/hwde/following{/other_user}","gists_url":"https://api.github.com/users/hwde/gists{/gist_id}","starred_url":"https://api.github.com/users/hwde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwde/subscriptions","organizations_url":"https://api.github.com/users/hwde/orgs","repos_url":"https://api.github.com/users/hwde/repos","events_url":"https://api.github.com/users/hwde/events{/privacy}","received_events_url":"https://api.github.com/users/hwde/received_events","type":"User","site_admin":false},"body":"Yuicompressor may fail on some unsupported language construct, i.e.:\r\n\r\nvar foo = {}; foo.in = 'bar';\r\n\r\nwill throw an error (\"in\" is also a js keyword)- but maybe it is valid to use it that way.\r\nIf the compression fails on a single file, we run yuicompressor for each source-file separate, and decide (on error) to append the compressed or original file to the outfile.\r\n\r\nIt is a little annoying that yuicompressor still prints its errors to console, but we \"know\" the compressed file is still usable. A positive side effect is that we could review the compressed file to \"uncompressed\" parts to analyse the reason of yuicompressor failures.","created_at":"2015-06-19T12:29:07Z","updated_at":"2015-06-19T12:29:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/pulls/7/commits","review_comments_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/pulls/7/comments","review_comment_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/issues/7/comments","statuses_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/statuses/e652733eddd53661cf901260e3bbdeaa41c53c23","head":{"label":"hwde:yuicompress-file-by-file","ref":"yuicompress-file-by-file","sha":"e652733eddd53661cf901260e3bbdeaa41c53c23","user":{"login":"hwde","id":1931190,"avatar_url":"https://avatars.githubusercontent.com/u/1931190?v=3","gravatar_id":"","url":"https://api.github.com/users/hwde","html_url":"https://github.com/hwde","followers_url":"https://api.github.com/users/hwde/followers","following_url":"https://api.github.com/users/hwde/following{/other_user}","gists_url":"https://api.github.com/users/hwde/gists{/gist_id}","starred_url":"https://api.github.com/users/hwde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwde/subscriptions","organizations_url":"https://api.github.com/users/hwde/orgs","repos_url":"https://api.github.com/users/hwde/repos","events_url":"https://api.github.com/users/hwde/events{/privacy}","received_events_url":"https://api.github.com/users/hwde/received_events","type":"User","site_admin":false},"repo":{"id":30638111,"name":"gyro-php","full_name":"hwde/gyro-php","owner":{"login":"hwde","id":1931190,"avatar_url":"https://avatars.githubusercontent.com/u/1931190?v=3","gravatar_id":"","url":"https://api.github.com/users/hwde","html_url":"https://github.com/hwde","followers_url":"https://api.github.com/users/hwde/followers","following_url":"https://api.github.com/users/hwde/following{/other_user}","gists_url":"https://api.github.com/users/hwde/gists{/gist_id}","starred_url":"https://api.github.com/users/hwde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hwde/subscriptions","organizations_url":"https://api.github.com/users/hwde/orgs","repos_url":"https://api.github.com/users/hwde/repos","events_url":"https://api.github.com/users/hwde/events{/privacy}","received_events_url":"https://api.github.com/users/hwde/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hwde/gyro-php","description":"PHP Application Framework","fork":true,"url":"https://api.github.com/repos/hwde/gyro-php","forks_url":"https://api.github.com/repos/hwde/gyro-php/forks","keys_url":"https://api.github.com/repos/hwde/gyro-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hwde/gyro-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hwde/gyro-php/teams","hooks_url":"https://api.github.com/repos/hwde/gyro-php/hooks","issue_events_url":"https://api.github.com/repos/hwde/gyro-php/issues/events{/number}","events_url":"https://api.github.com/repos/hwde/gyro-php/events","assignees_url":"https://api.github.com/repos/hwde/gyro-php/assignees{/user}","branches_url":"https://api.github.com/repos/hwde/gyro-php/branches{/branch}","tags_url":"https://api.github.com/repos/hwde/gyro-php/tags","blobs_url":"https://api.github.com/repos/hwde/gyro-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hwde/gyro-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hwde/gyro-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/hwde/gyro-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hwde/gyro-php/statuses/{sha}","languages_url":"https://api.github.com/repos/hwde/gyro-php/languages","stargazers_url":"https://api.github.com/repos/hwde/gyro-php/stargazers","contributors_url":"https://api.github.com/repos/hwde/gyro-php/contributors","subscribers_url":"https://api.github.com/repos/hwde/gyro-php/subscribers","subscription_url":"https://api.github.com/repos/hwde/gyro-php/subscription","commits_url":"https://api.github.com/repos/hwde/gyro-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/hwde/gyro-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/hwde/gyro-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/hwde/gyro-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/hwde/gyro-php/contents/{+path}","compare_url":"https://api.github.com/repos/hwde/gyro-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hwde/gyro-php/merges","archive_url":"https://api.github.com/repos/hwde/gyro-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hwde/gyro-php/downloads","issues_url":"https://api.github.com/repos/hwde/gyro-php/issues{/number}","pulls_url":"https://api.github.com/repos/hwde/gyro-php/pulls{/number}","milestones_url":"https://api.github.com/repos/hwde/gyro-php/milestones{/number}","notifications_url":"https://api.github.com/repos/hwde/gyro-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hwde/gyro-php/labels{/name}","releases_url":"https://api.github.com/repos/hwde/gyro-php/releases{/id}","created_at":"2015-02-11T08:30:08Z","updated_at":"2015-02-11T08:30:12Z","pushed_at":"2015-06-19T12:26:32Z","git_url":"git://github.com/hwde/gyro-php.git","ssh_url":"git@github.com:hwde/gyro-php.git","clone_url":"https://github.com/hwde/gyro-php.git","svn_url":"https://github.com/hwde/gyro-php","homepage":"","size":14051,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gerdriesselmann:master","ref":"master","sha":"079eb9dbcc100900a21478f4ce7867e2f7184295","user":{"login":"gerdriesselmann","id":940768,"avatar_url":"https://avatars.githubusercontent.com/u/940768?v=3","gravatar_id":"","url":"https://api.github.com/users/gerdriesselmann","html_url":"https://github.com/gerdriesselmann","followers_url":"https://api.github.com/users/gerdriesselmann/followers","following_url":"https://api.github.com/users/gerdriesselmann/following{/other_user}","gists_url":"https://api.github.com/users/gerdriesselmann/gists{/gist_id}","starred_url":"https://api.github.com/users/gerdriesselmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerdriesselmann/subscriptions","organizations_url":"https://api.github.com/users/gerdriesselmann/orgs","repos_url":"https://api.github.com/users/gerdriesselmann/repos","events_url":"https://api.github.com/users/gerdriesselmann/events{/privacy}","received_events_url":"https://api.github.com/users/gerdriesselmann/received_events","type":"User","site_admin":false},"repo":{"id":28648275,"name":"gyro-php","full_name":"gerdriesselmann/gyro-php","owner":{"login":"gerdriesselmann","id":940768,"avatar_url":"https://avatars.githubusercontent.com/u/940768?v=3","gravatar_id":"","url":"https://api.github.com/users/gerdriesselmann","html_url":"https://github.com/gerdriesselmann","followers_url":"https://api.github.com/users/gerdriesselmann/followers","following_url":"https://api.github.com/users/gerdriesselmann/following{/other_user}","gists_url":"https://api.github.com/users/gerdriesselmann/gists{/gist_id}","starred_url":"https://api.github.com/users/gerdriesselmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gerdriesselmann/subscriptions","organizations_url":"https://api.github.com/users/gerdriesselmann/orgs","repos_url":"https://api.github.com/users/gerdriesselmann/repos","events_url":"https://api.github.com/users/gerdriesselmann/events{/privacy}","received_events_url":"https://api.github.com/users/gerdriesselmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gerdriesselmann/gyro-php","description":"PHP Application Framework","fork":false,"url":"https://api.github.com/repos/gerdriesselmann/gyro-php","forks_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/forks","keys_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/teams","hooks_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/hooks","issue_events_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/issues/events{/number}","events_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/events","assignees_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/assignees{/user}","branches_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/branches{/branch}","tags_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/tags","blobs_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/statuses/{sha}","languages_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/languages","stargazers_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/stargazers","contributors_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/contributors","subscribers_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/subscribers","subscription_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/subscription","commits_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/contents/{+path}","compare_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/merges","archive_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/downloads","issues_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/issues{/number}","pulls_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/pulls{/number}","milestones_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/milestones{/number}","notifications_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/labels{/name}","releases_url":"https://api.github.com/repos/gerdriesselmann/gyro-php/releases{/id}","created_at":"2014-12-30T22:51:38Z","updated_at":"2015-03-10T14:39:09Z","pushed_at":"2015-06-19T12:29:08Z","git_url":"git://github.com/gerdriesselmann/gyro-php.git","ssh_url":"git@github.com:gerdriesselmann/gyro-php.git","clone_url":"https://github.com/gerdriesselmann/gyro-php.git","svn_url":"https://github.com/gerdriesselmann/gyro-php","homepage":"","size":14452,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gerdriesselmann/gyro-php/pulls/7"},"html":{"href":"https://github.com/gerdriesselmann/gyro-php/pull/7"},"issue":{"href":"https://api.github.com/repos/gerdriesselmann/gyro-php/issues/7"},"comments":{"href":"https://api.github.com/repos/gerdriesselmann/gyro-php/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/gerdriesselmann/gyro-php/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/gerdriesselmann/gyro-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gerdriesselmann/gyro-php/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/gerdriesselmann/gyro-php/statuses/e652733eddd53661cf901260e3bbdeaa41c53c23"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":40,"deletions":0,"changed_files":1}}