Re: createrepo testing please.

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <1074046602.2998.13.camel@binkley>
> 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
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.