Documentation and version updates
authorPaul Nasrat <pnasrat@redhat.com>
Tue, 21 Feb 2006 23:30:26 +0000 (23:30 +0000)
committerPaul Nasrat <pnasrat@redhat.com>
Tue, 21 Feb 2006 23:30:26 +0000 (23:30 +0000)
Makefile
createrepo.spec
docs/createrepo.8
genpkgmetadata.py

index b36d5e51f3011a1d96ac4d62cb92763aa9df7ed8..763589dcc6b962105ae8fdfe390c6aff119aaadb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 PACKAGE = createrepo
-VERSION = 0.4.3
+VERSION = 0.4.4
 SHELL = /bin/sh
 top_srcdir = .
 srcdir = .
index 23c43f84568c92f4b56bf9cd9a10aaec08c82db2..dfc25e0c4c35907e575f3ecc4ce7cc770319b378 100644 (file)
@@ -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 <pnasrat@redhat.com>
+- 0.4.4
+
 * Thu Jul 14 2005 Seth Vidal <skvidal@phy.duke.edu>
 - enable caching option
 - 0.4.3
index 3ba6974e6b5d1989363fc99e853b5a1285a0c531..1f92907f025e810ab2fdd8e109bec96eecff4be1 100644 (file)
@@ -14,6 +14,8 @@ createrepo \- Create repomd (xml-rpm-metadata) repository
 .IP "\fB\-u --baseurl\fP <url>"
 Optional base url location for all files. (not used by any clients at this
 time)
+.IP "\fB\-o --outputdir\fP <url>"
+Optional output directory (useful for read only media).
 .IP "\fB\-x --exclude\fP <package>"
 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 <url>"
 Query a specified server for package update metadata.
 .br
index 8c46c8b7cfabe658fbecf4ba6c1aab746cfb5012..b75343df55aa757e9936a8388bce75b5fb4b1123 100755 (executable)
@@ -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 <url> = optional base url location for all files
+     -o, --outputdir <dir> = optional directory to output to
      -x, --exclude = files globs to exclude, can be specified multiple times
      -q, --quiet = run quietly
      -g, --groupfile <filename> 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: