{"action":"closed","issue":{"url":"https://api.github.com/repos/JuliaLang/Pkg.jl/issues/600","repository_url":"https://api.github.com/repos/JuliaLang/Pkg.jl","labels_url":"https://api.github.com/repos/JuliaLang/Pkg.jl/issues/600/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/Pkg.jl/issues/600/comments","events_url":"https://api.github.com/repos/JuliaLang/Pkg.jl/issues/600/events","html_url":"https://github.com/JuliaLang/Pkg.jl/issues/600","id":348770595,"node_id":"MDU6SXNzdWUzNDg3NzA1OTU=","number":600,"title":"Preview command parsing failures","user":{"login":"HarrisonGrodin","id":25474424,"node_id":"MDQ6VXNlcjI1NDc0NDI0","avatar_url":"https://avatars0.githubusercontent.com/u/25474424?v=4","gravatar_id":"","url":"https://api.github.com/users/HarrisonGrodin","html_url":"https://github.com/HarrisonGrodin","followers_url":"https://api.github.com/users/HarrisonGrodin/followers","following_url":"https://api.github.com/users/HarrisonGrodin/following{/other_user}","gists_url":"https://api.github.com/users/HarrisonGrodin/gists{/gist_id}","starred_url":"https://api.github.com/users/HarrisonGrodin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HarrisonGrodin/subscriptions","organizations_url":"https://api.github.com/users/HarrisonGrodin/orgs","repos_url":"https://api.github.com/users/HarrisonGrodin/repos","events_url":"https://api.github.com/users/HarrisonGrodin/events{/privacy}","received_events_url":"https://api.github.com/users/HarrisonGrodin/received_events","type":"User","site_admin":false},"labels":[{"id":542101690,"node_id":"MDU6TGFiZWw1NDIxMDE2OTA=","url":"https://api.github.com/repos/JuliaLang/Pkg.jl/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-08T15:12:40Z","updated_at":"2018-08-15T22:16:31Z","closed_at":"2018-08-15T22:16:31Z","author_association":"NONE","body":"It seems like the parsing involved with `preview` is broken on the latest `master`:\r\n\r\n```julia\r\njulia> Pkg.add(\"Example\"; preview = true)\r\n───── Preview mode ─────\r\n Resolving package versions...\r\n  Updating `~/.julia/environments/v1.0/Project.toml`\r\n  [7876af07] + Example v0.5.1\r\n  Updating `~/.julia/environments/v1.0/Manifest.toml`\r\n  [7876af07] + Example v0.5.1\r\n  Building skipping building in preview mode\r\n───── Preview mode ─────\r\n\r\n(v1.0) pkg> preview add Example\r\nERROR: Wrong number of arguments\r\n\r\n(v1.0) pkg> preview up\r\nERROR: MethodError: Cannot `convert` an object of type String to an object of type Pkg.REPLMode.CommandSpec\r\nClosest candidates are:\r\n  convert(::Type{T}, ::T) where T at essentials.jl:154\r\n  Pkg.REPLMode.CommandSpec(::Any, ::Any, ::Any, ::Any, ::Any, ::Any) at /home/user/julia-dev/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:111\r\nStacktrace:\r\n [1] Pkg.REPLMode.PkgCommand(::Array{Any,1}, ::String, ::Array{Any,1}, ::Array{Pkg.Types.PackageSpec,1}) at /home/user/julia-dev/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:325\r\n [2] do_cmd!(::Pkg.REPLMode.PkgCommand, ::REPL.LineEditREPL) at /home/user/julia-dev/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:535\r\n [3] #do_cmd#30(::Bool, ::Function, ::REPL.LineEditREPL, ::String) at /home/user/julia-dev/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:507\r\n [4] do_cmd at /home/user/julia-dev/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:503 [inlined]\r\n [5] (::getfield(Pkg.REPLMode, Symbol(\"##41#44\")){REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /home/user/julia-dev/usr/share/julia/stdlib/v1.0/Pkg/src/REPLMode.jl:842\r\n [6] #invokelatest#1 at ./essentials.jl:686 [inlined]\r\n [7] invokelatest at ./essentials.jl:685 [inlined]\r\n [8] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /home/user/julia-dev/usr/share/julia/stdlib/v1.0/REPL/src/LineEdit.jl:2261\r\n [9] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /home/user/julia-dev/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:1029\r\n [10] run_repl(::REPL.AbstractREPL, ::Any) at /home/user/julia-dev/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:191\r\n [11] (::getfield(Base, Symbol(\"##720#722\")){Bool,Bool,Bool,Bool})(::Module) at ./logging.jl:311\r\n [12] #invokelatest#1 at ./essentials.jl:686 [inlined]\r\n [13] invokelatest at ./essentials.jl:685 [inlined]\r\n [14] macro expansion at ./logging.jl:308 [inlined]\r\n [15] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:330\r\n [16] exec_options(::Base.JLOptions) at ./client.jl:242\r\n [17] _start() at ./client.jl:421\r\n```"}}
{"actor":{"display_login":"bors"}}