[packagekit] handling input

Matthias Clasen matthias.clasen at gmail.com
Wed Jan 2 05:00:09 PST 2008


On Jan 2, 2008 6:36 AM, Tim Lauridsen <tim.lauridsen at googlemail.com> wrote:
> Matthias Clasen wrote:
> > On Jan 1, 2008 2:57 PM, Richard Hughes <hughsient at gmail.com> wrote:
> >
> >> Well, it's an artificial restriction. If you removed the check and used
> >> a package_id with a space then everything would still work. The point is
> >> _why_ - can and should a package name ever contain a space?
> >
> > I have no issue with this restriction on package names; I stumbled over it
> > when I tried to set up a repository named "PK test" ...
>
> yum currently don't support spaces in repo names, there was some talk on
> the yum-devel list, about making yum support spaces in reponames, i dont
> remember if the changes is commited yet.

Really ? It didn't complain when I tried, and things seemed to work, generally.
But in this case, the restriction is probably fine. As always, it
would be good to have some kind of error reporting to help diagnose
problems like this....

Matthias



More information about the PackageKit mailing list