{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/40803509","id":40803509,"diff_hunk":"@@ -0,0 +1,22 @@\n+class Glyr < Formula\n+  desc \"Music related metadata search engine with command-line interface and C API\"\n+  homepage \"https://github.com/sahib/glyr\"\n+  url \"https://github.com/sahib/glyr/archive/1.0.8.tar.gz\"\n+  sha256 \"0f25f291c7d956bc76d097a4a28595b6607ae8f599988018b36769ef3284b29a\"\n+\n+  depends_on \"cmake\" => :build\n+  depends_on \"pkg-config\" => :build\n+  depends_on \"glib\"\n+  depends_on \"gettext\"\n+\n+  def install\n+    system \"cmake\", \".\", *std_cmake_args\n+    system \"make\", \"install\"\n+  end\n+\n+  test do\n+    out = testpath/\"cover.txt\"\n+    system \"#{bin}/glyrc\", \"cover\", \"-D\", \"--artist\", \"Beatles\", \"--album\", \"Please Please Me\", \"-w\", out\n+    assert File.read(out).match(%r{^https?://})","path":"Library/Formula/glyr.rb","position":null,"original_position":20,"commit_id":"e64d44f6b7af177b8365ab2526e310a6aeb92770","original_commit_id":"5a8bf95b8cec8c2b1bad329f8ee9eed6424ff702","user":{"login":"rwstauner","id":142719,"avatar_url":"https://avatars.githubusercontent.com/u/142719?v=3","gravatar_id":"","url":"https://api.github.com/users/rwstauner","html_url":"https://github.com/rwstauner","followers_url":"https://api.github.com/users/rwstauner/followers","following_url":"https://api.github.com/users/rwstauner/following{/other_user}","gists_url":"https://api.github.com/users/rwstauner/gists{/gist_id}","starred_url":"https://api.github.com/users/rwstauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwstauner/subscriptions","organizations_url":"https://api.github.com/users/rwstauner/orgs","repos_url":"https://api.github.com/users/rwstauner/repos","events_url":"https://api.github.com/users/rwstauner/events{/privacy}","received_events_url":"https://api.github.com/users/rwstauner/received_events","type":"User","site_admin":false},"body":"sweet, thanks.","created_at":"2015-09-30T14:52:52Z","updated_at":"2015-09-30T14:52:52Z","html_url":"https://github.com/Homebrew/homebrew/pull/44364#discussion_r40803509","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/44364","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/40803509"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/44364#discussion_r40803509"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/44364"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/44364","id":46086366,"html_url":"https://github.com/Homebrew/homebrew/pull/44364","diff_url":"https://github.com/Homebrew/homebrew/pull/44364.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/44364.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44364","number":44364,"state":"open","locked":false,"title":"glyr 1.0.8 (new formula) and optional dependency in abcde","user":{"login":"rwstauner","id":142719,"avatar_url":"https://avatars.githubusercontent.com/u/142719?v=3","gravatar_id":"","url":"https://api.github.com/users/rwstauner","html_url":"https://github.com/rwstauner","followers_url":"https://api.github.com/users/rwstauner/followers","following_url":"https://api.github.com/users/rwstauner/following{/other_user}","gists_url":"https://api.github.com/users/rwstauner/gists{/gist_id}","starred_url":"https://api.github.com/users/rwstauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwstauner/subscriptions","organizations_url":"https://api.github.com/users/rwstauner/orgs","repos_url":"https://api.github.com/users/rwstauner/repos","events_url":"https://api.github.com/users/rwstauner/events{/privacy}","received_events_url":"https://api.github.com/users/rwstauner/received_events","type":"User","site_admin":false},"body":"I'm not sure what the guidelines/preferences are for optional dependencies, but if your abcde config file specifies `getalbumart` in `ACTIONS` `abcde` will refuse to run if it cannot find `glyrc`.\r\n","created_at":"2015-09-26T18:02:42Z","updated_at":"2015-09-30T14:52:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a7638c63f7afcf067ceb5c6cfec0741e0b51cd0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/44364/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/44364/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/44364/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/e64d44f6b7af177b8365ab2526e310a6aeb92770","head":{"label":"rwstauner:glyr","ref":"glyr","sha":"e64d44f6b7af177b8365ab2526e310a6aeb92770","user":{"login":"rwstauner","id":142719,"avatar_url":"https://avatars.githubusercontent.com/u/142719?v=3","gravatar_id":"","url":"https://api.github.com/users/rwstauner","html_url":"https://github.com/rwstauner","followers_url":"https://api.github.com/users/rwstauner/followers","following_url":"https://api.github.com/users/rwstauner/following{/other_user}","gists_url":"https://api.github.com/users/rwstauner/gists{/gist_id}","starred_url":"https://api.github.com/users/rwstauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwstauner/subscriptions","organizations_url":"https://api.github.com/users/rwstauner/orgs","repos_url":"https://api.github.com/users/rwstauner/repos","events_url":"https://api.github.com/users/rwstauner/events{/privacy}","received_events_url":"https://api.github.com/users/rwstauner/received_events","type":"User","site_admin":false},"repo":{"id":31563678,"name":"homebrew","full_name":"rwstauner/homebrew","owner":{"login":"rwstauner","id":142719,"avatar_url":"https://avatars.githubusercontent.com/u/142719?v=3","gravatar_id":"","url":"https://api.github.com/users/rwstauner","html_url":"https://github.com/rwstauner","followers_url":"https://api.github.com/users/rwstauner/followers","following_url":"https://api.github.com/users/rwstauner/following{/other_user}","gists_url":"https://api.github.com/users/rwstauner/gists{/gist_id}","starred_url":"https://api.github.com/users/rwstauner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwstauner/subscriptions","organizations_url":"https://api.github.com/users/rwstauner/orgs","repos_url":"https://api.github.com/users/rwstauner/repos","events_url":"https://api.github.com/users/rwstauner/events{/privacy}","received_events_url":"https://api.github.com/users/rwstauner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rwstauner/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/rwstauner/homebrew","forks_url":"https://api.github.com/repos/rwstauner/homebrew/forks","keys_url":"https://api.github.com/repos/rwstauner/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rwstauner/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rwstauner/homebrew/teams","hooks_url":"https://api.github.com/repos/rwstauner/homebrew/hooks","issue_events_url":"https://api.github.com/repos/rwstauner/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/rwstauner/homebrew/events","assignees_url":"https://api.github.com/repos/rwstauner/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/rwstauner/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/rwstauner/homebrew/tags","blobs_url":"https://api.github.com/repos/rwstauner/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rwstauner/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rwstauner/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/rwstauner/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rwstauner/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/rwstauner/homebrew/languages","stargazers_url":"https://api.github.com/repos/rwstauner/homebrew/stargazers","contributors_url":"https://api.github.com/repos/rwstauner/homebrew/contributors","subscribers_url":"https://api.github.com/repos/rwstauner/homebrew/subscribers","subscription_url":"https://api.github.com/repos/rwstauner/homebrew/subscription","commits_url":"https://api.github.com/repos/rwstauner/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/rwstauner/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/rwstauner/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/rwstauner/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/rwstauner/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/rwstauner/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rwstauner/homebrew/merges","archive_url":"https://api.github.com/repos/rwstauner/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rwstauner/homebrew/downloads","issues_url":"https://api.github.com/repos/rwstauner/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/rwstauner/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/rwstauner/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/rwstauner/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rwstauner/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/rwstauner/homebrew/releases{/id}","created_at":"2015-03-02T21:17:34Z","updated_at":"2015-03-02T21:17:48Z","pushed_at":"2015-09-30T14:52:45Z","git_url":"git://github.com/rwstauner/homebrew.git","ssh_url":"git@github.com:rwstauner/homebrew.git","clone_url":"https://github.com/rwstauner/homebrew.git","svn_url":"https://github.com/rwstauner/homebrew","homepage":"http://brew.sh","size":56904,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"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":"Homebrew:master","ref":"master","sha":"c4cd8fece483f3b8c686a3e05f6a3a867c7a64f7","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?v=3","gravatar_id":"","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":":beer: The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","created_at":"2009-05-20T19:38:37Z","updated_at":"2015-09-30T14:34:41Z","pushed_at":"2015-09-30T14:52:51Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1629933,"stargazers_count":25534,"watchers_count":25534,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":12884,"mirror_url":null,"open_issues_count":504,"forks":12884,"open_issues":504,"watchers":25534,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/44364"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/44364"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/44364"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/44364/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/44364/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/44364/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/e64d44f6b7af177b8365ab2526e310a6aeb92770"}}}}