Giter Site home page Giter Site logo

Comments (6)

bodil avatar bodil commented on June 24, 2024

I wouldn't want that to be a strict requirement, but if you're able to perform a test like that cheaply (ie. no noticeable slowdown) then I wouldn't be opposed to printing a warning message about it.

from pulp.

garyb avatar garyb commented on June 24, 2024

Yeah, I'm not sure there's a great way of doing this without writing your own check. Invoking bower to do anything is slow as it checks whether it needs updating periodically, and also checks versions with the registry too when doing bower list.

from pulp.

hdgarrood avatar hdgarrood commented on June 24, 2024

Bower has the --offline flag to prevent it from doing that, psc-publish uses this.

from pulp.

garyb avatar garyb commented on June 24, 2024

Oh right, nice! I wish I'd known about that earlier.

from pulp.

hdgarrood avatar hdgarrood commented on June 24, 2024

Note to self: bower list --offline --json seems to be what we want, but isn't amazingly fast. It takes 1.34s for me on pulp as of 10.0.0, which has quite a few purescript dependencies but not that many. The output includes a missing: true for packages that haven't been installed.

from pulp.

hdgarrood avatar hdgarrood commented on June 24, 2024

I'm not going to get around to this any time soon and it doesn't look as if anyone else will, so closing.

from pulp.

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.