-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a new updater system - Part 2 #39
Comments
How is this going? |
At this point development of the new updater system has not started, and development of the new updater will begin after 0.6.3 beta is released. |
API v2.0 is up, now the arms race of making a progress bar. TQDM is a no-go as it doesn't look nice. Looking at clint and click right now. |
Click did the job, look at this glorious progress bar: Simple and has an ETA timer. That now brings the required libraries for PyWeather up a notch but it's open source. Now working on how to get a progress bar when unpacking the zip (using Halo might as well work as unzipping 200 KB archives shouldn't take more than a few seconds), and also clearing the download indicator. Hey, click might be able to help with that too! |
I've now got an unpacking indicator working as well. Next step is to add MD5/SHA1 (SHA-256 maybe?) hash checking to the updater and quitting if it fails. So far the test script is working about as well as it needs to! |
I'm now working on the actual new updater and currently I'm working in a new system for checking for updates. Slow but steady progress. |
Now adding some new features (and of course lots of libraries):
New libraries:
|
The actual updater is 95% done. Now refactoring configupdate.py since sequential order rocks |
The actual new updater is now actually done. Here's what's left to do:
|
I've started working on branch switching. I've also added a depreciated branch checker as well. Things are coming along nicely. |
Things are moving along slowly, and I've decided to halt development of the updater because I'm tired of coding it for a few months. I'm halfway done with the branch selection feature. When development eventually resumes it shouldn't take that long for me to finish coding, but testing will take a long time. |
If you haven't already known, I deleted the updater (not radar). It was too ambitious and I needed to focus on what matters in an updater. I have decided to only implement the features below for the new updater:
|
Halted until all minor 1.0.0 issues are fixed. |
The PyWeather updater system sucks at the moment, and I'm going to change this in 0.6.4 beta.
Right now, the PyWeather updater uses Git to update, which has been notoriously unreliable across a half a dozen releases. Git only works on some platforms, and I'm sick of the updater breaking on each release.
Beginning with 0.6.3 beta, the Git updater will be entirely disabled, and I feel as if coding in a new updater will extend 0.6.3 beta's release time out too far into December 2017. A few configuration options will get removed as well.
From 0.6.3 beta to 0.6.4 beta, the .zip method will be the only way of downloading PyWeather within itself.
The new updater will encompass a few new tricks that I still need to learn, and here's how things will generally work:
With this, I need to learn these skills:
Part 2 involves adding the actual updater code itself into 0.6.4 beta.
Checklist:
The text was updated successfully, but these errors were encountered: