Summary: Creates a common metadata repository
Name: createrepo
-Version: 0.4.3
+Version: 0.4.4
Release: 1
License: GPL
Group: System Environment/Base
%{_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
.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"
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
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)
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=',
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: