[packagekit] Depends

Tim Lauridsen tla at rasmil.dk
Fri Aug 31 04:51:10 PDT 2007


Richard Hughes wrote:
> I've just noticed:
>
> the GetDeps method allows us to get the packages that this package
> depends on, but not packages that depend on this package, if you see
> what I mean. I need this for the "are you sure you want to remove this
> package UI".
>
> Should I add a boolean flag (b=depends_on_us) or just a whole new method:
>
> GetDepsForPackage
> WhatDepsOnPackage
>
> Better names/variables welcome.
>
> Richard.
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>   
New method please.

Names:
WhatRequires
WhatRequiresPackage

Tim





More information about the PackageKit mailing list