Finding the size of xdg-apps

Alexander Larsson alexl at redhat.com
Thu Jan 14 09:09:24 UTC 2016


On tis, 2015-12-22 at 11:02 -0600, Dan Nicholson wrote:
> On Dec 22, 2015 8:42 AM, "Alexander Larsson" <alexl at redhat.com>
> wrote:
> >
> >
> > I'm not sure exactly what it does, but there is this flag:
> >   OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES
> >
> > Maybe it can help?
> >
> > Of course, for updates the story is more complex.
> I'm not sure how this works with static xdeltas, but for commits it
> adds an entry to the commit object variant with the uncompressed
> sizes. Here's how we're using it in our updater.
> https://github.com/endlessm/eos-updater/blob/master/src/eos-updater-p
> oll.c
> Of course, xdg-app needs to set that flag when making commits. I'm
> not sure it entirely fits the purpose here, but it seems like a good
> start.

This seems to rely on patches to your ostree that are not in the
upstream ostree, no? Have they been proposed for inclusion?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's a suave vegetarian sorceror with a secret. She's a cold-hearted 
antique-collecting single mother who inherited a spooky stately manor 
from her late maiden aunt. They fight crime! 





More information about the xdg-app mailing list