{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/26230185","id":26230185,"diff_hunk":"@@ -0,0 +1,63 @@\n+class JenkinsJobBuilder < Formula\n+  homepage \"http://ci.openstack.org/jjb.html\"\n+  url \"https://pypi.python.org/packages/source/j/jenkins-job-builder/jenkins-job-builder-1.1.0.tar.gz\"\n+  sha1 \"e5d0665aaabefdd4b1bc24297bcedc8603c55853\"\n+\n+  depends_on :python if MacOS.version <= :snow_leopard\n+\n+  resource \"argparse\" do\n+    url \"https://pypi.python.org/packages/source/a/argparse/argparse-1.3.0.tar.gz\"\n+    sha1 \"8a8d6c9624669055c2c4f70adcb129139dc50ee6\"\n+  end\n+\n+  resource \"pyyaml\" do\n+    url \"https://pypi.python.org/packages/source/P/PyYAML/PyYAML-3.11.tar.gz\"\n+    sha1 \"1a2d5df8b31124573efb9598ec6d54767f3c4cd4\"\n+  end\n+\n+  resource \"ordereddict\" do\n+    url \"https://pypi.python.org/packages/source/o/ordereddict/ordereddict-1.1.tar.gz\"\n+    sha1 \"ab90b67dceab55a11b609d253846fa486eb980c4\"\n+  end\n+\n+  resource \"python-jenkins\" do\n+    url \"https://pypi.python.org/packages/source/p/python-jenkins/python-jenkins-0.4.5.tar.gz\"\n+    sha1 \"68a15cda9913e3df0305ad30ded18e1cb66c1a99\"\n+  end\n+\n+  resource \"pbr\" do\n+    url \"https://pypi.python.org/packages/source/p/pbr/pbr-0.10.8.tar.gz\"\n+    sha1 \"8f90442f669e3a725d5682623aa94f9e38c4601d\"\n+  end\n+\n+  resource \"six\" do\n+    url \"https://pypi.python.org/packages/source/s/six/six-1.9.0.tar.gz\"\n+    sha1 \"d168e6d01f0900875c6ecebc97da72d0fda31129\"\n+  end\n+\n+  resource \"pip\" do\n+    url \"https://pypi.python.org/packages/source/p/pip/pip-6.0.8.tar.gz\"\n+    sha1 \"bd59a468f21b3882a6c9d3e189d40c7ba1e1b9bd\"\n+  end\n+\n+  def install\n+    ENV.prepend_create_path \"PYTHONPATH\", libexec/\"vendor/lib/python2.7/site-packages\"\n+    %w[argparse pyyaml ordereddict python-jenkins pbr six pip].each do |r|\n+      resource(r).stage do\n+        system \"python\", *Language::Python.setup_install_args(libexec/\"vendor\")\n+      end\n+    end\n+\n+    ENV.prepend_create_path \"PYTHONPATH\", libexec/\"lib/python2.7/site-packages\"\n+    system \"python\", *Language::Python.setup_install_args(libexec)\n+\n+    bin.install Dir[libexec/\"bin/*\"]\n+    bin.env_script_all_files(libexec/\"bin\", :PYTHONPATH => ENV[\"PYTHONPATH\"])\n+  end\n+\n+  test do\n+      assert_match /Managed by Jenkins Job Builder/,\n+          pipe_output(\"#{bin}/jenkins-jobs test /dev/stdin\",\n+                      \"- job:\\n    name: test-job\\n\\n\", 0)\n+  end\n+end","path":"Library/Formula/jenkins-job-builder.rb","position":63,"original_position":63,"commit_id":"4de85e25f708b7b01881fe5f68008f6fd57e3aef","original_commit_id":"4de85e25f708b7b01881fe5f68008f6fd57e3aef","user":{"login":"jsangrador","id":6999515,"avatar_url":"https://avatars.githubusercontent.com/u/6999515?v=3","gravatar_id":"","url":"https://api.github.com/users/jsangrador","html_url":"https://github.com/jsangrador","followers_url":"https://api.github.com/users/jsangrador/followers","following_url":"https://api.github.com/users/jsangrador/following{/other_user}","gists_url":"https://api.github.com/users/jsangrador/gists{/gist_id}","starred_url":"https://api.github.com/users/jsangrador/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsangrador/subscriptions","organizations_url":"https://api.github.com/users/jsangrador/orgs","repos_url":"https://api.github.com/users/jsangrador/repos","events_url":"https://api.github.com/users/jsangrador/events{/privacy}","received_events_url":"https://api.github.com/users/jsangrador/received_events","type":"User","site_admin":false},"body":"See how it looks now? I think it is much better, thanks for your help and patience and please let me know if more is needed.","created_at":"2015-03-11T16:45:27Z","updated_at":"2015-03-11T16:45:27Z","html_url":"https://github.com/Homebrew/homebrew/pull/37595#discussion_r26230185","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37595","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/26230185"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/37595#discussion_r26230185"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37595"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37595","id":30943728,"html_url":"https://github.com/Homebrew/homebrew/pull/37595","diff_url":"https://github.com/Homebrew/homebrew/pull/37595.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/37595.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37595","number":37595,"state":"open","locked":false,"title":"jenkins-job-builder 1.1.0 (new formula)","user":{"login":"jsangrador","id":6999515,"avatar_url":"https://avatars.githubusercontent.com/u/6999515?v=3","gravatar_id":"","url":"https://api.github.com/users/jsangrador","html_url":"https://github.com/jsangrador","followers_url":"https://api.github.com/users/jsangrador/followers","following_url":"https://api.github.com/users/jsangrador/following{/other_user}","gists_url":"https://api.github.com/users/jsangrador/gists{/gist_id}","starred_url":"https://api.github.com/users/jsangrador/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsangrador/subscriptions","organizations_url":"https://api.github.com/users/jsangrador/orgs","repos_url":"https://api.github.com/users/jsangrador/repos","events_url":"https://api.github.com/users/jsangrador/events{/privacy}","received_events_url":"https://api.github.com/users/jsangrador/received_events","type":"User","site_admin":false},"body":"Seeing that there was not such Formula I thought I could just create it.\r\nThis one formula installs the stated stable version 1.1.0 and all python\r\ndependencies I have been able to track.","created_at":"2015-03-11T13:44:05Z","updated_at":"2015-03-11T16:45:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc83784a02cf860cfdcf1332e6d7ea081f56eb33","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37595/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/37595/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/37595/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/4de85e25f708b7b01881fe5f68008f6fd57e3aef","head":{"label":"jsangrador:jenkins-job-builder-formula","ref":"jenkins-job-builder-formula","sha":"4de85e25f708b7b01881fe5f68008f6fd57e3aef","user":{"login":"jsangrador","id":6999515,"avatar_url":"https://avatars.githubusercontent.com/u/6999515?v=3","gravatar_id":"","url":"https://api.github.com/users/jsangrador","html_url":"https://github.com/jsangrador","followers_url":"https://api.github.com/users/jsangrador/followers","following_url":"https://api.github.com/users/jsangrador/following{/other_user}","gists_url":"https://api.github.com/users/jsangrador/gists{/gist_id}","starred_url":"https://api.github.com/users/jsangrador/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsangrador/subscriptions","organizations_url":"https://api.github.com/users/jsangrador/orgs","repos_url":"https://api.github.com/users/jsangrador/repos","events_url":"https://api.github.com/users/jsangrador/events{/privacy}","received_events_url":"https://api.github.com/users/jsangrador/received_events","type":"User","site_admin":false},"repo":{"id":32019647,"name":"homebrew","full_name":"jsangrador/homebrew","owner":{"login":"jsangrador","id":6999515,"avatar_url":"https://avatars.githubusercontent.com/u/6999515?v=3","gravatar_id":"","url":"https://api.github.com/users/jsangrador","html_url":"https://github.com/jsangrador","followers_url":"https://api.github.com/users/jsangrador/followers","following_url":"https://api.github.com/users/jsangrador/following{/other_user}","gists_url":"https://api.github.com/users/jsangrador/gists{/gist_id}","starred_url":"https://api.github.com/users/jsangrador/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsangrador/subscriptions","organizations_url":"https://api.github.com/users/jsangrador/orgs","repos_url":"https://api.github.com/users/jsangrador/repos","events_url":"https://api.github.com/users/jsangrador/events{/privacy}","received_events_url":"https://api.github.com/users/jsangrador/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jsangrador/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/jsangrador/homebrew","forks_url":"https://api.github.com/repos/jsangrador/homebrew/forks","keys_url":"https://api.github.com/repos/jsangrador/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jsangrador/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jsangrador/homebrew/teams","hooks_url":"https://api.github.com/repos/jsangrador/homebrew/hooks","issue_events_url":"https://api.github.com/repos/jsangrador/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/jsangrador/homebrew/events","assignees_url":"https://api.github.com/repos/jsangrador/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/jsangrador/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/jsangrador/homebrew/tags","blobs_url":"https://api.github.com/repos/jsangrador/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jsangrador/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jsangrador/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/jsangrador/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jsangrador/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/jsangrador/homebrew/languages","stargazers_url":"https://api.github.com/repos/jsangrador/homebrew/stargazers","contributors_url":"https://api.github.com/repos/jsangrador/homebrew/contributors","subscribers_url":"https://api.github.com/repos/jsangrador/homebrew/subscribers","subscription_url":"https://api.github.com/repos/jsangrador/homebrew/subscription","commits_url":"https://api.github.com/repos/jsangrador/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/jsangrador/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/jsangrador/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/jsangrador/homebrew/issues/comments{/number}","contents_url":"https://api.github.com/repos/jsangrador/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/jsangrador/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jsangrador/homebrew/merges","archive_url":"https://api.github.com/repos/jsangrador/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jsangrador/homebrew/downloads","issues_url":"https://api.github.com/repos/jsangrador/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/jsangrador/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/jsangrador/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/jsangrador/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jsangrador/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/jsangrador/homebrew/releases{/id}","created_at":"2015-03-11T13:39:47Z","updated_at":"2015-03-11T13:40:02Z","pushed_at":"2015-03-11T16:43:39Z","git_url":"git://github.com/jsangrador/homebrew.git","ssh_url":"git@github.com:jsangrador/homebrew.git","clone_url":"https://github.com/jsangrador/homebrew.git","svn_url":"https://github.com/jsangrador/homebrew","homepage":"http://brew.sh","size":1453002,"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":"4b1a2b72d658d2b940a649c751a6aca1c1a28e1c","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":"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-03-11T16:38:19Z","pushed_at":"2015-03-11T15:45:02Z","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":1453002,"stargazers_count":21826,"watchers_count":21826,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":10905,"mirror_url":null,"open_issues_count":327,"forks":10905,"open_issues":327,"watchers":21826,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37595"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/37595"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/37595"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/37595/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37595/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/37595/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/4de85e25f708b7b01881fe5f68008f6fd57e3aef"}}}}