scsi: VA Logo (Default)
scsi ([personal profile] scsi) wrote in [site community profile] dw_dev2009-09-08 08:36 pm

LJ -> DW and the "friends" concept.

So im combing through the code adding a switch to enable 32 bit mode (fun stuff is here: http://bugs.dwscoalition.org/show_bug.cgi?id=1632). Conversion docs are here: http://wiki.dwscoalition.org/notes/Upgrading_an_old_LJ_Installation_to_DW_Codebase

In the process of the whole "friends group" concept, I ran into this little problem that Im pounding my head against the wall to figure out.

So it looks like trust_groups is the same as friendgroup2 table. Same table definitions, looks like a straight import (or is it that simple!).

Whats the DW equivalent of a LJ "friend"? Is there a quick and dirty way to convert friend groups and friends to the DW equivalent or are the DJ users going to have to start with a clean slate of friends and friend groups (then the issue about entries using a certain friend group and what happens to them).

Fun stuff.
foxfirefey: A fox colored like flame over an ornately framed globe (Default)

[personal profile] foxfirefey 2009-09-09 04:00 am (UTC)(link)
The DW equivalent would be having both access and subscribe. Friends groups would translate directly into access groups. (Reading filters are beta right now, but my guess is that friends groups could also, for convenience, be translated into reading filters too, because people use friend groups for two reasons, access and reading.)

Sorry my explanation isn't quicker and dirtier! But I think someone else can be more help there--I just wanted to let you know that a conversion is possible!
Edited 2009-09-09 04:01 (UTC)
mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)

[staff profile] mark 2009-09-09 07:06 am (UTC)(link)
I agree.

You can probably get away with renaming the table from friendgroup2 to trust_groups. Creating subscription filters out of them is going to be a little more involved, but could be done.
pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)

[personal profile] pauamma 2009-09-09 03:37 pm (UTC)(link)
Hmm. One wrinkle is that if the user has a fgroup called "Default view", that group's membership should be the default for the reading filter IMO, not the flist.