GNOME Bugzilla – Bug 740276
clarify fetch progress is not known until all metadata is fetched
Last modified: 2015-01-13 01:08:15 UTC
1) Change the text to Retrieving Metadata Objects: XXX/(Estimating) 2) Prioritize metadata fetches to achieve known status earlier 3) Include sufficient metadata in commit objects to more precisely estimate completion (see the object sizes work)
See also https://mail.gnome.org/archives/ostree-list/2013-August/msg00000.html
for #2, I think it'd be a matter of changing the current GQueue in OstreeFetcher into a priority queue, where we have exactly two priorities (metadata, content). Then once all metadata is fetched, we know exactly how many objects are left.
Split this into a series of micro-commits, so I'm going the pull-request route. https://github.com/GNOME/ostree/pull/40
Pull request merged. Does that fully cover what you had in mind or is there still outstanding work for item (3)?
I think so for this bug. Any real improvements here I think are probably best addressed via deltas. Then the loose fetch becomes a developer only case.