{"action":"opened","number":17342,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/17342","id":39074981,"html_url":"https://github.com/owncloud/core/pull/17342","diff_url":"https://github.com/owncloud/core/pull/17342.diff","patch_url":"https://github.com/owncloud/core/pull/17342.patch","issue_url":"https://api.github.com/repos/owncloud/core/issues/17342","number":17342,"state":"open","locked":false,"title":"Only run some preview unit tets if imagemagick is available","user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"body":"I did not have imagemagick installed on my server so a lot of unit tests started failing.\r\n\r\nThis PR skips some of the tests if the imagick module is not available. Which makes everything work again. \r\n\r\nHowever you still need to make sure that imagemagick has support for JPEG/GIF/PNG/EPS. We could use \\Imagick::queryformats(); to verify that the formats are supported. Only how to let people know not all samples are used because not everything was available?\r\n\r\nCC: @oparoz @LukasReschke @MorrisJobke ","created_at":"2015-07-02T11:59:02Z","updated_at":"2015-07-02T11:59:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/37","html_url":"https://github.com/owncloud/core/milestones/8.2-next","labels_url":"https://api.github.com/repos/owncloud/core/milestones/37/labels","id":993629,"number":37,"title":"8.2-next","description":"","creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":654,"closed_issues":31,"state":"open","created_at":"2015-02-24T16:19:37Z","updated_at":"2015-07-02T11:59:02Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/owncloud/core/pulls/17342/commits","review_comments_url":"https://api.github.com/repos/owncloud/core/pulls/17342/comments","review_comment_url":"https://api.github.com/repos/owncloud/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17342/comments","statuses_url":"https://api.github.com/repos/owncloud/core/statuses/c061497eca961e9f98492c148a27feb6b2ab5476","head":{"label":"rullzer:test_preview_conditions","ref":"test_preview_conditions","sha":"c061497eca961e9f98492c148a27feb6b2ab5476","user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"repo":{"id":29611886,"name":"core","full_name":"rullzer/core","owner":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rullzer/core","description":"The ownCloud core","fork":true,"url":"https://api.github.com/repos/rullzer/core","forks_url":"https://api.github.com/repos/rullzer/core/forks","keys_url":"https://api.github.com/repos/rullzer/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rullzer/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rullzer/core/teams","hooks_url":"https://api.github.com/repos/rullzer/core/hooks","issue_events_url":"https://api.github.com/repos/rullzer/core/issues/events{/number}","events_url":"https://api.github.com/repos/rullzer/core/events","assignees_url":"https://api.github.com/repos/rullzer/core/assignees{/user}","branches_url":"https://api.github.com/repos/rullzer/core/branches{/branch}","tags_url":"https://api.github.com/repos/rullzer/core/tags","blobs_url":"https://api.github.com/repos/rullzer/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rullzer/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rullzer/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/rullzer/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rullzer/core/statuses/{sha}","languages_url":"https://api.github.com/repos/rullzer/core/languages","stargazers_url":"https://api.github.com/repos/rullzer/core/stargazers","contributors_url":"https://api.github.com/repos/rullzer/core/contributors","subscribers_url":"https://api.github.com/repos/rullzer/core/subscribers","subscription_url":"https://api.github.com/repos/rullzer/core/subscription","commits_url":"https://api.github.com/repos/rullzer/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/rullzer/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/rullzer/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/rullzer/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/rullzer/core/contents/{+path}","compare_url":"https://api.github.com/repos/rullzer/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rullzer/core/merges","archive_url":"https://api.github.com/repos/rullzer/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rullzer/core/downloads","issues_url":"https://api.github.com/repos/rullzer/core/issues{/number}","pulls_url":"https://api.github.com/repos/rullzer/core/pulls{/number}","milestones_url":"https://api.github.com/repos/rullzer/core/milestones{/number}","notifications_url":"https://api.github.com/repos/rullzer/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rullzer/core/labels{/name}","releases_url":"https://api.github.com/repos/rullzer/core/releases{/id}","created_at":"2015-01-21T20:40:40Z","updated_at":"2015-05-06T17:12:09Z","pushed_at":"2015-07-02T11:54:23Z","git_url":"git://github.com/rullzer/core.git","ssh_url":"git@github.com:rullzer/core.git","clone_url":"https://github.com/rullzer/core.git","svn_url":"https://github.com/rullzer/core","homepage":null,"size":170952,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"owncloud:master","ref":"master","sha":"063071b58db926238e895105e13a116a5ceebddb","user":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"repo":{"id":5550552,"name":"core","full_name":"owncloud/core","owner":{"login":"owncloud","id":1645051,"avatar_url":"https://avatars.githubusercontent.com/u/1645051?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud","html_url":"https://github.com/owncloud","followers_url":"https://api.github.com/users/owncloud/followers","following_url":"https://api.github.com/users/owncloud/following{/other_user}","gists_url":"https://api.github.com/users/owncloud/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud/subscriptions","organizations_url":"https://api.github.com/users/owncloud/orgs","repos_url":"https://api.github.com/users/owncloud/repos","events_url":"https://api.github.com/users/owncloud/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/owncloud/core","description":"The ownCloud core","fork":false,"url":"https://api.github.com/repos/owncloud/core","forks_url":"https://api.github.com/repos/owncloud/core/forks","keys_url":"https://api.github.com/repos/owncloud/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/owncloud/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/owncloud/core/teams","hooks_url":"https://api.github.com/repos/owncloud/core/hooks","issue_events_url":"https://api.github.com/repos/owncloud/core/issues/events{/number}","events_url":"https://api.github.com/repos/owncloud/core/events","assignees_url":"https://api.github.com/repos/owncloud/core/assignees{/user}","branches_url":"https://api.github.com/repos/owncloud/core/branches{/branch}","tags_url":"https://api.github.com/repos/owncloud/core/tags","blobs_url":"https://api.github.com/repos/owncloud/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/owncloud/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/owncloud/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/owncloud/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/owncloud/core/statuses/{sha}","languages_url":"https://api.github.com/repos/owncloud/core/languages","stargazers_url":"https://api.github.com/repos/owncloud/core/stargazers","contributors_url":"https://api.github.com/repos/owncloud/core/contributors","subscribers_url":"https://api.github.com/repos/owncloud/core/subscribers","subscription_url":"https://api.github.com/repos/owncloud/core/subscription","commits_url":"https://api.github.com/repos/owncloud/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/owncloud/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/owncloud/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/owncloud/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/owncloud/core/contents/{+path}","compare_url":"https://api.github.com/repos/owncloud/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/owncloud/core/merges","archive_url":"https://api.github.com/repos/owncloud/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/owncloud/core/downloads","issues_url":"https://api.github.com/repos/owncloud/core/issues{/number}","pulls_url":"https://api.github.com/repos/owncloud/core/pulls{/number}","milestones_url":"https://api.github.com/repos/owncloud/core/milestones{/number}","notifications_url":"https://api.github.com/repos/owncloud/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/owncloud/core/labels{/name}","releases_url":"https://api.github.com/repos/owncloud/core/releases{/id}","created_at":"2012-08-25T10:32:48Z","updated_at":"2015-07-02T02:53:45Z","pushed_at":"2015-07-02T11:53:26Z","git_url":"git://github.com/owncloud/core.git","ssh_url":"git@github.com:owncloud/core.git","clone_url":"https://github.com/owncloud/core.git","svn_url":"https://github.com/owncloud/core","homepage":"https://owncloud.org/","size":1020736,"stargazers_count":3414,"watchers_count":3414,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1094,"mirror_url":null,"open_issues_count":1931,"forks":1094,"open_issues":1931,"watchers":3414,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/owncloud/core/pulls/17342"},"html":{"href":"https://github.com/owncloud/core/pull/17342"},"issue":{"href":"https://api.github.com/repos/owncloud/core/issues/17342"},"comments":{"href":"https://api.github.com/repos/owncloud/core/issues/17342/comments"},"review_comments":{"href":"https://api.github.com/repos/owncloud/core/pulls/17342/comments"},"review_comment":{"href":"https://api.github.com/repos/owncloud/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/owncloud/core/pulls/17342/commits"},"statuses":{"href":"https://api.github.com/repos/owncloud/core/statuses/c061497eca961e9f98492c148a27feb6b2ab5476"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":2}}