{"action":"created","issue":{"url":"https://api.github.com/repos/erlang/rebar3/issues/1845","repository_url":"https://api.github.com/repos/erlang/rebar3","labels_url":"https://api.github.com/repos/erlang/rebar3/issues/1845/labels{/name}","comments_url":"https://api.github.com/repos/erlang/rebar3/issues/1845/comments","events_url":"https://api.github.com/repos/erlang/rebar3/issues/1845/events","html_url":"https://github.com/erlang/rebar3/pull/1845","id":344924857,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MjA0Nzkw","number":1845,"title":"Add user_default module and have some shell commands","user":{"login":"Pouriya-Jahanbakhsh","id":20663776,"node_id":"MDQ6VXNlcjIwNjYzNzc2","avatar_url":"https://avatars3.githubusercontent.com/u/20663776?v=4","gravatar_id":"","url":"https://api.github.com/users/Pouriya-Jahanbakhsh","html_url":"https://github.com/Pouriya-Jahanbakhsh","followers_url":"https://api.github.com/users/Pouriya-Jahanbakhsh/followers","following_url":"https://api.github.com/users/Pouriya-Jahanbakhsh/following{/other_user}","gists_url":"https://api.github.com/users/Pouriya-Jahanbakhsh/gists{/gist_id}","starred_url":"https://api.github.com/users/Pouriya-Jahanbakhsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pouriya-Jahanbakhsh/subscriptions","organizations_url":"https://api.github.com/users/Pouriya-Jahanbakhsh/orgs","repos_url":"https://api.github.com/users/Pouriya-Jahanbakhsh/repos","events_url":"https://api.github.com/users/Pouriya-Jahanbakhsh/events{/privacy}","received_events_url":"https://api.github.com/users/Pouriya-Jahanbakhsh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-26T16:54:16Z","updated_at":"2018-07-26T18:15:18Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/erlang/rebar3/pulls/1845","html_url":"https://github.com/erlang/rebar3/pull/1845","diff_url":"https://github.com/erlang/rebar3/pull/1845.diff","patch_url":"https://github.com/erlang/rebar3/pull/1845.patch"},"body":"rebar3 shell will have new commands for example compile(), version(), tree() etc.\r\n\r\n```erlang\r\npouriya@codefather /p/rebar3 $ ./rebar3 shell\r\n===> Verifying dependencies...\r\n===> Compiling rebar\r\nErlang/OTP 20 [erts-9.3] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [kernel-poll:false]\r\nEshell V9.3  (abort with ^G)\r\n1> v().\r\nrebar 0.0.0+build.2.ref26f12dc on Erlang/OTP 20 Erts 9.3\r\nok\r\n2> version().\r\nrebar 0.0.0+build.2.ref26f12dc on Erlang/OTP 20 Erts 9.3\r\nok\r\n3> path().\r\n/p/rebar3/_build/default/lib/ssl_verify_fun/ebin /p/rebar3/_build/default/lib/relx/ebin /p/rebar3/_build/default/lib/providers/ebin /p/rebar3/_build/default/lib/getopt/ebin /p/rebar3/_build/default/lib/eunit_formatters/ebin /p/rebar3/_build/default/lib/erlware_commons/ebin /p/rebar3/_build/default/lib/cth_readable/ebin /p/rebar3/_build/default/lib/cf/ebin /p/rebar3/_build/default/lib/certifi/ebin /p/rebar3/_build/default/lib/bbmustache/ebin /p/rebar3/_build/default/lib/rebar/ebinok\r\n4> tree().\r\nVerifying dependencies...\r\n└─ rebar─0.0.0+build.2.ref26f12dc (project app)\r\n   ├─ bbmustache─1.5.0 (hex package)\r\n   ├─ certifi─2.0.0 (hex package)\r\n   ├─ cf─0.2.2 (hex package)\r\n   ├─ cth_readable─1.4.2 (hex package)\r\n   ├─ erlware_commons─1.2.0 (hex package)\r\n   ├─ eunit_formatters─0.5.0 (hex package)\r\n   ├─ getopt─1.0.1 (hex package)\r\n   ├─ providers─1.7.0 (hex package)\r\n   ├─ relx─3.26.0 (hex package)\r\n   └─ ssl_verify_fun─1.1.3 (hex package)\r\nok\r\n5> c().\r\nVerifying dependencies...\r\nCompiling rebar\r\nok\r\n6> compile().\r\nVerifying dependencies...\r\nCompiling rebar\r\nok\r\n```"},"comment":{"url":"https://api.github.com/repos/erlang/rebar3/issues/comments/408187549","html_url":"https://github.com/erlang/rebar3/pull/1845#issuecomment-408187549","issue_url":"https://api.github.com/repos/erlang/rebar3/issues/1845","id":408187549,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODE4NzU0OQ==","user":{"login":"ferd","id":111141,"node_id":"MDQ6VXNlcjExMTE0MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/111141?v=4","gravatar_id":"","url":"https://api.github.com/users/ferd","html_url":"https://github.com/ferd","followers_url":"https://api.github.com/users/ferd/followers","following_url":"https://api.github.com/users/ferd/following{/other_user}","gists_url":"https://api.github.com/users/ferd/gists{/gist_id}","starred_url":"https://api.github.com/users/ferd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferd/subscriptions","organizations_url":"https://api.github.com/users/ferd/orgs","repos_url":"https://api.github.com/users/ferd/repos","events_url":"https://api.github.com/users/ferd/events{/privacy}","received_events_url":"https://api.github.com/users/ferd/received_events","type":"User","site_admin":false},"created_at":"2018-07-26T18:15:18Z","updated_at":"2018-07-26T18:15:18Z","author_association":"CONTRIBUTOR","body":"Because Erlang can only load one module of a given name at a time, this risks preventing users from defining or using their own `user_default` files. I don't think it's a good idea to break possibly pre-existing unrelated tools people have. Instead, I would advise that you add that file (or [`shell_default`](http://erlang.org/doc/man/shell_default.html))to your local install or use the `.erlang` file."}}
{"actor":{"display_login":"ferd"}}