/srv/irclogs.ubuntu.com/2012/09/21/#ubuntu-app-devel.txt

=== sagaci__ is now known as sagaci
jvrbanacmhall119, quick question, in general, how much do you want to push to the views opposed to the models before it gets pushed into the database. Last night, I pushed in that quick change to deal with the line breaks within the doc string, but I did it before it was stored in the database. However, I wasn't sure how much you wanted to manipulate the content going into the db.16:22
mhall119jvrbanac: in general, I'd like to disturb the data as little as possible between the GIR and the database16:24
mhall119unless there's a good benefit to doing so16:25
jvrbanacGot it. You want me to move that code into the view then?16:25
mhall119what change are you making?16:26
jvrbanacIt was that linebreak clean up and replacement that I pushed up last night. I think it was merged into that pull that you merged into this master this morning.16:28
mhall119oh, I didn't notice it, let me go back and look at it16:29
mhall119jvrbanac: so I've been thinking about what to do with these docs16:30
mhall119being in docbook is kind of a pain for embedding them within a page16:30
mhall119also, if we're going to support Qt APIs and others, we can'd depend on them all being the same markup16:30
mhall119I'm wondering if we should run an XML translation on the GIR docbook text, and convert it to something like Markdown16:31
jvrbanacThat would certainly make things easier on the rendering side.16:33
mhall119I haven't found any simple python docbook library though, so we may have to work with the XML directly16:34
jvrbanacehh, it shouldn't be too hard... famous last words.16:35
mhall119heh16:42
jvrbanacmhall119, do you want me to put together a util to do that conversion or do you want to wait and mess with it later?16:48
mhall119jvrbanac: if you can do that, it would certainly make everything else easier16:55
jvrbanacmhall119, sure. I have written a few proprietary xml format readers for my day job over the past few years. Never in python, but it shouldn't be too much different.16:58
=== davi_ is now known as davi
mterrynope22:12

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!