[packagekit] Hacking dbus signals

Friki zoid friackazoid at gmail.com
Wed Feb 11 09:05:49 PST 2009


I am writing patch for gpk-repo. I want to give users the opportunity edit
the "baseurl" of yum.conf from this program. Now I think that it was easy
get it by parsing yum.conf.
Thanks for answer.
2009/2/11 Richard Hughes <hughsient at gmail.com>

> On Wed, 2009-02-11 at 15:48 +0300, Friki zoid wrote:
> > I wrote a not entirely correct. I understand that there not legal case
> > to get url in my program. I want to wrote patch for PackegeKit, to add
> > key_url as a parametr for "repo-detail" signal. I want to ask is there
> > someone program-architecture trouble to do this. And I want to ask
> > where is param_value formed before the function.
>
> Whilst I agree it might be nice to get this data, you can't just pass
> back a single string for the repo location. For single repos, it might
> be that package A comes from one URL, and package B from another. It
> might be that there's a static mirrorlist used for the URL, where a
> mirror is chosen at random. It might be there's a dynamic mirrorlist
> that depends on the package that's being downloaded.
>
> You just can't encode this kind of detail in the repo-detail signal.
> Passing back the URL is like passing back a FD for each file in a
> directory. What purpose are you using the URL for?
>
> Richard.
>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20090211/aaa4207e/attachment-0004.htm>


More information about the PackageKit mailing list