[packagekit] get-depends and get-requires probably shouldn't use an array of package_ids
Daniel Nicoletti
dantti85-pk at yahoo.com.br
Wed Jul 8 06:34:00 PDT 2009
Hey,
gnome-packagekit should and probably is using
the array of packages.
And KPackageKit.
the reason for this is that GUI don't know how to handle
dependencies, and each distribution has it's own way to
do it. So if I want to install foo and bar, I get the depends for
both at the same time, and the backend will not let duplicated
dependencies get out. This is really important and should stay
as it is.
In the past the behavior was what you said but It was a pain
to get rid of the duplicated ones, and sometimes one package
depends on foo1 and the other needs foo1.2 which in the
end WILL install foo1.2 so having this handled by the backend
IS IMPORTANT.
Best,
Daniel.
----- Mensagem original ----
De: Mounir Lamouri <mounir.lamouri at gmail.com>
Para: PackageKit users and developers list <packagekit at lists.freedesktop.org>
Enviadas: Quarta-feira, 8 de Julho de 2009 9:59:55
Assunto: [packagekit] get-depends and get-requires probably shouldn't use an array of package_ids
According to specifications, get-depends and get-requires should use
an array of packages.
I was thinking this should be avoided for two reasons:
- it looks like it is not used by pkcon and gnome-packagekit
- even if it was used, you can't know from which package the depends come
If client really want to get depends of many packages at the same
time, better to call get-depends for each package and then merge the
list.
(This is the same for get-requires)
So, am I missing something or should we change specifications ?
Thanks,
Mounir
_______________________________________________
PackageKit mailing list
PackageKit at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/packagekit
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
More information about the PackageKit
mailing list