[packagekit] Reviewing use of internal-error

Robin Norwood rnorwood at redhat.com
Mon Mar 24 20:33:54 PDT 2008


On Mon, 24 Mar 2008 21:28:00 +0000
Richard Hughes <hughsient at gmail.com> wrote:

> On Mon, 2008-03-24 at 15:55 -0400, Robin Norwood wrote:
> > By the by, looking at the error enums we have, a few of them don't
> > seem to be used by any backend.  At least these two so far:
> > 
> > {PK_ERROR_ENUM_FAILED_INITIALIZATION,	"failed-initialization"},
> > {PK_ERROR_ENUM_FAILED_FINALISE,		"failed-finalise"},
> > 
> > They're pretty vague, and leave one wondering 'why' the backend
> > failed to initialize or finalise - any why 'finalize' is spelled
> > with an 's'.
> > 
> > I'll probably remove them unless someone complains.
> 
> I think I was asked to do this by someone writing a backend -- I can't
> remember who or what, but please can we leave these in the API for now
> please.

Ok - they were used somewhere in gnome-packagekit, and removing
them broke the build.  Oops.  I've added them back.

-RN

-- 
Robin Norwood
Red Hat, Inc.

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching



More information about the PackageKit mailing list