Comments (3)
This would allow us to pipe the status into applications such as Steam & Topgrade
Pipe? Not the DBus API?
These are pretty different things right now.
I know the DBus API is...unfriendly.
from rpm-ostree.
This would allow us to pipe the status into applications such as Steam & Topgrade
Pipe? Not the DBus API?
These are pretty different things right now.
I know the DBus API is...unfriendly.
Ah sorry, that was pipe in the metaphorical sense rather than me explicitly requesting it be pipe-able. I think either way is fine, whatever you believe to be most correct for ostree. I just need a way to get a 0-100 number from it.
from rpm-ostree.
Ideally jsonl (JSON line) output that includes:
- total image size
- download size
- currently downloaded size
- total ostree layer number
- total custom layer number
- download ostree layer number
- download custom ostree layer number
- downloaded ostree layer number
- downloaded custom ostree layer number
OR a dictionary with a mapping of layer keys to:
- layer size
- whether the layer is custom
- whether the layer exists in cache
- how % of the layer is downloaded
Latter is preferable, especially if parallel layer pulls are implemented*. But either work and give great flexibility in presentation.
These three attrs are especially important and should probably be included regardless, esp. to assist naive implementations (e.g., bash with jq):
- total image size
- download size
- currently downloaded size
As they allow for proper download time estimation while showing a two-stage slider that begins e.g., at 60% if 60% of the image is already downloaded.
Can either be through e.g., a dbus signal or rpm-ostree update --json
. Since it will be wrapped it does not really matter.
*after benchmarking I found that the current single threaded implementation saturates an internet connection of 70mbps-100mps, not so quite at 1gbps.
from rpm-ostree.
Related Issues (20)
- Do not ask for admin password for `upgrade --check`
- Roundtripping a commit via oci image looses the commitmeta which makes signed ostree break HOT 4
- [Bug] error: Bus owner changed, aborting. This likely means the daemon crashed HOT 2
- Kernel change detection excludes "boutique" kernels HOT 1
- Failed to include akmod to compose HOT 5
- v2024.6 release has the wrong name in the release notes HOT 1
- rpm %post ordering
- Don't vendor ostree-ext, fetch containers via bootc
- This is no `altfiles` in nsswitch.conf after using `rpm-ostree override replace glibc` to update glibc
- Not being able to remove a pre-installed package HOT 4
- rpm-ostree rebase ostree-unverified-registry does not include autheselect changes HOT 4
- [FEATURE REQUEST] `override --list` HOT 2
- Consider updating countme logic to match dnf countme changes (using /etc/machine-id as system epoch)
- `repo-packages` doesn't support non-local repositories HOT 1
- `repo-packages[].packages` doesn't support syntax of `packages`
- Repo priority ignored/inconsistent with dnf HOT 1
- Misleading error message about initramfs regeneration HOT 1
- rpm-ostree/ostree command execution reported an error "Segmentation fault (core dumped)"
- Test failing for Duplicate lines in journal related to tempfiles.d 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 rpm-ostree.