kdesvn-build speed improvements (and some KMail)
October 31st 2007 12:18 am
I’ve started on work to implement a feature requested in bug 109619. Namely, to allow kdesvn-build to start the build process as soon as the first module has been updated from subversion and then to run the two updates in parallel as much as possible.
It’s harder to do than it sounds at first but I think I have something working. If you try it out (latest kdesvn-build from trunk/KDE/kdesdk/scripts) and it’s broken for you please let me know.
Also some KMail/Kontact tips for you: I don’t know why but I was under the impression that the “Mark Thread As->” feature required you to click on the root email of the thread in question. That’s not the case, any message in the thread will cause the whole thread to have the desired attribute applied. Also, if you ever get messages in your inbox that simply refuse to go away then you may have a bad message folder cache. At least for Maildir type accounts. In that case, shut down Kontact and KMail (including from the system tray), go to your Maildir folder (mine was ~/Mail) and look for hidden files of the type .folderName.index* (I had .inbox.index, .inbox.index.ids, and .inbox.index.sorted in mine).
RENAME these files to something else (I moved them to a backup directory), and then restart Kontact. It may take a couple of seconds to rescan your folder (although it was near instantaneous on my system) and then you should have your folder corrected with all the undeletable messages gone.
Yeah, upcoming improvements in kdesvn-build ;-)
Thanks, I couldn’t live without that script…
I love the kdesvn-build script and the new super-speed feature works well. Unfortunately the output is very muddled. The output for svn updates are mixed in with the build output. I can’t think of an easy way to fix that without using curses to do the output. I’m sure you’ll come up with something.
Jim: Yup, it’s due to two processes simultaneously writing out to the console. My initial inclination is just to strip out all user-visible output from the update process and instead let the build process inform the user of events at a convenient time.
I just had the ’stuck mail’ issue that you described, in Kmail 1.9.7. Your fix worked a treat! Thanks! Only other thing I had to do was Ctrl+* to remove duplicate messages.