{"id":12,"date":"2007-07-09T10:41:13","date_gmt":"2007-07-09T07:41:13","guid":{"rendered":"http:\/\/vpv.kapsi.fi\/blog\/2007\/07\/09\/weekly-report-week-27\/"},"modified":"2007-07-09T10:41:13","modified_gmt":"2007-07-09T07:41:13","slug":"weekly-report-week-27","status":"publish","type":"post","link":"https:\/\/vpv.kapsi.fi\/blog\/2007\/07\/weekly-report-week-27\/","title":{"rendered":"Weekly report: week 27"},"content":{"rendered":"<p>I posted something on Thursday, but here&#8217;s &#8220;the official&#8221; weekly report.<\/p>\n<p>I spent last week mainly on implementing SisterDiff and it&#8217;s completed now. First I had to familiarize myself with Moin&#8217;s Action interface. Then I thought I could maybe use the functions from an other action, LikePages. But after some testing, that didn&#8217;t seem to be a reasonable thing to do.<\/p>\n<p>So now SisterDiff is &#8220;stand-alone&#8221; and actually cleaner that way. I have to say I especially liked RootPage.getPageList() while doing SisterDiff. It has nice mechanisms to filter which pages to list, so that I don&#8217;t have to do the filtering in the Action. Though passing the filter function to getPageList() meant that I had to revise on regular expressions and the way they are done in Python.<\/p>\n<p>When validating SisterDiff&#8217;s HTML code, I actually found a bug on Moin&#8217;s ActionBase class that I fixed. I also spent about one day on making my code <a href=\"http:\/\/www.python.org\/dev\/peps\/pep-0008\/\">PEP8<\/a> compatible and fixing some bugs I found in that process.<\/p>\n<p>Friday and a couple of hours on the weekend were spent on planning the RPM handling. I took a look at rpm-python, which is nice, but it doesn&#8217;t have the possibility of extracting single files from an RPM package. So I did some tests on rpm2cpio. With cpio it is possible to extract single files, so that&#8217;s what I&#8217;ll use. I already have some RPM handling code done, but it&#8217;s still in early stages.<\/p>\n<p>Then something about the schedule: According to my original schedule I should have had phase 1 complete by yesterday, but &#8220;rpm mass importing&#8221; and info page importing are still missing. So I have to use some of the &#8220;slip week&#8221; I had scheduled to finish phase 1. Hopefully I&#8217;ll get to start phase 2 by the end of this week, though.<\/p>\n<h4>Info page importing<\/h4>\n<p>This is a problem I still haven&#8217;t solved. I took a look at CVS&#8217;s source code (since that is one of the non-GNU packages that have Info pages) and it does actually have the Texinfo sources in it. And I could use makeinfo &#8211;xml to make DocBook XML from that. But the Texinfo sources are not in the binary RPM. So it seems I need to use RPM repositories for man page importing and CVS repositories for Info page importing. Interesting&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I posted something on Thursday, but here&#8217;s &#8220;the official&#8221; weekly report. I spent last week mainly on implementing SisterDiff and it&#8217;s completed now. First I had to familiarize myself with Moin&#8217;s Action interface. Then I thought I could maybe use the functions from an other action, LikePages. But after some testing, that didn&#8217;t seem to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,5,3],"tags":[],"class_list":["post-12","post","type-post","status-publish","format-standard","hentry","category-fedora","category-moinmoin","category-summercode"],"_links":{"self":[{"href":"https:\/\/vpv.kapsi.fi\/blog\/wp-json\/wp\/v2\/posts\/12","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpv.kapsi.fi\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpv.kapsi.fi\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpv.kapsi.fi\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpv.kapsi.fi\/blog\/wp-json\/wp\/v2\/comments?post=12"}],"version-history":[{"count":0,"href":"https:\/\/vpv.kapsi.fi\/blog\/wp-json\/wp\/v2\/posts\/12\/revisions"}],"wp:attachment":[{"href":"https:\/\/vpv.kapsi.fi\/blog\/wp-json\/wp\/v2\/media?parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpv.kapsi.fi\/blog\/wp-json\/wp\/v2\/categories?post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpv.kapsi.fi\/blog\/wp-json\/wp\/v2\/tags?post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}