Bug 487968 - [PATCH] Support configurable root cache compression
Summary: [PATCH] Support configurable root cache compression
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora Hosted Projects
Classification: Retired
Component: mock
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Clark Williams
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-01 21:41 UTC by Lubomir Rintel
Modified: 2013-01-10 05:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-11 18:43:31 UTC
Embargoed:


Attachments (Terms of Use)
Support configurable root cache compression (4.08 KB, patch)
2009-03-01 21:41 UTC, Lubomir Rintel
no flags Details | Diff

Description Lubomir Rintel 2009-03-01 21:41:02 UTC
Created attachment 333665 [details]
Support configurable root cache compression

This patch adds configuration options that influence how is the root
cache compressed:

  config_opts['plugin_conf']['root_cache_opts']['compress_program'] = "gzip"
  config_opts['plugin_conf']['root_cache_opts']['extension'] = ".gz"

Motivation to do this was to be able to use lzma compression. While it
takes a long time to compress, for me it was more than two times faster
than gzip when decompressing. Since I only seldom regenerate the root cache
while doing a lot of builds, I was able to gain a considerable speed up.

Comment 1 Lubomir Rintel 2009-03-20 10:35:22 UTC
Ping?

Comment 2 Clark Williams 2009-03-27 15:24:14 UTC
Looks fine. I've pulled it in for inclusion in the next release.

Comment 3 Clark Williams 2010-09-11 18:43:31 UTC
I missed closing this when the change went in.


Note You need to log in before you can comment on or make changes to this bug.