[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Using libxml2 with compression

From: Greg Chicares
Subject: Re: [lmi] Using libxml2 with compression
Date: Thu, 31 Aug 2017 00:57:33 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 2017-08-30 15:50, Vadim Zeitlin wrote:
> On Wed, 30 Aug 2017 13:03:42 +0000 Greg Chicares <address@hidden> wrote:
> GC> [...] the only files
> GC> we really want to compress are product data files, and those work:
> GC> 
> GC> /opt/lmi/bin[0]$pushd ../data
> GC> /opt/lmi/data[0]$for y in database funds policy rounding strata; do xz 
> --stdout --threads=32 sample.$y >xz.$y; done
> GC> /opt/lmi/data[0]$ls xz.*
> GC> xz.database  xz.finds  xz.funds  xz.policy  xz.rounding  xz.strata
> GC> /opt/lmi/data[0]$popd
> GC> /opt/lmi/bin
> GC> /opt/lmi/bin[0]$wine ./lmi_wx_shared --ash_nazg --data_path=/opt/lmi/data 
> GC> 
> GC> Now I can successfully run an illustration for the 'xz' product.
>  OK, so, AFAICS, there is nothing remaining to do here (at least for me) --
> please let me know if I'm wrong.

Nothing left to do (unless testing with the makefile change that I
just pushed reveals problems that I don't see in my chroot). Now we
can distribute xz-ified product files whenever we like, and as a
practical matter they're opaque enough. (Running them through the
product editor removes compression, but only "trusted" users can
do that.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]