Log in

No account? Create an account
February 20th, 2002 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

February 20th, 2002

Is HEAD always stable? [Feb. 20th, 2002|06:26 pm]
LiveJournal Development
I saw somewhere that installing off of CVS was the best route so I assumed that HEAD is always stable. Is this the case?

If not, is there a stable tag that is updated regularly?
link1 comment|post comment

A couple small patches (ljsync / logprops) [Feb. 20th, 2002|10:22 pm]
LiveJournal Development


I discovered ljcom/htdocs/code/mylj/ljsync-0.1.pl.txt (a nice little perl syncitems client) the other day and decided to play with it. I discovered two things.

First and barely worth mentioning, ljsync uses default values instead of the configuration file values for the server host, port, and uri. (trivial ljsync patch)

Second, syncitems was not sending entry properties for clustered journals! This led me to notice that something similar was happening with editjournal.bml. When editing a journal entry (for a clustered user), properties are not inserted into the form, but instead left blank... (I can't believe nobody noticed this earlier?)

It turns out that LJ::Protocol::getevents and LJ::Protocol::editevent were calling LJ::load_log_props2 without first calling LJ::load_props($dbs, "log"); to fill the property names cache.

I created a trivial ljprotocol.pl patch, which adds a call to LJ::load_props before calling LJ::load_log_props2, but I wonder why LJ::load_log_props2 doesn't just call LJ::load_props itself, instead of failing? This would perhaps be the better fix...?
link2 comments|post comment

[ viewing | February 20th, 2002 ]
[ go | Previous Day|Next Day ]