Comments (7)
@probonopd I'm currently solving the problem at its root(the library).
from appimageupdater.
Thanks @antony-jr. In this case, we could check whether a sever supports range requests and if it does not, download the whole thing.
from appimageupdater.
@probonopd The library is fully rewritten in C++ and working great , To test out the new library , You can use an example program.
$ git clone https://github.com/antony-jr/AppImageUpdaterBridge
$ cd AppImageUpdaterBridge
$ cd examples/SimpleUpdate
$ mkdir build
$ cd build
$ qmake "CONFIG+=LOGGING_DISABLED" .. # Assuming you have qt installed
$ make -j$(nproc)
$ wget -c "https://gitlab.com/probono/QtQuickApp/-/jobs/73879740/artifacts/raw/QtQuickApp-x86_64.AppImage"
$ ./SimpleUpdate QtQuickApp-x86_64.AppImage
$ # Test Out.
I will soon fix this program , Since the hardest work is done , All I have to do is connect some slots and change the UI.
from appimageupdater.
Similar issue: AppImageCommunity/AppImageUpdate#94
from appimageupdater.
Ping @antony-jr this is very important for us. Would be great if you could look into it. Thanks!
from appimageupdater.
CC: @probonopd
AppImageUpdaterBridge can now use Gitlab as a generic zsync transport method , But the new code is still in the experimental stage but working good so far , Things that are staged in experimental will be available in a week or so after rigorous testing and refactoring. I'm also planning to make this a plugin.
These are the new features which will be available after the experimental code is merged with master,
- Completely rewritten in C++(no legacy but still uses the old hash table so some code is inherited , The hash table is used purely because of the performance , there are future plans to change this completely).
- Non-Blocking Single Threaded API , Everything is cyclic and does not even need mutex.
( Optionally the user can use a separate thread for the controllers if he/she wishes ). - Synced with the Qt Event Loop , i.e non-blocking single threaded API.
- PIMPL (Pointer to IMPLementation)
- Easy to use API.
- Fixed Memory leaks.
EDIT: using zsync algorithm in parallel seems to be a overkill , The amount of resource needed to make it parallel is more and thus consumes more time. Therefore after a lot of trails , I decided that using the zsync algorithm in a single thread is always the fastest and reduces a lot of resource and complications. And also both multi-threaded and single thread versions run in same time.(This is due to the overuse of resource.)
from appimageupdater.
Just found out that Gitlab cannot support range requests , Thus even if we can check for updates, Its not possible to do the update , https://gitlab.com/gitlab-com/support-forum/issues/3655 (Hope they fix this soon).
from appimageupdater.
Related Issues (20)
- Minimalistic design HOT 2
- GUI for updating all AppImages inside a directory HOT 2
- Automatically elevate to root if necessary HOT 8
- Support Markdown in Changelog window HOT 6
- AppImage not updating properly HOT 25
- AppImageUpdater re-downloading same version instead of update HOT 14
- Add a flag to auto-accept dialogs if triggered with --standalone-update-dialog HOT 19
- Get rid of the application indicators? HOT 4
- Do not create "revised-on" if we already have the "new" file HOT 5
- CLI capability HOT 3
- AppImageUpdater integration into appimaged
- Add flag to simply check-for-update and exit HOT 1
- Please make it look more native on the desktop HOT 4
- n/w seqmentation fault when using libqxcb-glx-integration.so HOT 10
- Make system tray icon opt-in because Gnome desktop environment variants don't have one
- Updated file must also get the new name HOT 7
- Give clear message if GitHub Release does not have an AppImage HOT 10
- AppImageUpdater cannot update itself HOT 6
- "Updater" button does nothing HOT 3
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 appimageupdater.