-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pkg3: allow upgrading and removing packages from REPL #7
Comments
I don't think "invoke an external package management mode" necessarily means you have to type commands into another prompt. In my mind this entails spinning up another process with some sort of IPC communication. You could still do
For other commands, nothing would happen after the request is sent to the package management process. The filesystem/etc might change, but nothing in your current Julia session. |
Right – I think there would be less potential for confusion and problems if package management operations don't actually take place in the current process. If you want to use and uninstalled package, you would invoke the installation command, wait on it to complete, and then load the installed package. I also think that a |
Yes, a |
Why, exactly? What problem does this solve? If an existing version of a package is already loaded, modifying it in a different process doesn't make the situation any less confusing unless you warn or force a restart of the process that has loaded the old version. |
Using the command line to manage packages sounds like a usability loss to me. This will particularly be the case for Windows users.
I think we should keep the current
Pkg.*
functions. They should simply print a warning or ask to restart when modified packages are currently loaded.The text was updated successfully, but these errors were encountered: