Comments (5)
In order to be deterministic we don't allow actually deleting the old release, what you should do is
- 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 - 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.
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.
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.
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.
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)
- COPY failed: stat /var/lib/docker/tmp/docker-builder904419244/config.js: no such file or directory HOT 1
- [ERROR] node-pre-gyp err!
- downloading released package gives 102 error
- Feature Request: delete old versions (from ui and from server) to free up space
- TypeError: Cannot read property 'secret' of undefined
- [QUESTION] How do I remove an application from my Nucleus server HOT 1
- RELEASES files are empty HOT 1
- Can't release both Mac and Windows zip files HOT 1
- [QUESTION] How do I rollback a release that I accidentally made?
- Running `yarn dev` throws `nucleus Failed to connect to DB` error HOT 1
- Accessing the web dashboard throws `nucleus Error: ENOENT: no such file or directory, open 'SOME-DIR/nucleus-server/public_out/index.html'` error HOT 1
- GPG Signing Error - Invalid left-hand side expression in prefix operation
- Install fails on windows/ubuntu HOT 3
- Access-Control-Allow-Origin , Access by CORS
- GPG key is invalid or missing, you must provide "config.gpgSigningKey" HOT 5
- Nuclei Errors:
- Docs correction for electronforge link in docs/Uploading.md
- [question] [howto] How to post a file to Nucleus?
- error E:\User\Documents\Work\nucleus-server\node_modules\sqlite3: Command failed. HOT 9
- Could electron-builder publish electron app to nucleus server? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nucleus.