Comments (4)
There is a proposal to update swupd to output differently when running verify --install
that could improve this without needing to modify ister. Another potential solution would be to have swupd output to a log and make the gui read that file for swupd progress updates.
from ister.
Did you notice that after one of my pull requests where the 'run_command()' function was reqorked' the swupd progress displaying has also been improved. Not that it is ideal, but it now does actually follow the progress somewhat.
The core of the problem with following is 'swupd' printing those dots without newline character. If that is imporved - ister's swupd following will automatically improve too.
Here is what is going on now.
- swupd prints some progres info to stderr in a reasonable way. Short lines followed by newline.
- In parallel swupd prints lots of dots to stdout.
When someone runs swupd from a terminal, stdout and stderr kind of get interleaved and end result looks OK.
But wen we run swupd from ister - we buffer collect full lines and print them. And the end result is that dots are delayed and the output is not so nice. We do not have to buffer, but the output looks very very ugly in this case.
IOW, I highly suspect this issue is not really an issue anymore.
from ister.
Ah indeed, thanks for bringing that to my attention, I'll try making a release today and see how it goes.
from ister.
So it looks like this is in pretty good shape aside as far as the ister side of things can help anyway. Calling this good then.
from ister.
Related Issues (20)
- Feature request: provide a way to connect to the wireless(wi-fi) network
- provide a way to run raw shell commands post install. HOT 6
- Remove netifaces dependency
- ister must ignore mmcblk0rpmb as device HOT 1
- Error installing to BXT_GP board HOT 4
- replace kernel failed for Clear Linxu OS HOT 2
- Feature request: Disable network and update when install clear-xx-installer.img HOT 1
- Ister should use pytest HOT 3
- Consider installation as a CLI tool via pip HOT 2
- An invalid bundle name is still added to an image HOT 2
- The installer stops reporting "fdisk -l on /dev/mmcblk0rpmb" returned an error HOT 4
- 'No such file or directory' at end of mixer image build. HOT 5
- process_kernel_cmdline broken for token based builds
- Returning to bundle select screen keeps appends telemetrics bundle every time HOT 1
- Discussion of button theme HOT 6
- Update bundle selection to repace os-clr-on-clr with user-basic
- Installer doesn't list size of unpartitioned disks when selecting target disk
- NetworkRequirement's _network_connection() test should add test for dns
- Failure to install on nvme disk 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 ister.