Giter Site home page Giter Site logo

Comments (6)

julienw avatar julienw commented on July 25, 2024 2

I think it's quite easy to support the partial keys, what's more difficult is to make it configurable :-) But not sure there's a downside in having it all the time.

from node-orb.

patatepartie avatar patatepartie commented on July 25, 2024 1

I would just add the {{ arch }} template, inside the key, as it's recommended in some parts of the docs and would help people with builds on different architectures, at no cost for those who don't.

from node-orb.

KyleTryon avatar KyleTryon commented on July 25, 2024 1

Have a solution prepared: #83

from node-orb.

KyleTryon avatar KyleTryon commented on July 25, 2024

Yes, unfortunately, because caching is achieved via CircleCI config and is not "programable", it would be difficult to support multiple cache keys via an orb. The addition of {{ arch }} however should assist some (I can't think of any downsides).

In semi relation, I have also opened this feature request for CircleCI to allow more programmatic access to cache and artifacts. Please feel free to vote here: https://ideas.circleci.com/api-feature-requests/p/programmatic-cache-and-artifact-access

from node-orb.

Kurt-von-Laven avatar Kurt-von-Laven commented on July 25, 2024

Yeah, sorry, could you clarify that point, @KyleTryon? I don't see why this feature request would imply any special programmatic access to caches. The proposal as I understand it is to apply partial cache restoration as recommended by CircleCI. Having partial cache restoration all the time would break NPM users without a lock file as well as NPM users on version 4-. That being said, I don't personally feel there is a need for this feature being configurable at least in its first iteration since the command can inspect the presence of a lock file and npm --version and branch accordingly.

from node-orb.

KyleTryon avatar KyleTryon commented on July 25, 2024

It looks like we could enable this as non-configurable.

from node-orb.

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.