Giter VIP home page Giter VIP logo

Comments (2)

jrburke avatar jrburke commented on August 15, 2024

volo skips dependencies if they are already installed, so it seems like if, after initial installation, you manually remove lib/a and then do ln -s folder/a a inside the lib folder, that would be enough?

I think that would do the trick, so closing as a discussion ticket, but feel free to continue discussion here.

from volo.

jbblanchet avatar jbblanchet commented on August 15, 2024

Thanks for your response.

You're right that I can manually create the link. But then I'll have to do it for every dev on the team, for every dependency that they want to work on. volo add -f will also remove the link.

Here's the kind of workflow I had in mind:

I'm working on a website, and I find a bug or a missing feature in a library. I clone the library's repository, run volo add -f, do my changes, they are reflected in my website immediately. Once I'm satisfied, I push the changes to git, delete my local repository, run volo add -f, and SHAZAM! I'm back to pulling my code from github.

Having the possibility to create alternate paths to libraries would let us implement this king of workflow.

BTW, the idea isn't mine. It's being built into asp.net vNext, where local projects can override NuGet dependencies. From Scott Hanselman's blog:

Even better, let’s say NuGet package Foo.Bar has a bug but you’ve only got the NuGet package. You can make a folder called Foo.Bar in our local project and put the source via "git clone" in that folder. This is great for open source projects. That local version overrides the NuGet, allowing you to easily patch bugs locally in libraries while you wait for a new release. When a new fixed NuGet-distributed version shows up, update the version and delete the local source.

I'm not a fan of NuGet for multiple reasons, I'm just pointing that out so you know I'm not the only one who sees a need for such a feature. :)

from volo.

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.