Git Product home page Git Product logo

Comments (4)

StefanKarpinski avatar StefanKarpinski commented on May 20, 2024 2

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 pkg> REPL mode would be really handy.

from juleps.

tbreloff avatar tbreloff commented on May 20, 2024 1

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 Pkg.rm in the current process but it would send that command to a "package management process". Doing using XYZ when XYZ isn't installed could:

  • ask if you want to install
  • send an "install request" to the package management process
  • confirm installation
  • call using XYZ

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.

from juleps.

ChrisRackauckas avatar ChrisRackauckas commented on May 20, 2024

Yes, a pkg> REPL mode sounds like a perfect middleground.

from juleps.

tkelman avatar tkelman commented on May 20, 2024

there would be less potential for confusion and problems if package management operations don't actually take place in the current process

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.

from juleps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.