Weekly report: week 25

This report is a bit late, sorry. The Evanescence concert trip in the beginning of the week and Midsummer in the end made last week a bit disorganized. I still got work done, though (about 22 working hours) and this is what I accomplished:

  • Made the manimporter to create a basic wiki namespace hierarchy.
  • Tried to figure out why I was getting weird exceptions from 4suite. The reason was that it generates some sort of DB for itself and when I moved directories around, I should have removed the DB and let it regenerate that.
  • Tried to get to know doclifter source code a bit better. In total it’s something like a bit over 8000 lines of code, so it took a while to even figure out how to use it in my own code. These things took about one day.
  • Then I spent one full day trying to figure out if I could use doclifter without temporary files, so that I could feed it the man source and get the XML data out of it as a Python string. I couldn’t figure that out and didn’t want to spend any more time on it. I made my manimporter so that it calls doclifter, which creates a temporary .xml file, then manimporter takes that file, reads the XML data, puts it into a wiki page and then removes the temporary file. Not the most beautiful solution, but it works.
  • That’s how the two full working days got spent. Then I implemented authentication via XML-RPC multicall over the weekend, fixing a bug in Moin’s xmlrpc implementation so that I could get it to work in the first place. This took me about six hours.

I basically got done what I wanted to have completed at this point. The manimporter works when you feed it a man file from the file system. What I’d like to get done this week is some sort of CVS integration, so that you could point manimporter to a CVS repository and it would import the man files there. I think I need quite a bit of studying here, since I’ve never used CVS via Python. I’m guessing I might get some help from Dimitris or just by looking at his source code, since his project needs Fedora CVS handling in Python too.

Then something about the schedule. I have to admit that I am a bit behind on that. The biggest reason for it is that most of the things I’ve needed so far have been completely new to me. Moin’s source code, doclifter, XML-RPC etc. According to my original schedule I have two weeks left for this publication phase. During that time I should get CVS, sisterdiff and info importing done. It is possible and I’m ready to work some extra hours (I’m about one full working day behind schedule if you count the hours…). I also had a one week slip possibility in my schedule before this first milestone and if I decide to use that, it definitely should give me enough time to finish phase one. But then again that week would be off from the editing phase. We’ll see. Now back to work 😀


Posted

in

, ,

by

Tags:

Comments

2 responses to “Weekly report: week 25”

  1. Karsten Wade avatar
    Karsten Wade

    Have you begun working with a test server from Fedora Infrastructure? It would be nice to see/play with some of the work you are doing.

    If you haven’t requested anything before from FI, start here:

    http://fedoraproject.org/wiki/Infrastructure/RFR/

  2. Ville-Pekka Vainio avatar

    I can do the request right now. I haven’t done it yet, because there isn’t that much to see at this point. The man page importing works as a command line application and communicates with the wiki via XML-RPC.

    This is probably how it’s going to be in the future too, since that seems to be the “Moin way” of doing maintenance, page importing etc. It also allows you to do the man page processing on another host and then the wiki host only has to process the XML-RPC calls. I could write some sort of a web UI for man/info importing at a later stage, if necessary.

Leave a Reply

Your email address will not be published. Required fields are marked *