genpkgmetadata.py

[email protected]
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
 genpkgmetadata.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 0ef34af2cbfd7935a13a9ed4d38f087898cfe0b2
Author: Seth Vidal <[email protected]>
Date:   Thu Feb 11 10:57:23 2010 -0500

    add option for setting max-delta-rpm-size for pkgs which are
    too large to be delta'd.

diff --git a/genpkgmetadata.py b/genpkgmetadata.py
index 729179f..7877ba9 100755
--- a/genpkgmetadata.py
+++ b/genpkgmetadata.py
@@ -112,7 +112,9 @@ def parse_args(args, conf):
         help="the number of older versions to make deltas against")
     parser.add_option("--read-pkgs-list", default=None, dest='read_pkgs_list',
         help="output the paths to the pkgs actually read useful with --update")
-
+    parser.add_option("--max-delta-rpm-size", default=100000000, 
+        dest='max_delta_rpm_size', type='int', 
+        help="max size of an rpm that to run deltarpm against (in bytes)")
     (opts, argsleft) = parser.parse_args(args)
     if len(argsleft) > 1 and not opts.split:
         errorprint(_('Error: Only one directory allowed per run.'))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.