Giter Club home page Giter Club logo

Comments (3)

ilinkuo avatar ilinkuo commented on June 28, 2024

Please keep in mind a contrary point of view -- as a container developer, I would not like apps to update silently in production (OK if in dev). If apps update their manifest, then they must change their version number (even though that's not the way it works today). Without a js/css sandbox, a silently updating app can break the container or manifest as a bug in other apps, making things extremely hard to debug. This is why I recommend a SHA-1 signature in #46 (comment)

from f2.

brianbaker avatar brianbaker commented on June 28, 2024

Thinking about this one again and reading up on the original issue over on the Google Group, I think at most we would add a cache busting or version parameter to the AppManifest request but not to the individual script/style urls that are specified in the AppManifest. It seems a little heavy-handed to also append the parameter to the script/style requests when the app developer could just as easily make that update (using the url/parameter of their choice) when they make an update to the AppManifest.

The beta Dev Center currently computes an SHA-1 but it computes it on the AppConfig and not the AppManifest. I wonder if the Dev Center should go ahead and request the AppManifest of an app when a developer updates the AppConfig and store it down. That signature could then be passed down with the AppConfig to the container so that it could be compared to the signature of the manifest that is live on the site. I think it would be up to the container developer to do the signature checking/verification and handle errors accordingly. Some containers may not be concerned with this type of verification.

from f2.

markhealey avatar markhealey commented on June 28, 2024

There is an option to add debugMode:true to the ContainerConfig though I realize this is a discussion on App versioning. Closing this issue since the beta Dev Center is staying beta, and work on a formal Registry spec is forthcoming.

from f2.

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.