Coder Social home page Coder Social logo

Comments (2)

chapman39 avatar chapman39 commented on September 22, 2024

I think this would be useful. I personally forget to add the "%" sometimes in --spec sometimes so we should make it obvious to the user that we aren't building the project package.

Also on that note, what if the user does do --spec=<project_package> without the "%", with this update?

While this issue is 3 years old but it does relate to #11.

from uberenv.

adrienbernede avatar adrienbernede commented on September 22, 2024

@white238 I would like to know more about the use case here.

I understand what you guys want, but I wonder if this is good for uberenv. It’s meant to be a specialized wrapper that sets spack up and builds you projects dependencies.

If we add the ability to install any package, it becomes a Spack wrapper: we can install anything and we may get used to rely on Uberenv instead of Spack, with several risks:

  • Wanting to add support for more and more options from Spack we don’t currently need. "Hey, since we can install anything, it would be good to be able to call spack find to list all the specs we have", "Oh, and I’d like to be able to remove packages too".
  • Adding complexity to the script. The current implementation, just got simpler thanks to @chapman39, but adding the ability to install any package may require an entirely new path in the script. The evil is in the details.
  • Conflicting with the core feature. I think installing a specific spec would have to be done outside the environment, otherwise the spec is added to the environment, correct ? I’m rusted with environment, but what I mean is that I’m not sure it’s as simple at it seems to keep things straightforward (and maintainable) in terms of implementation.

My alternate suggestion (or question) is: What’s the problem with using the Spack set up by Uberenv to manage your additional packages? It’s there, set up with your controlled configuration, it may require you to set some env variable to be isolated (how about that spack command wrapper @kennyweiss wanted uberenv to generate?).

from uberenv.

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.