From: Paul Nasrat Date: Tue, 21 Feb 2006 23:30:26 +0000 (+0000) Subject: Documentation and version updates X-Git-Tag: upstream/0.9.9~250 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=95eee6cb1cad0411df1a2627453c59e141daf678;p=tools%2Fcreaterepo.git Documentation and version updates --- diff --git a/Makefile b/Makefile index b36d5e5..763589d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PACKAGE = createrepo -VERSION = 0.4.3 +VERSION = 0.4.4 SHELL = /bin/sh top_srcdir = . srcdir = . diff --git a/createrepo.spec b/createrepo.spec index 23c43f8..dfc25e0 100644 --- a/createrepo.spec +++ b/createrepo.spec @@ -1,6 +1,6 @@ Summary: Creates a common metadata repository Name: createrepo -Version: 0.4.3 +Version: 0.4.4 Release: 1 License: GPL Group: System Environment/Base @@ -34,6 +34,9 @@ rpm packages %{_mandir}/man8/createrepo.8* %changelog +* Tue Feb 21 2006 Paul Nasrat +- 0.4.4 + * Thu Jul 14 2005 Seth Vidal - enable caching option - 0.4.3 diff --git a/docs/createrepo.8 b/docs/createrepo.8 index 3ba6974..1f92907 100644 --- a/docs/createrepo.8 +++ b/docs/createrepo.8 @@ -14,6 +14,8 @@ createrepo \- Create repomd (xml-rpm-metadata) repository .IP "\fB\-u --baseurl\fP " Optional base url location for all files. (not used by any clients at this time) +.IP "\fB\-o --outputdir\fP " +Optional output directory (useful for read only media). .IP "\fB\-x --exclude\fP " File globs to exclude, can be specified multiple times. .IP "\fB\-q --quiet\fP" @@ -30,6 +32,10 @@ cache of checksums of packages in the repository. In consecutive runs of createrepo over the same repository of files that do not have a complete change out of all packages this decreases the processing time dramatically. .br +.IP "\fB\--split\fP" +Run in split media mode. Rather than pass a single directory, take a set of +directories corresponding to different volumes in a media set. +.br .IP "\fB\-U --update-info-location\fP " Query a specified server for package update metadata. .br diff --git a/genpkgmetadata.py b/genpkgmetadata.py index 8c46c8b..b75343d 100755 --- a/genpkgmetadata.py +++ b/genpkgmetadata.py @@ -45,7 +45,8 @@ def usage(retval=1): createrepo [options] directory-of-packages Options: - -u, --baseurl = optional base url location for all files + -u, --baseurl = optional base url location for all files + -o, --outputdir = optional directory to output to -x, --exclude = files globs to exclude, can be specified multiple times -q, --quiet = run quietly -g, --groupfile to point to for group information (precreated) @@ -374,7 +375,7 @@ def parseArgs(args): cmds['dir-pattern-match'] = ['.*bin\/.*', '^\/etc\/.*'] try: - gopts, argsleft = getopt.getopt(args, 'phqVvg:s:x:u:c:U:', ['help', 'exclude=', + gopts, argsleft = getopt.getopt(args, 'phqVvg:s:x:u:c:U:o:', ['help', 'exclude=', 'quiet', 'verbose', 'cachedir=', 'basedir=', 'baseurl=', 'groupfile=', 'checksum=', 'version', 'pretty', 'split', 'outputdir=', @@ -440,7 +441,7 @@ def parseArgs(args): cmds['update-info-location'] = a elif arg == '--basedir': cmds['basedir'] = a - elif arg == '--outputdir': + elif arg in ['-o','--outputdir']: cmds['outputdir'] = a except ValueError, e: