2008-01-07T00:08:40 <bolekk> these http://opentouch.info/tmp/ghop/ghop-stats.html statistics are lying, the number of my done tasks is incorrect ;p
2008-01-07T00:11:44 <bolekk> hmmm are the committed changes accessible immediately ? I can't see them after using hg pull ...
2008-01-07T00:18:54 <ThomasWaldmann> try hg update
2008-01-07T00:21:05 <bolekk> ThomasWaldmann: thank you :)
2008-01-07T00:21:34 <ThomasWaldmann> hg pull -u does both in one go
2008-01-07T00:22:57 <bolekk> ThomasWaldmann: what's the difference between pull and update ?
2008-01-07T00:25:19 <TheSheep> bolekk: pull downloads the changesets, update actually makes the changes in your files
2008-01-07T00:25:44 <TheSheep> bolekk: i.e. pull only changes the history in .hg/
2008-01-07T00:25:56 <ThomasWaldmann> bolekk: your repo is the stuff in .hg, the rest is your workdir
2008-01-07T00:26:00 <bolekk> i see
2008-01-07T00:46:07 <bolekk> good night
2008-01-07T01:26:38 <YoniWiz> dreimark: did you get a chance to check it out?
2008-01-07T10:05:28 <dreimark> moin
2008-01-07T10:26:20 <grzybacz> moin
2008-01-07T11:56:46 * cb23 bangs his head repeatedly against his screen until a solution appears to him
2008-01-07T11:57:28 * cb23 notices the lc part of a lcd start to ooze out
2008-01-07T12:24:49 <cb23> ok... so currently i have a problem with the function _transclude_repl in text_moin_wiki parser.
2008-01-07T12:28:53 <cb23> when i call request.redirect_output(send_page ...) in the DumpPages action, it somehow gets called, and puts in a valid (for the web) attachment link
2008-01-07T12:28:57 <cb23> the original script got around it by overriding the AttachFile.getAttachUrl which the transclude function calls, however i cannot do this as then getAttachUrl is never the same again
2008-01-07T12:29:00 <cb23> any ideas anyone?
2008-01-07T12:29:16 <TheSheep> cb23: this one is nice
2008-01-07T12:29:53 <TheSheep> cb23: moin will sometimes cache pages
2008-01-07T12:30:27 <TheSheep> cb23: and leave chunks of python code in the cache -- for the macros to be executed and links to be checked for page existence, etc.
2008-01-07T12:30:48 <TheSheep> cb23: magick :)
2008-01-07T12:31:54 <TheSheep> cb23: say, can't you just copy the formatter and override that function in your copy?
2008-01-07T12:33:21 <cb23> TheSheep, hmm, but what could i do with that?
2008-01-07T12:33:53 <TheSheep> cb23: you could pass this new formatter with the request
2008-01-07T12:34:02 <cb23> i could yes, but i dont think i know how to do it that easily
2008-01-07T12:34:23 <TheSheep> request.formatter = my_new_formatter
2008-01-07T12:34:38 <cb23> i know how to override stuff :) but the function in question is called in a chain of sorts
2008-01-07T12:35:14 <TheSheep> it just redirects the output
2008-01-07T12:35:27 <TheSheep> you can look at that .redirect_output function, it's simple
2008-01-07T12:35:45 <xorAxAx> umm, does the parser call attachfile directly?
2008-01-07T12:35:49 <xorAxAx> or does the formatter do it?
2008-01-07T12:36:02 <cb23> yes, redirect_output is used to call send_page
2008-01-07T12:36:11 <cb23> the parser
2008-01-07T12:36:28 <xorAxAx> does the function get a request parameter?
2008-01-07T12:37:13 <cb23> self, word, groups
2008-01-07T12:37:21 <xorAxAx> what is self?
2008-01-07T12:40:30 <cb23> say, is that a trick question :) self is Parser, which does contain a request
2008-01-07T12:40:38 <xorAxAx> umm, i mean the attachfile function
2008-01-07T12:40:58 <xorAxAx> see, getattachurl gets a request object
2008-01-07T12:41:20 <xorAxAx> and it uses getscriptname as a base path
2008-01-07T12:42:28 <xorAxAx> now you could e.g. introduce a request attribute that changes the getattachment url behaviour to use that attribute instead of the scriptname
2008-01-07T12:43:52 <cb23> xorAxAx, i see, thanks :)
2008-01-07T12:44:47 <xorAxAx> currently it has already 2 modes to find the attachments
2008-01-07T12:44:53 <xorAxAx> yours would be a third, kind of
2008-01-07T13:35:07 <cb23> yay :) progress at last
2008-01-07T13:35:45 <cb23> and dump now has another feature too: include all attachments / include only used attachments
2008-01-07T13:36:01 <xorAxAx> wow, cool
2008-01-07T13:36:05 <xorAxAx> whatever used means
2008-01-07T13:36:23 <cb23> used == transcluded
2008-01-07T13:36:31 <cb23> ie, embedded images, etc
2008-01-07T13:36:51 <cb23> it was the behaviour of the previous one, and i'll probably keep it as default too
2008-01-07T13:36:57 <xorAxAx> what if people link to it? then its used as well
2008-01-07T13:37:24 <cb23> xorAxAx, well, if it is something that calls getAttachUrl, it is used :)
2008-01-07T13:37:32 <xorAxAx> ok :)
2008-01-07T14:29:43 <cb23> ok, next issue :) how did changing url_prefix_static to "." for the dump.py script manage to put "./" for all the links?
2008-01-07T14:31:09 <cb23> it's default is /moin_static160, but i dont see that prefixed in front of all links?
2008-01-07T14:33:06 <cb23> (by all the links i'm referring to normal wiki [[FooBar]] links
2008-01-07T15:03:14 <cb23> ok, looks like i'll override the formatter to get past this one
2008-01-07T15:12:34 <cb23> TheSheep, request.formatter = my_new_formatter doesn't seem to work for me :/
2008-01-07T15:13:17 <xorAxAx> dont even try that, you will lose against send_page
2008-01-07T15:14:27 <cb23> xorAxAx, yeah, reading send_page i see
2008-01-07T15:16:39 <cb23> xorAxAx, but from glancing over, i can just create Page(formatter=)?
2008-01-07T15:18:09 <cb23> yep :)
2008-01-07T17:01:12 <kikka> Hello!
2008-01-07T17:17:35 <dreimark> http://www.galileocomputing.de/openbook
2008-01-07T17:33:38 <dreimark> http://www.galileocomputing.de/openbook
2008-01-07T17:33:59 <kikka> Ja, da gibt es ein tolles neues Python Buch.
2008-01-07T18:44:28 <dreimark> hi kikka
2008-01-07T18:51:52 <kikka> Hello dreimark!
2008-01-07T20:29:25 <ThomasWaldmann> moin
2008-01-07T20:36:09 <cb23> moin ThomasWaldmann
2008-01-07T21:11:19 <dreimark> bbl
2008-01-07T21:15:04 <cb23> is using Page preferred to Page.Page?
2008-01-07T21:17:40 <TheSheep> is there Page.Page.Page too? %)
2008-01-07T21:18:01 <TheSheep> self.Page = self
2008-01-07T21:18:22 <ThomasWaldmann> cb23: yes
2008-01-07T21:20:49 * cb23 whacks TheSheep over the head with a giant percentage sign
2008-01-07T21:21:26 * TheSheep bites cb23's head off
2008-01-07T21:22:09 <cb23> in the dying seconds of his life, cb22 inserts a windows me cd into TheSheep's cd drive
2008-01-07T21:22:29 <cb23> which promptly makes TheSheep vomit cb22's head back up
2008-01-07T21:24:42 <ThomasWaldmann> lol
2008-01-07T21:27:48 * cb23 runs pep8 against his action
2008-01-07T21:30:19 <TheSheep> cb23: it's useful to enable strict syntax checking in vim, so that most obvious non-pep8 things show up in red
2008-01-07T21:30:45 <TheSheep> I suppose the other text editor has something like that too
2008-01-07T21:31:39 <cb23> hmm, im using SPE, know of anything for it?
2008-01-07T21:31:49 <TheSheep> never heard of it
2008-01-07T22:16:19 * dreimark comments on 87
2008-01-07T23:17:14 <YoniWiz> dreimark: was it you who said the thing about PHP and the ACL
2008-01-07T23:18:28 <cb22> YoniWiz: btw, not sure if you mention it, but moin can run without a webserver
2008-01-07T23:19:24 <YoniWiz> cb22: thats the standalone feature - right?
2008-01-07T23:19:30 <cb23> yep
2008-01-07T23:20:01 <YoniWiz> yep, thanks though "a fast standalone mode"
2008-01-07T23:20:22 <YoniWiz> i am confused about dreimarks comment
MoinMoin: MoinMoinChat/Logs/moin-dev/2008-01-07 (last edited 2008-01-06 23:15:02 by IrcLogImporter)