pan-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pan-devel] A proposal for multiserver.


From: K. Haley
Subject: Re: [Pan-devel] A proposal for multiserver.
Date: Tue, 07 Jun 2005 20:19:42 -0600
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

It's similar to what I've done int trying to get pan to use a db to
replace those files.

Charles Kerr wrote:

First, see MessageSources in pan/base/.  It's a set if {server, group,
article number} tuples of where to find an article.  Let's call it an
Xref, since that's shorter and makes more sense.

Now, the current $PAN_HOME/.pan/$server/$groupname file will have to
change.  We will only want one header file per group, so the structure
will look more like $PAN_HOME/.pan/groups/$groupname.  When we xover
the same group from two servers, the first copy of a header to come in
creates a new Article object.  The second one to come in (from the
second server) just adds more Xref entries to the existing Article.

Sounds good.  Of course my version has one overview per article ;)

The Task struct would lose its Server field.  Instead when a task set
its state to TASK_NEED_SOCKET, it would also tell the state object
which servers it could use.  The task would build this list of servers
by walking through the Xref struct for each article it needed to fetch.

Almost what I've done.  I iterate through the servers, if there's
anything left move on to the next server.


The Server has-a Group has-a Article structure would need to change,
and Server would essentially be downgraded to a struct holding the
server's address, username/password, and maximum number of connections.

The group pane would show all servers' groups at once.

The Server menu would go away since we'd no longer have to switch from
server to server.

I've also added an online status to the servers, so the server menu
would be used for setting/viewing that state.  Only online servers would
be checked.

Any thoughts/suggestions?

This should make for a nice .15 version.

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]