Giter Club home page Giter Club logo

Comments (5)

MarshallOfSound avatar MarshallOfSound commented on August 30, 2024

In order to be deterministic we don't allow actually deleting the old release, what you should do is

  1. Have logic in your app to check if the current version is "dead" (by hitting the versions.json file) and if it is doing nothing other than checking for an update and showing some UI explaining this to the user
  2. Release a newer version straight away, even if this is just the last known good version with the version number bumped in the package.json

from nucleus.

MarshallOfSound avatar MarshallOfSound commented on August 30, 2024

Hm, actually thinking about this, maybe we should make it so if the latest version is marked as dead all the metadata files are updated to not include those versions 🤔

Thoughts @Stoyvo ?

from nucleus.

Stoyvo avatar Stoyvo commented on August 30, 2024

Hey @MarshallOfSound

I was thinking maybe something along the lines of:

If release is marked dead, provide option to archive files elsewhere (non-public location) or remove files in that release.

I would hope many app developers have their own archive of their releases, but Nucleus could partially provide that (with moving dead files to archive). I personally do not need the previous releases made available based on my CI cycle.

from nucleus.

MarshallOfSound avatar MarshallOfSound commented on August 30, 2024

If release is marked dead, provide option to archive files elsewhere (non-public location) or remove files in that release.

This will make the update server non-deterministic. I.e. Files that once existed will not exist any more and this is a bad idea (especially for something as critical as an update server)

from nucleus.

MarshallOfSound avatar MarshallOfSound commented on August 30, 2024

As part of the work in #35 my suggestion above will be implemented.

maybe we should make it so if the latest version is marked as dead all the metadata files are updated to not include those versions

No dead version will appear in any win32 / darwin release metadata. How dead versions work for linux I'm not yet sure 🤔

from nucleus.

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.