mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-28 02:20:18 -04:00
cli: Estimate install ETA from remaining bytes
Flatpak's progress percentage is a heuristic that includes metadata discovery and write phases. Using it as a time base can produce misleading remaining times or reach 00:00 while downloads are still active. Track the computed transfer total in FlatpakProgress. Use the remaining bytes and measured transfer rate to calculate the CLI ETA.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f