{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/comments/68657261","id":68657261,"diff_hunk":"@@ -0,0 +1,47 @@\n+cd(dirname(@__FILE__))\n+\n+@linux_only begin\n+  lnxurl = \"https://raw.githubusercontent.com/abelsiqueira/linux-cutest/master/install.sh\"\n+  run(`wget $lnxurl -O install.sh`)\n+  run(`bash install.sh`)\n+\n+  open(\"cutestenv.jl\", \"w\") do cenv\n+    open(\"cutest_env.bashrc\") do f\n+      for p in [\"PATH\", \"MANPATH\", \"LD_LIBRARY_PATH\"]\n+        write(cenv, \"$p = get(ENV, \\\"$p\\\", \\\"\\\")\\n\")\n+      end\n+      for line in readlines(f)\n+        var = split(split(line, \"=\")[1])[2]\n+        path = chomp(split(line, \"=\")[2])\n+        write(cenv, \"ENV[\\\"$var\\\"] = \\\"$path\\\"\\n\")\n+      end\n+    end\n+  end\n+end\n+\n+@osx_only begin\n+  @eval using Homebrew","path":"deps/build.jl","position":23,"original_position":23,"commit_id":"a321160123fcc091d7d85c97b29e3095e0b48585","original_commit_id":"a321160123fcc091d7d85c97b29e3095e0b48585","user":{"login":"abelsiqueira","id":1068752,"avatar_url":"https://avatars.githubusercontent.com/u/1068752?v=3","gravatar_id":"","url":"https://api.github.com/users/abelsiqueira","html_url":"https://github.com/abelsiqueira","followers_url":"https://api.github.com/users/abelsiqueira/followers","following_url":"https://api.github.com/users/abelsiqueira/following{/other_user}","gists_url":"https://api.github.com/users/abelsiqueira/gists{/gist_id}","starred_url":"https://api.github.com/users/abelsiqueira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abelsiqueira/subscriptions","organizations_url":"https://api.github.com/users/abelsiqueira/orgs","repos_url":"https://api.github.com/users/abelsiqueira/repos","events_url":"https://api.github.com/users/abelsiqueira/events{/privacy}","received_events_url":"https://api.github.com/users/abelsiqueira/received_events","type":"User","site_admin":false},"body":"@eval was due to some error regarding `using` not being on the top level.\nThere was some explaining that I didn't quite understood, but using @eval\nfixed the problem.\nSome simple code that may reproduce the error is\n````\n@osx_only begin\nusing Plots\nfor i = 1:3\n    println(i)\nend\nend\n````\nOn Jun 27, 2016 5:36 PM, \"Dominique\" <notifications@github.com> wrote:\n\n> In deps/build.jl\n> <https://github.com/JuliaOptimizers/CUTEst.jl/pull/56#discussion_r68651042>\n> :\n>\n> > +  open(\"cutestenv.jl\", \"w\") do cenv\n> > +    open(\"cutest_env.bashrc\") do f\n> > +      for p in [\"PATH\", \"MANPATH\", \"LD_LIBRARY_PATH\"]\n> > +        write(cenv, \"$p = get(ENV, \\\"$p\\\", \\\"\\\")\\n\")\n> > +      end\n> > +      for line in readlines(f)\n> > +        var = split(split(line, \"=\")[1])[2]\n> > +        path = chomp(split(line, \"=\")[2])\n> > +        write(cenv, \"ENV[\\\"$var\\\"] = \\\"$path\\\"\\n\")\n> > +      end\n> > +    end\n> > +  end\n> > +end\n> > +\n> > +@osx_only begin\n> > +  @eval using Homebrew\n>\n> I don't think there's a need to @eval here.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/JuliaOptimizers/CUTEst.jl/pull/56/files/a321160123fcc091d7d85c97b29e3095e0b48585#r68651042>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe/ABBO0ON6lkklY-W20FlkLJjyCo0_KEh5ks5qQDRYgaJpZM4I7HIQ>\n> .\n>\n","created_at":"2016-06-27T21:11:56Z","updated_at":"2016-06-27T21:11:56Z","html_url":"https://github.com/JuliaOptimizers/CUTEst.jl/pull/56#discussion_r68657261","pull_request_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/comments/68657261"},"html":{"href":"https://github.com/JuliaOptimizers/CUTEst.jl/pull/56#discussion_r68657261"},"pull_request":{"href":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/56","id":74674914,"html_url":"https://github.com/JuliaOptimizers/CUTEst.jl/pull/56","diff_url":"https://github.com/JuliaOptimizers/CUTEst.jl/pull/56.diff","patch_url":"https://github.com/JuliaOptimizers/CUTEst.jl/pull/56.patch","issue_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/issues/56","number":56,"state":"open","locked":false,"title":"Bindeps and AbstractNLPModel","user":{"login":"abelsiqueira","id":1068752,"avatar_url":"https://avatars.githubusercontent.com/u/1068752?v=3","gravatar_id":"","url":"https://api.github.com/users/abelsiqueira","html_url":"https://github.com/abelsiqueira","followers_url":"https://api.github.com/users/abelsiqueira/followers","following_url":"https://api.github.com/users/abelsiqueira/following{/other_user}","gists_url":"https://api.github.com/users/abelsiqueira/gists{/gist_id}","starred_url":"https://api.github.com/users/abelsiqueira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abelsiqueira/subscriptions","organizations_url":"https://api.github.com/users/abelsiqueira/orgs","repos_url":"https://api.github.com/users/abelsiqueira/repos","events_url":"https://api.github.com/users/abelsiqueira/events{/privacy}","received_events_url":"https://api.github.com/users/abelsiqueira/received_events","type":"User","site_admin":false},"body":"Two major changes.\r\n\r\n- bindeps: Install CUTEst locally automatically for use inside CUTEst.jl\r\n- use NLPModels.jl: Last \"basic\" main package for NLPModels.jl (Along with JuMP, Ampl and Simple)","created_at":"2016-06-21T19:56:41Z","updated_at":"2016-06-27T21:11:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d2d4b514a87f18ccc02cdc276df5b1cf1cadad79","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/56/commits","review_comments_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/56/comments","review_comment_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/issues/56/comments","statuses_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/statuses/a321160123fcc091d7d85c97b29e3095e0b48585","head":{"label":"abelsiqueira:feat/abstractnlpmodel","ref":"feat/abstractnlpmodel","sha":"a321160123fcc091d7d85c97b29e3095e0b48585","user":{"login":"abelsiqueira","id":1068752,"avatar_url":"https://avatars.githubusercontent.com/u/1068752?v=3","gravatar_id":"","url":"https://api.github.com/users/abelsiqueira","html_url":"https://github.com/abelsiqueira","followers_url":"https://api.github.com/users/abelsiqueira/followers","following_url":"https://api.github.com/users/abelsiqueira/following{/other_user}","gists_url":"https://api.github.com/users/abelsiqueira/gists{/gist_id}","starred_url":"https://api.github.com/users/abelsiqueira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abelsiqueira/subscriptions","organizations_url":"https://api.github.com/users/abelsiqueira/orgs","repos_url":"https://api.github.com/users/abelsiqueira/repos","events_url":"https://api.github.com/users/abelsiqueira/events{/privacy}","received_events_url":"https://api.github.com/users/abelsiqueira/received_events","type":"User","site_admin":false},"repo":{"id":30668226,"name":"CUTEst.jl","full_name":"abelsiqueira/CUTEst.jl","owner":{"login":"abelsiqueira","id":1068752,"avatar_url":"https://avatars.githubusercontent.com/u/1068752?v=3","gravatar_id":"","url":"https://api.github.com/users/abelsiqueira","html_url":"https://github.com/abelsiqueira","followers_url":"https://api.github.com/users/abelsiqueira/followers","following_url":"https://api.github.com/users/abelsiqueira/following{/other_user}","gists_url":"https://api.github.com/users/abelsiqueira/gists{/gist_id}","starred_url":"https://api.github.com/users/abelsiqueira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abelsiqueira/subscriptions","organizations_url":"https://api.github.com/users/abelsiqueira/orgs","repos_url":"https://api.github.com/users/abelsiqueira/repos","events_url":"https://api.github.com/users/abelsiqueira/events{/privacy}","received_events_url":"https://api.github.com/users/abelsiqueira/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abelsiqueira/CUTEst.jl","description":"Julia's CUTEst Interface","fork":true,"url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl","forks_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/forks","keys_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/teams","hooks_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/hooks","issue_events_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/issues/events{/number}","events_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/events","assignees_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/assignees{/user}","branches_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/branches{/branch}","tags_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/tags","blobs_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/languages","stargazers_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/stargazers","contributors_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/contributors","subscribers_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/subscribers","subscription_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/subscription","commits_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/contents/{+path}","compare_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/merges","archive_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/downloads","issues_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/issues{/number}","pulls_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/labels{/name}","releases_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/releases{/id}","deployments_url":"https://api.github.com/repos/abelsiqueira/CUTEst.jl/deployments","created_at":"2015-02-11T20:29:56Z","updated_at":"2015-02-19T02:59:01Z","pushed_at":"2016-06-26T22:33:33Z","git_url":"git://github.com/abelsiqueira/CUTEst.jl.git","ssh_url":"git@github.com:abelsiqueira/CUTEst.jl.git","clone_url":"https://github.com/abelsiqueira/CUTEst.jl.git","svn_url":"https://github.com/abelsiqueira/CUTEst.jl","homepage":null,"size":241,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":true,"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":"JuliaOptimizers:develop","ref":"develop","sha":"dadf64fcbdc354c8486ab1fcc7f2df5f1c56bd87","user":{"login":"JuliaOptimizers","id":15710294,"avatar_url":"https://avatars.githubusercontent.com/u/15710294?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaOptimizers","html_url":"https://github.com/JuliaOptimizers","followers_url":"https://api.github.com/users/JuliaOptimizers/followers","following_url":"https://api.github.com/users/JuliaOptimizers/following{/other_user}","gists_url":"https://api.github.com/users/JuliaOptimizers/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaOptimizers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaOptimizers/subscriptions","organizations_url":"https://api.github.com/users/JuliaOptimizers/orgs","repos_url":"https://api.github.com/users/JuliaOptimizers/repos","events_url":"https://api.github.com/users/JuliaOptimizers/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaOptimizers/received_events","type":"Organization","site_admin":false},"repo":{"id":30661559,"name":"CUTEst.jl","full_name":"JuliaOptimizers/CUTEst.jl","owner":{"login":"JuliaOptimizers","id":15710294,"avatar_url":"https://avatars.githubusercontent.com/u/15710294?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaOptimizers","html_url":"https://github.com/JuliaOptimizers","followers_url":"https://api.github.com/users/JuliaOptimizers/followers","following_url":"https://api.github.com/users/JuliaOptimizers/following{/other_user}","gists_url":"https://api.github.com/users/JuliaOptimizers/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaOptimizers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaOptimizers/subscriptions","organizations_url":"https://api.github.com/users/JuliaOptimizers/orgs","repos_url":"https://api.github.com/users/JuliaOptimizers/repos","events_url":"https://api.github.com/users/JuliaOptimizers/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaOptimizers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaOptimizers/CUTEst.jl","description":"Julia's CUTEst Interface","fork":false,"url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl","forks_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/forks","keys_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/teams","hooks_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/events","assignees_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/tags","blobs_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/subscription","commits_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/merges","archive_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/downloads","issues_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/deployments","created_at":"2015-02-11T18:00:13Z","updated_at":"2015-11-08T01:43:50Z","pushed_at":"2016-06-26T22:33:33Z","git_url":"git://github.com/JuliaOptimizers/CUTEst.jl.git","ssh_url":"git@github.com:JuliaOptimizers/CUTEst.jl.git","clone_url":"https://github.com/JuliaOptimizers/CUTEst.jl.git","svn_url":"https://github.com/JuliaOptimizers/CUTEst.jl","homepage":null,"size":243,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":10,"forks":3,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/56"},"html":{"href":"https://github.com/JuliaOptimizers/CUTEst.jl/pull/56"},"issue":{"href":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/issues/56"},"comments":{"href":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaOptimizers/CUTEst.jl/statuses/a321160123fcc091d7d85c97b29e3095e0b48585"}}}}
{"actor":{"display_login":"abelsiqueira"}}