This forum has been archived. All content is frozen. Please use KDE Discuss instead.

A new dev working on an extension

Tags: None
(comma "," separated)
GrannySmith
Registered Member
Posts
11
Karma
0

Thu Dec 21, 2006 2:03 pm
OK... we've finally a good and stable implementation. It now scales better.
We also had to modify the choke algorithm so that it favors local clients.

How do we provide the patch to the community? Post the diff here? By email?

Keep in mind that we used version 2.0.3 to start from (and we can not upgrade to another version because we have to use this one for school). Another important issue is that we use an external library (Avahi) and that it must be installed.

Code: Select all
yum install avahi-devel


The code above installs Avahi on your computer.

(Don't forget to start the
Code: Select all
avahi-daemon
)

And yes... we modified the configuration script so that it checks if Avahi is installed... if it is not installed the script will notify the user.

Question? Suggestions?
George
Moderator
Posts
5421
Karma
1

Thu Dec 21, 2006 6:09 pm
GrannySmith wrote:OK... we've finally a good and stable implementation. It now scales better.
We also had to modify the choke algorithm so that it favors local clients.

How do we provide the patch to the community? Post the diff here? By email?


You can send the patches to me by mail (joris DOT guisson AT gmail DOT com)

Keep in mind that we used version 2.0.3 to start from (and we can not upgrade to another version because we have to use this one for school). Another important issue is that we use an external library (Avahi) and that it must be installed.


I don't think that will be much of the problem, I assume most of the code is part of a plugin.

As for avahi, we will see what we can do with that. We can either bail out when it is not found or not compile the plugin, and tell the user (s)he needs to install avahi to make use of the zeroconf plugin.
GrannySmith
Registered Member
Posts
11
Karma
0

Thu Dec 21, 2006 7:29 pm
OK... I'll send you the patches tomorrow.

It is not a plugin... I don't even know if it possible to create a plugin for this kind of feature.
George
Moderator
Posts
5421
Karma
1

Fri Dec 22, 2006 11:58 am
GrannySmith wrote:OK... I'll send you the patches tomorrow.

It is not a plugin... I don't even know if it possible to create a plugin for this kind of feature.


I'm not sure if this was possible with 2.0.3, can't quite remember when we made those modifications, but in the current release, it is possible.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]