{"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/comments/32185503","id":32185503,"diff_hunk":"@@ -106,6 +106,7 @@ def install\n     ln_s \"#{prefix}/support-files/mysql.server\", bin\n \n     # Move mysqlaccess to libexec\n+    libexec.mkpath","path":"mysql55.rb","position":4,"original_position":4,"commit_id":"50dbd44eacc7323af223eed39416b0e01f4ae7c9","original_commit_id":"50dbd44eacc7323af223eed39416b0e01f4ae7c9","user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"body":"There's a lot of syntax in this formula we've stopped using or improved since. The direct calls to `ln_s` and `mv` in particular.\r\n\r\nHere, we could be able to do this instead of adding another line to create `libexec`:\r\n\r\n```ruby\r\nlibexec.install bin/\"mysqlaccess\"\r\nlibexec.install bin/\"mysqlaccess.conf\"\r\n```\r\n\r\nThat should automatically create the directory and then move the files there.","created_at":"2015-06-11T02:24:39Z","updated_at":"2015-06-11T02:24:39Z","html_url":"https://github.com/Homebrew/homebrew-versions/pull/859#discussion_r32185503","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/859","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/comments/32185503"},"html":{"href":"https://github.com/Homebrew/homebrew-versions/pull/859#discussion_r32185503"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/859"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/859","id":37416534,"html_url":"https://github.com/Homebrew/homebrew-versions/pull/859","diff_url":"https://github.com/Homebrew/homebrew-versions/pull/859.diff","patch_url":"https://github.com/Homebrew/homebrew-versions/pull/859.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew-versions/issues/859","number":859,"state":"open","locked":false,"title":"mysql55: make sure libexec before moving stuff to it","user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"body":"This was pretty frustrating to debug!","created_at":"2015-06-10T23:44:03Z","updated_at":"2015-06-11T02:24:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2587e640e3e476e13051f4a4809dad53da0fd5d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/859/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/859/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-versions/issues/859/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-versions/statuses/50dbd44eacc7323af223eed39416b0e01f4ae7c9","head":{"label":"tamird:mysql55-libexec","ref":"mysql55-libexec","sha":"50dbd44eacc7323af223eed39416b0e01f4ae7c9","user":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"repo":{"id":37228513,"name":"homebrew-versions","full_name":"tamird/homebrew-versions","owner":{"login":"tamird","id":1535036,"avatar_url":"https://avatars.githubusercontent.com/u/1535036?v=3","gravatar_id":"","url":"https://api.github.com/users/tamird","html_url":"https://github.com/tamird","followers_url":"https://api.github.com/users/tamird/followers","following_url":"https://api.github.com/users/tamird/following{/other_user}","gists_url":"https://api.github.com/users/tamird/gists{/gist_id}","starred_url":"https://api.github.com/users/tamird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamird/subscriptions","organizations_url":"https://api.github.com/users/tamird/orgs","repos_url":"https://api.github.com/users/tamird/repos","events_url":"https://api.github.com/users/tamird/events{/privacy}","received_events_url":"https://api.github.com/users/tamird/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tamird/homebrew-versions","description":":1234: Versioned formulae for the Homebrew package manager","fork":true,"url":"https://api.github.com/repos/tamird/homebrew-versions","forks_url":"https://api.github.com/repos/tamird/homebrew-versions/forks","keys_url":"https://api.github.com/repos/tamird/homebrew-versions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tamird/homebrew-versions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tamird/homebrew-versions/teams","hooks_url":"https://api.github.com/repos/tamird/homebrew-versions/hooks","issue_events_url":"https://api.github.com/repos/tamird/homebrew-versions/issues/events{/number}","events_url":"https://api.github.com/repos/tamird/homebrew-versions/events","assignees_url":"https://api.github.com/repos/tamird/homebrew-versions/assignees{/user}","branches_url":"https://api.github.com/repos/tamird/homebrew-versions/branches{/branch}","tags_url":"https://api.github.com/repos/tamird/homebrew-versions/tags","blobs_url":"https://api.github.com/repos/tamird/homebrew-versions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tamird/homebrew-versions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tamird/homebrew-versions/git/refs{/sha}","trees_url":"https://api.github.com/repos/tamird/homebrew-versions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tamird/homebrew-versions/statuses/{sha}","languages_url":"https://api.github.com/repos/tamird/homebrew-versions/languages","stargazers_url":"https://api.github.com/repos/tamird/homebrew-versions/stargazers","contributors_url":"https://api.github.com/repos/tamird/homebrew-versions/contributors","subscribers_url":"https://api.github.com/repos/tamird/homebrew-versions/subscribers","subscription_url":"https://api.github.com/repos/tamird/homebrew-versions/subscription","commits_url":"https://api.github.com/repos/tamird/homebrew-versions/commits{/sha}","git_commits_url":"https://api.github.com/repos/tamird/homebrew-versions/git/commits{/sha}","comments_url":"https://api.github.com/repos/tamird/homebrew-versions/comments{/number}","issue_comment_url":"https://api.github.com/repos/tamird/homebrew-versions/issues/comments{/number}","contents_url":"https://api.github.com/repos/tamird/homebrew-versions/contents/{+path}","compare_url":"https://api.github.com/repos/tamird/homebrew-versions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tamird/homebrew-versions/merges","archive_url":"https://api.github.com/repos/tamird/homebrew-versions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tamird/homebrew-versions/downloads","issues_url":"https://api.github.com/repos/tamird/homebrew-versions/issues{/number}","pulls_url":"https://api.github.com/repos/tamird/homebrew-versions/pulls{/number}","milestones_url":"https://api.github.com/repos/tamird/homebrew-versions/milestones{/number}","notifications_url":"https://api.github.com/repos/tamird/homebrew-versions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tamird/homebrew-versions/labels{/name}","releases_url":"https://api.github.com/repos/tamird/homebrew-versions/releases{/id}","created_at":"2015-06-10T23:41:43Z","updated_at":"2015-06-10T23:41:44Z","pushed_at":"2015-06-11T00:04:57Z","git_url":"git://github.com/tamird/homebrew-versions.git","ssh_url":"git@github.com:tamird/homebrew-versions.git","clone_url":"https://github.com/tamird/homebrew-versions.git","svn_url":"https://github.com/tamird/homebrew-versions","homepage":"brew.sh","size":8433,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"Homebrew:master","ref":"master","sha":"62a3df347b2e639b2d41a3e27080754f9b26fba8","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":3745077,"name":"homebrew-versions","full_name":"Homebrew/homebrew-versions","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-versions","description":":1234: Versioned formulae for the Homebrew package manager","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew-versions","forks_url":"https://api.github.com/repos/Homebrew/homebrew-versions/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew-versions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew-versions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew-versions/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew-versions/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew-versions/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew-versions/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew-versions/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew-versions/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew-versions/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew-versions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew-versions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew-versions/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew-versions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew-versions/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew-versions/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew-versions/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew-versions/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew-versions/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew-versions/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew-versions/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew-versions/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-versions/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew-versions/issues/comments{/number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew-versions/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew-versions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew-versions/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew-versions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew-versions/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew-versions/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew-versions/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew-versions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew-versions/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew-versions/releases{/id}","created_at":"2012-03-17T02:42:59Z","updated_at":"2015-06-10T23:12:30Z","pushed_at":"2015-06-11T00:05:35Z","git_url":"git://github.com/Homebrew/homebrew-versions.git","ssh_url":"git@github.com:Homebrew/homebrew-versions.git","clone_url":"https://github.com/Homebrew/homebrew-versions.git","svn_url":"https://github.com/Homebrew/homebrew-versions","homepage":"brew.sh","size":8433,"stargazers_count":288,"watchers_count":288,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":454,"mirror_url":null,"open_issues_count":12,"forks":454,"open_issues":12,"watchers":288,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/859"},"html":{"href":"https://github.com/Homebrew/homebrew-versions/pull/859"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew-versions/issues/859"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-versions/issues/859/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/859/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew-versions/pulls/859/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew-versions/statuses/50dbd44eacc7323af223eed39416b0e01f4ae7c9"}}}}