[Rpm-metadata] createrepo testing please.

seth vidal skvidal at phy.duke.edu
Wed Jan 14 02:16:42 UTC 2004


> Personally I think it's great if a program needs input (like createrepo)
> and doesn't get any, then it should output the --help message, or at
> least something like - "use -h for help, idiot".  It's helpful for
> people like me who don't know what they're doing :)  The current output
> from the program is not so helpful:
> ----------
> $ /usr/bin/createrepo
> Traceback (most recent call last):
>   File "/usr/share/createrepo/genpkgmetadata.py", line 345, in ?
>     if sys.argv[1] == 'profile':
> IndexError: list index out of range
> ----------

yah - I did something silly. this is fixed now. Thanks!



> Also, I'm a bit confused about the -u option.  Does that mean where it
> should output the xml files, because that doesn't seem to be what's
> happening.

look in the xml output - look at the location lines for the rpms -
you'll not that the content of the -u option is in the xml:base field of
the location tag.

-sv





More information about the Rpm-metadata mailing list