2007-06-18T00:00:18 <dreimark> xorAxAx: some are test_parser_text_moin_wiki.py, test_wikiutil.py
2007-06-18T00:00:29 <xorAxAx> dreimark: ah, it was test_security
2007-06-18T00:00:35 <dreimark> xorAxAx: currently pages starting with New got regular spam
2007-06-18T00:01:06 <xorAxAx> but it doesnt contain a converted test, i am confused
2007-06-18T00:02:11 <xorAxAx> hmm, i added just one assert
2007-06-18T00:02:49 <dreimark> you promised to clean it
2007-06-18T00:02:57 <CIA-27> moin: Alexander Schremmer <alex AT alexanderweb DOT de> * 2141:9c7c784281b7 1.7/MoinMoin/_tests/test_converter_text_html_text_moin_wiki.py: Removed unittest.main call.
2007-06-18T00:03:09 <xorAxAx> dreimark: yes, i did to the extent that seemed worthwhile :)
2007-06-18T00:03:35 <xorAxAx> in e5526f9c2113
2007-06-18T00:04:46 <xorAxAx> google.com/search?q=py.test
2007-06-18T00:09:23 <dreimark> xorAxAx: I do change the test the next days, and will add some more macro tests. Currently i do prefer one test for one macro, is that ok?
2007-06-18T00:10:12 <xorAxAx> dreimark: you mean one test file? i think thats ok
2007-06-18T00:10:40 <xorAxAx> it might be better to adhere to the same granularity as the code classes, though
2007-06-18T00:10:53 <dreimark> one for Hits and one for ImageLink and so on
2007-06-18T00:10:56 <xorAxAx> like bundling all macro tests for macros from macro/__init__ in a test file
2007-06-18T00:11:25 <xorAxAx> and it might make sense to create another macro._tests folder
2007-06-18T00:11:46 <xorAxAx> then you dont need the macro prefix in every file and its clearer
2007-06-18T00:12:09 <xorAxAx> py.test doesnt care about the location of the folder
2007-06-18T00:12:38 <dreimark> sounds good
2007-06-18T00:13:21 <CIA-27> moin: Alexander Schremmer <alex AT alexanderweb DOT de> * 2142:d84535cb9f65 1.7/MoinMoin/_tests/_test_template.py: Simplify test template.
2007-06-18T00:15:58 <dreimark> good night
2007-06-18T00:17:38 <neagulm> good night
2007-06-18T00:17:41 <neagulm> :)
2007-06-18T00:33:48 <xorAxAx> grzywacz: self.xmlrpc_server is misleading, please add at least a "jabber" in the name
2007-06-18T00:34:43 <ThomasWaldmann> and please use common prefix e.g. jabber_
2007-06-18T00:41:11 <neagulm> i'm going to sleep. good night
2007-06-18T00:41:12 <grzywacz> ThomasWaldmann, yes, it crashes without this fix.
2007-06-18T00:41:21 <grzywacz> ThomasWaldmann, xmlrpc_getPageHTML dies because theme is not set
2007-06-18T00:41:24 <grzywacz> xorAxAx, ack
2007-06-18T00:41:49 <ThomasWaldmann> gn neagulm
2007-06-18T00:42:15 <ThomasWaldmann> grzywacz: i am currently backporting your fixes. cia doesnt care, though.
2007-06-18T00:42:32 <grzywacz> ThomasWaldmann, maybe that's good that it doesn't care, actually.
2007-06-18T00:42:53 <xorAxAx> i could think of a reason for its ignorance :)
2007-06-18T00:43:25 <grzywacz> indeed ;>
2007-06-18T00:50:46 <grzywacz> Is it possible to somehow get access to the dict of current module?
2007-06-18T00:51:08 <xorAxAx> globals()
2007-06-18T00:51:29 <grzywacz> And that's only for the current one? Ok.
2007-06-18T00:51:34 <xorAxAx> yes :)
2007-06-18T00:52:03 <xorAxAx> the globals are module-wise
2007-06-18T00:52:09 <xorAxAx> ruby doesnt have such a feature
2007-06-18T00:52:15 <grzywacz> ack
2007-06-18T00:52:17 <grzywacz> Hm.
2007-06-18T00:52:24 <grzywacz> Something has eaten my bot's config. Scary.
2007-06-18T00:52:35 <xorAxAx> hans reiser?
2007-06-18T00:52:44 <grzywacz> Hm.
2007-06-18T00:52:46 <grzywacz> Could be, actually.
2007-06-18T00:52:59 <grzywacz> /dev/sda5 on /home type reiserfs
2007-06-18T00:53:00 <grzywacz> see...
2007-06-18T00:53:08 <xorAxAx> ugh
2007-06-18T00:53:14 <grzywacz> I make backups.
2007-06-18T00:53:15 <grzywacz> ;]
2007-06-18T00:55:39 <ThomasWaldmann> vpv: evanescence is on german TV now, WDR, Rockpalast :)
2007-06-18T00:56:13 <grzywacz> Something weird is happening...
2007-06-18T00:58:13 <ThomasWaldmann> famous last words X)
2007-06-18T00:59:34 <grzywacz> huh
2007-06-18T01:00:58 <ThomasWaldmann> wb :)
2007-06-18T01:01:23 <grzywacz> Well, re. It's kind of strange that everything suddenly stops working. -_-;
2007-06-18T01:03:51 <zenhase> hmpf
2007-06-18T01:03:59 <grzywacz> (including keyboard)
2007-06-18T01:04:05 <zenhase> the idea was SO good to begin with :/
2007-06-18T01:05:17 * zenhase wanted to integrate genshitheme with the plugin-loading infrastructure and added some new.module-magic to generate fake-modules in MoinMoin.theme
2007-06-18T01:05:30 <grzywacz> xorAxAx, urm, how can I get a list of functions/classes defined in a module being executed?
2007-06-18T01:05:39 <grzywacz> globals() doesn't contain them
2007-06-18T01:05:40 <zenhase> seems this does not work with __import__
2007-06-18T01:06:01 <grzywacz> or wait
2007-06-18T01:09:42 <xorAxAx> grzywacz: it should contain all global names, i.e. classes/functions
2007-06-18T01:09:46 <xorAxAx> and imported stuff
2007-06-18T01:09:51 <xorAxAx> whats your plan?
2007-06-18T01:11:20 <grzywacz> It does, it does.
2007-06-18T01:11:32 <grzywacz> It also contains a copyright notice, which flooded my screen after classes. ;)
2007-06-18T01:11:49 <xorAxAx> hehe
2007-06-18T01:11:50 <grzywacz> xorAxAx, I'm building a list of events that users can subscribe to, as I mentioned earlier.
2007-06-18T01:11:54 <xorAxAx> ah
2007-06-18T01:14:21 <xorAxAx> good night
2007-06-18T01:14:39 <grzywacz> night xorAxAx
2007-06-18T01:26:00 <grzywacz> Ooh, finally works.
2007-06-18T01:47:50 <grzywacz> ThomasWaldmann, I need a multiple selection list. Should I extend MoinMoin.widget.html.makeSelection() with special cases, or write a separate function? ;)
2007-06-18T01:48:03 * grzywacz can't decide
2007-06-18T01:51:30 <grzywacz> Ok, a new one...
2007-06-18T02:15:45 <CIA-27> moin: Reimar Bauer <rb.proj AT googlemail DOT com> * 2142:42b85d3d3f8f 1.7-jabber-knowak/MoinMoin/_tests/test_macro_Hits.py: test_macro_Hits: unittest for macro Hits
2007-06-18T02:15:46 <CIA-27> moin: Reimar Bauer <rb.proj AT googlemail DOT com> * 2143:3741d741113e 1.7-jabber-knowak/MoinMoin/_tests/test_macro_Hits.py: test_macro_Hits: change in comments
2007-06-18T02:15:47 <CIA-27> moin: Reimar Bauer <rb.proj AT googlemail DOT com> * 2144:0fe9e533f00e 1.7-jabber-knowak/MoinMoin/_tests/test_macro_Hits.py: test_macro_Hits: removed some unused imports
2007-06-18T02:15:48 <CIA-27> moin: Reimar Bauer <rb.proj AT googlemail DOT com> * 2145:3accd05a36f3 1.7-jabber-knowak/ (22 files in 10 dirs): Merge with my branch
2007-06-18T02:15:50 <CIA-27> moin: Alexander Schremmer <alex AT alexanderweb DOT de> * 2146:ff428fa12e3c 1.7-jabber-knowak/MoinMoin/_tests/ (19 files): Added legacy warning to old unittests.
2007-06-18T02:15:51 <grzywacz> -_-;
2007-06-18T02:15:53 <CIA-27> moin: Alexander Schremmer <alex AT alexanderweb DOT de> * 2147:9c7c784281b7 1.7-jabber-knowak/MoinMoin/_tests/test_converter_text_html_text_moin_wiki.py: Removed unittest.main call.
2007-06-18T02:15:56 <CIA-27> moin: Alexander Schremmer <alex AT alexanderweb DOT de> * 2148:d84535cb9f65 1.7-jabber-knowak/MoinMoin/_tests/_test_template.py: Simplify test template.
2007-06-18T02:15:59 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2149:3417a1d559d0 1.7-jabber-knowak/MoinMoin/_tests/ (20 files): Merge the changes from main.
2007-06-18T02:16:00 <grzywacz> This sucks.
2007-06-18T02:16:04 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2150:dd3abe290142 1.7-jabber-knowak/MoinMoin/util/web.py: Add a makeMultiSelection() function which creates a multiple <select> element.
2007-06-18T02:16:07 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2151:cf4c4a3d6085 1.7-jabber-knowak/MoinMoin/ (config/multiconfig.py events/__init__.py user.py userform.py): Add a list of selectable events user wants to be notified about.
2007-06-18T02:16:13 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2152:8e772d72ec6e 1.7-jabber-knowak/MoinMoin/ (5 files in 4 dirs): Merge with my devel branch.
2007-06-18T02:16:50 <grzywacz> With this, it may make sense to send other kinds of notifications via email as well.
2007-06-18T03:22:36 <grzywacz> argh
2007-06-18T03:32:41 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2153:f2ae2f08958d 1.7-jabber-knowak/MoinMoin/events/jabbernotify.py:
2007-06-18T03:32:41 <CIA-27> moin: Honor event subscriptions when sending jabber notifications. Fix missing import.
2007-06-18T03:32:41 <CIA-27> moin: Also don't send empty JIDs to the jabber bot.
2007-06-18T03:32:44 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2154:4138e1f06617 1.7-jabber-knowak/MoinMoin/userform.py: Make it possible to unset user's jid in preferences.
2007-06-18T03:32:45 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2155:e2aa8372c4bf 1.7-jabber-knowak/jabberbot/xmppbot.py: Warn if a command with empty user jid has been received.
2007-06-18T03:32:47 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2156:c3bf2fa18b9a 1.7-jabber-knowak/jabberbot/xmppbot.py: Backed out changeset e2aa8372c4bf462dde0fe18fb647d782c3f1f615
2007-06-18T03:32:50 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2157:22a7080b4ac5 1.7-jabber-knowak/jabberbot/xmppbot.py: Don't process commands with no jid and issue a warning. That's a proper fix.
2007-06-18T03:32:53 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2158:a8941968efa1 1.7-jabber-knowak/ (3 files in 3 dirs): Merge with my devel branch.
2007-06-18T03:38:34 <grzywacz> I'll fix the error with missing bot_host tomorrow.
2007-06-18T03:38:44 <grzywacz> Good night.
2007-06-18T04:45:55 <CIA-27> moin: Florian Krupicka <florian.krupicka@googlemail.com> * 2055:6ad64aea3c7e 1.7-template-fkrupicka/wiki/theme/templates/_base.html: show timing information in _base.html (if requested)
2007-06-18T04:45:58 <CIA-27> moin: Florian Krupicka <florian.krupicka@googlemail.com> * 2056:c93ee6c52d21 1.7-template-fkrupicka/MoinMoin/request/__init__.py: Added '_theme'-request param to select theme for a single request
2007-06-18T04:45:59 <CIA-27> moin: Florian Krupicka <florian.krupicka@googlemail.com> * 2057:d82e07962ad0 1.7-template-fkrupicka/wiki/theme/ (_base.html templates/_base.html): Removed ./templates subdir, since wiki/theme contains only genshi-templates anyway
2007-06-18T04:46:00 <CIA-27> moin: Florian Krupicka <florian.krupicka@googlemail.com> * 2058:09fc058676d1 1.7-template-fkrupicka/MoinMoin/ (4 files in 3 dirs): Integrated genshitheme in theme selection and pluginloading
2007-06-18T04:46:18 <zenhase> boy oh boy
2007-06-18T04:47:09 <zenhase> gn8, tomorrow i will start the design-paper for the real stuff then
2007-06-18T05:59:27 <dirakx> hi everyone
2007-06-18T06:09:00 <dirakx> im trying to update my moinmoin desktopedition to 1.5.5a-1 and im trying to generate de .po file related to my lenguage (spanish)..but executing the ./py-to-po script gets me an error..
2007-06-18T06:15:11 <dirakx> http://pastebin.ca/573397 this is the error
2007-06-18T06:15:15 <dirakx> any ideas?
2007-06-18T07:44:03 <vpv> ThomasWaldmann: they were on Rock am Ring I think :)
2007-06-18T10:37:11 <johill> grzywacz: I linked it from http://moinmoin.wikiwikiweb.de/MoinMoinTodo/Release_1.7 now so it won't be forgotten
2007-06-18T10:37:44 <johill> grzywacz: btw, will the email notification be integrated with the same notification framework, and possibly also use a bot in case the smtp server is slow?
2007-06-18T10:44:14 <grzywacz> johill, could be, yes.
2007-06-18T10:45:40 <johill> :)
2007-06-18T10:50:52 <xorAxAx> ROTFL
2007-06-18T10:50:59 <xorAxAx> my rss reader isnt XSS safe
2007-06-18T10:51:06 <xorAxAx> it displays grzywacz' <select>
2007-06-18T10:51:13 <xorAxAx> in the headline
2007-06-18T10:51:44 <grzywacz> LOL
2007-06-18T11:29:42 <grzywacz> Off to uni, will be back *later*. ;s
2007-06-18T14:27:38 <ThomasWaldmann> zenhase: dont use print
2007-06-18T14:28:23 <ThomasWaldmann> (but logging module)
2007-06-18T14:30:12 <ThomasWaldmann> zenhase: do stdlib imports first, then other external stuff, then moin stuff
2007-06-18T14:32:57 <ThomasWaldmann> you use cfg.charset? you know config.charset? is the meaning the same?
2007-06-18T14:35:18 <grzywacz> back
2007-06-18T14:38:22 <dreimark> grzywacz: from yesterdays log 2007-06-17T22:51:23 <dreimark> xorAxAx: py.test -v test_wikisync.py shows a failure, Config instance has no attribute 'bot_host',
2007-06-18T14:39:47 <grzywacz> dreimark, I've noticed, thanks.
2007-06-18T14:43:25 <grzywacz> Is it ok if I add it with a default value of None directly to the DefaultConfig class?
2007-06-18T14:44:42 <ThomasWaldmann> grzywacz: yes, but use some common prefix and try to minimize config vars
2007-06-18T14:44:51 <grzywacz> ThomasWaldmann, ack
2007-06-18T14:45:05 <grzywacz> Hm.
2007-06-18T14:45:06 <ThomasWaldmann> e.g. jabber_bot_uri
2007-06-18T14:45:19 <ThomasWaldmann> and jabber_* for other stuff
2007-06-18T14:45:24 <grzywacz> The right prefix would be notification_, because I think this bot may get new uses in the future.
2007-06-18T14:45:35 <grzywacz> Like sending batches of email, as suggested by johill, perhaps?
2007-06-18T14:45:51 <ThomasWaldmann> that's ok, too
2007-06-18T14:46:16 <ThomasWaldmann> btw, please don't make the persistent bot process a requirement for stuff that could be done without
2007-06-18T14:46:24 <ThomasWaldmann> e.g. sending notify emails
2007-06-18T14:46:34 <grzywacz> It will be an option only.
2007-06-18T14:46:36 <grzywacz> As it is now.
2007-06-18T14:46:56 <ThomasWaldmann> otoh, it would be nice to delegate it to the bot, if you have one running
2007-06-18T14:55:53 <zenhase> ThomasWaldmann: oh damnit, i thought i deleted the prints
2007-06-18T14:56:05 <ThomasWaldmann> zenhase: the getLocalizedPage stuff is duplicate
2007-06-18T14:58:07 * zenhase hides in shame ...
2007-06-18T14:59:25 <ffesti> moin zenhase
2007-06-18T15:00:26 <ThomasWaldmann> zenhase: i would be glad if all errors were so easy to spot :)
2007-06-18T15:00:56 <zenhase> i had this for .. in in place first and then realized that some some of the methods i called meanwhile in the other parts expect the themedict as a param
2007-06-18T15:01:17 <ffesti> zenhase, may be it is better to write a new getThemeNames function insted of messing with the plugin code
2007-06-18T15:01:23 <zenhase> so i took the code from ThemeBase again and forgot to delete mine
2007-06-18T15:01:25 <ThomasWaldmann> zenhase: btw, i have some tuning idea (can be done later, but maybe put some comment to remember it): the getLocalizedPage stuff could be done with properties and lazy
2007-06-18T15:02:18 <ThomasWaldmann> maybe do it when you have some speed measurements
2007-06-18T15:07:42 <xorAxAx> ffesti: it was my initial idea ... he would get zipimport stuff for free
2007-06-18T15:10:19 <ffesti> cannot yet see where zipimport comes in here
2007-06-18T15:10:35 <ffesti> as Genshi themes are not modules
2007-06-18T15:10:44 <zenhase> yep, that was my problem here too
2007-06-18T15:11:07 <xorAxAx> ffesti: well, they would need to be zipimported
2007-06-18T15:11:22 <xorAxAx> if they go below MoinMoin.theme
2007-06-18T15:11:42 <ffesti> how can you zip import text files?
2007-06-18T15:11:59 <xorAxAx> somehow that should work :)
2007-06-18T15:12:11 <xorAxAx> pkg_resources uses it as well
2007-06-18T15:12:14 <zenhase> while reading the plugin-loading code i was thinking of pkg_resources btw.
2007-06-18T15:12:34 <xorAxAx> just that pkg_resources is a bit braindead and slow
2007-06-18T15:12:40 <ffesti> .oO(magic <-> more magic)
2007-06-18T15:12:52 <xorAxAx> well, indeed, rearchitecting the loading isntead of reusing the plugin code should be better
2007-06-18T15:13:05 <zenhase> ok
2007-06-18T15:13:31 <ffesti> just put the code in the level above the plugin code
2007-06-18T15:14:54 <zenhase> request.loadTheme for example?
2007-06-18T15:16:50 <grzywacz> Hoah, let's see how much will be broken now.
2007-06-18T15:16:54 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2159:7c8ee12f8c1d 1.7-jabber-knowak/MoinMoin/ (config/multiconfig.py events/jabbernotify.py): Fix an error with missing bot_host attribute. Use more descriptive names.
2007-06-18T15:16:57 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2160:af1eb45c937e 1.7-jabber-knowak/wiki/config/more_samples/jabber_wikiconfig.py: Fix the sample config to use new attribute name.
2007-06-18T15:16:58 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2161:e6dd69d3ac69 1.7-jabber-knowak/MoinMoin/ (config/multiconfig.py events/jabbernotify.py): Merge with my devel branch.
2007-06-18T15:20:47 <grzywacz> erm
2007-06-18T15:21:36 <grzywacz> No, seriously. Quite a few test fail now, but I have no idea how to read this output. Help?
2007-06-18T15:23:05 <grzywacz> :S
2007-06-18T15:24:29 <xorAxAx> grzywacz: whats the problem? have you read the py.test docs?
2007-06-18T15:24:49 <xorAxAx> every dot is a successful test, if there is an error, it gives you a stacktrace and the reason at the end
2007-06-18T15:25:01 <xorAxAx> you might have multiple failures, there is an option to stop at the first issue
2007-06-18T15:25:08 <grzywacz> Yes, I know.
2007-06-18T15:25:26 <xorAxAx> well, use beta.paste.pocoo.org with the stuff you dont understand
2007-06-18T15:25:27 <grzywacz> I see tests running, I see... some kind of traceback... But it's not very informative... ;(
2007-06-18T15:25:55 <grzywacz> tests finished: 116 passed, 6 failed, 12 skipped in 7.17 seconds
2007-06-18T15:26:06 <xorAxAx> i mean the stacktrace, not the summary line :)
2007-06-18T15:26:23 <grzywacz> I know, the summary is just to indicate what I get.
2007-06-18T15:27:38 <grzywacz> xorAxAx, http://beta.paste.pocoo.org/show/202
2007-06-18T15:27:40 <grzywacz> For example.
2007-06-18T15:28:03 <grzywacz> I have no idea what this test is actually testing, for example. ;)
2007-06-18T15:28:43 <xorAxAx> grzywacz: thats dreimark's fault i think
2007-06-18T15:28:47 <xorAxAx> unrelated to your stuff
2007-06-18T15:28:56 <grzywacz> d'oh
2007-06-18T15:28:59 <xorAxAx> it seems to test an option parser
2007-06-18T15:29:09 <xorAxAx> TestParmeterParser().testTooMuchWantedArguments
2007-06-18T15:29:21 <xorAxAx> no relation to your stuff as far as i can see
2007-06-18T15:29:30 <grzywacz> Maybe.
2007-06-18T15:29:57 <grzywacz> Someone who knows more about this should run them and decide. -_-;
2007-06-18T15:34:34 <grzywacz> タイトルインデックス
2007-06-18T15:34:37 <grzywacz> Utf wins...
2007-06-18T15:37:51 <ffesti> zenhase, yes and probably a method returning a list of theme names for UserPreferences
2007-06-18T15:42:52 <zenhase> they should show up there already
2007-06-18T15:43:30 <zenhase> at least in the prototype installation on eigensex.org
2007-06-18T15:43:34 <ffesti> oki, didn't check explicitly...
2007-06-18T15:43:54 <zenhase> that's why i hacked it into the plugin-loading code for the meantime
2007-06-18T15:43:55 <ffesti> yeah, should have thought of that...
2007-06-18T15:44:18 <zenhase> you find genshitheme, genshitest1 and genshitest2 in the installtion
2007-06-18T15:44:34 <grzywacz> Hm. How can I create a dummy request, that I could then use with tests operating on xmlrpc codebase?
2007-06-18T15:44:48 <xorAxAx> grzywacz: RequestCLI
2007-06-18T15:44:54 <xorAxAx> request.CLI
2007-06-18T15:45:34 <grzywacz> ok
2007-06-18T15:48:30 <dreimark> xorAxAx: hmm, http://beta.paste.pocoo.org/show/202 I rework that, the argParser is not finished too
2007-06-18T15:48:38 <CIA-27> moin: Florian Krupicka <florian.krupicka@googlemail.com> * 2059:284d20097bf8 1.7-template-fkrupicka/MoinMoin/theme/_genshitheme.py: Fixed imports and duplicated calls to localizedPageName
2007-06-18T15:48:40 <CIA-27> moin: Florian Krupicka <florian.krupicka@googlemail.com> * 2060:c8dbb63d5920 1.7-template-fkrupicka/MoinMoin/wikiutil.py: Deleted print statement added while debugging
2007-06-18T15:49:07 <xorAxAx> dreimark: then you might want to skip it first :)
2007-06-18T15:53:11 <dreimark> ok
2007-06-18T15:54:12 <dreimark> nice py.test description http://agiletesting.blogspot.com/2005/01/python-unit-testing-part-3-pytest-tool.html
2007-06-18T15:55:16 <zenhase> i'll be back later and then will finally start on the design paper for REAL template integration
2007-06-18T15:55:46 <zenhase> and i am sorry for the hacks/bugs in the prototype
2007-06-18T15:57:41 <xorAxAx> dreimark: is it better than the offical docs page?
2007-06-18T15:57:41 <zenhase> i had to get used to the ways plugins are loaded and the quite unexpected ways output is affected
2007-06-18T15:57:56 <xorAxAx> zenhase: yeah, its not intuitive in most cases :)
2007-06-18T15:58:02 <zenhase> xorAxAx: btw. what is so braindead about pkg_resources?
2007-06-18T15:58:14 <xorAxAx> zenhase: the way it finds its resources ...
2007-06-18T15:58:20 <xorAxAx> and the latency resulting from that
2007-06-18T15:58:41 <zenhase> i agree that the way moin does it is quite fast
2007-06-18T15:59:26 <zenhase> but i find the pkg_resources way of importing stuff quite neat and clean
2007-06-18T15:59:37 <zenhase> especially the entry_points stuff
2007-06-18T16:00:20 <zenhase> but it's more about loading python modules ... i didn't really take a look at how it deals with on disc resources like templates, images, etc.
2007-06-18T16:00:38 <grzywacz> MoinMoin.error.ConfigurationError:
2007-06-18T16:00:38 <grzywacz> data_dir "/home/karol/programowanie/soc/1.7-devel/MoinMoin/_tests/wiki/data" does not exists, or has incorrect ownership or
2007-06-18T16:00:38 <grzywacz> permissions
2007-06-18T16:00:45 <grzywacz> Huh. How do I get around this? :|
2007-06-18T16:00:57 <grzywacz> It fails even when I create this dir for py.test
2007-06-18T16:01:05 <zenhase> programowanie .. funny looking word :>
2007-06-18T16:01:15 <zenhase> well, l8a then
2007-06-18T16:01:18 <grzywacz> How does it look in German? ;)
2007-06-18T16:03:41 <grzywacz> Programmierung. Heh. ;>
2007-06-18T16:06:07 <ThomasWaldmann> programowanie sounds like some illness X)
2007-06-18T16:07:47 <ThomasWaldmann> hehe --looponfailing
2007-06-18T16:09:03 <grzywacz> Evil. ;]
2007-06-18T16:13:53 <xorAxAx> zenhase: it looks like you havent seriously used entry points
2007-06-18T16:14:01 <xorAxAx> its the most broken aspect of pkg_resources
2007-06-18T16:14:16 <xorAxAx> in terms of maintainability and conflict resolution
2007-06-18T16:18:12 <grzywacz> nvm
2007-06-18T16:31:50 <grzywacz> xorAxAx, http://rafb.net/p/jTEXN478.html
2007-06-18T16:31:53 <grzywacz> Is this ok?
2007-06-18T16:33:57 <xorAxAx> grzywacz: yes, makes sense
2007-06-18T16:34:11 <xorAxAx> and with stdout capturing, the print doesnt hurt
2007-06-18T16:34:19 <xorAxAx> grzywacz: did you try to make the test failing?
2007-06-18T16:34:33 <xorAxAx> by e.g. manually editing the fixed multicall handler into the old state
2007-06-18T16:34:36 <grzywacz> Well, it will be displayed if test fails, and then will provide an useful description of the test.
2007-06-18T16:34:39 <grzywacz> Yes, it fails then. Tried.
2007-06-18T16:37:04 <xorAxAx> very nice
2007-06-18T16:48:50 <grzywacz> xorAxAx, how exactly do you understand the "Add checkboxes to user form that allow the user to select which events should be sent to him how." TODO item?
2007-06-18T16:49:10 <grzywacz> Should the user be able to choose jabber/email/whatever form of notification?
2007-06-18T16:49:21 <grzywacz> Any of them? Any combination of them?
2007-06-18T16:50:58 <grzywacz> Currently there's only a list of events.
2007-06-18T17:39:40 <ThomasWaldmann> moin lanius
2007-06-18T17:40:17 * ThomasWaldmann plays with py.test
2007-06-18T17:44:01 <ThomasWaldmann> lanius: hg pull
2007-06-18T17:49:02 * ffesti -> home
2007-06-18T17:49:26 <ThomasWaldmann> ffesti: cd
2007-06-18T18:08:53 <ThomasWaldmann> grzywacz: that geteventhandlers stuff won't work for wiki farms, with different sets of event plugins in the different data/plugin dirs
2007-06-18T18:09:31 <grzywacz> ThomasWaldmann, I have no idea about wiki farms. :)
2007-06-18T18:09:39 <ThomasWaldmann> (or maybe it will, but it does it too complicated :)
2007-06-18T18:10:15 <ThomasWaldmann> just store your "event handler list cache" into request.cfg.cache.event_handlers
2007-06-18T18:10:43 <grzywacz> ack
2007-06-18T18:11:10 <lanius> ThomasWaldmann: done, why did you add the , at the end of the lists
2007-06-18T18:11:30 <ThomasWaldmann> because it makes it easier to add new entries at the end
2007-06-18T18:11:48 <ThomasWaldmann> (esp. for stuff with 1 entry/line)
2007-06-18T18:12:28 <lanius> ok
2007-06-18T18:12:49 <ThomasWaldmann> and it even works for 1 element lists: (1, ) is a list
2007-06-18T18:12:59 <ThomasWaldmann> ehrm tuple
2007-06-18T18:13:39 <ThomasWaldmann> btw, quite some of your tests are currenlty failing
2007-06-18T18:22:52 <zenhase> xorAxAx: well, i admit i have used them mostly in a use-only-fashion (for example in pylons) and it looked quite appealing to me
2007-06-18T18:22:52 <lanius> failling? not here, which one
2007-06-18T18:22:53 <lanius> s
2007-06-18T18:23:11 <zenhase> didn't encounter any strange behaviour there until now either
2007-06-18T18:23:40 <zenhase> xorAxAx: what problems did you encounter there?
2007-06-18T18:23:49 <ThomasWaldmann> lanius: forgot to commit/push maybe?
2007-06-18T18:23:57 <lanius> ThomasWaldmann: no
2007-06-18T18:25:36 <ThomasWaldmann> lanius: if i start them from storage/. all fail, if i start them from storage/_tests/. 10 fail
2007-06-18T18:33:32 <grzywacz> off to do some swimming 8)
2007-06-18T18:40:08 <ThomasWaldmann> lanius: > BackendError: Invalid path 'data/pages'.
2007-06-18T18:43:04 <lanius> ThomasWaldmann: ok, a problem with the path then, strange, starting from _tests is correct
2007-06-18T18:44:07 <lanius> ThomasWaldmann: what's your workdir
2007-06-18T18:44:43 <ThomasWaldmann> storage/_tests
2007-06-18T18:46:48 <ThomasWaldmann> there are some "already exists" errors
2007-06-18T18:47:10 <lanius> maybe your test data got corrupted
2007-06-18T18:47:20 <lanius> after starting from storage/
2007-06-18T18:48:03 <lanius> or it's another problem with dircache that also happens under unix
2007-06-18T18:48:44 <ThomasWaldmann> well, I guess it got corrupted by running the tests :) how do I init it to sane state?
2007-06-18T18:49:05 <lanius> that's still a problem, revert to the last rev in the rep
2007-06-18T18:49:34 <ThomasWaldmann> hg diff shows nothing (it is exclude)
2007-06-18T18:50:01 <ThomasWaldmann> so i can just clone again...
2007-06-18T18:50:51 <lanius> why is it exclud
2007-06-18T18:50:52 <lanius> e
2007-06-18T18:53:21 <xorAxAx> grzywacz: we have talked about that already
2007-06-18T18:53:28 <xorAxAx> grzywacz: have you read your irc logs? :)
2007-06-18T18:53:35 <ThomasWaldmann> ehrm, no, i confused that with the other test wiki stuff, your stuff is not excluded
2007-06-18T18:54:16 <xorAxAx> lanius: it has to work from everywhere of course :)
2007-06-18T18:54:23 <xorAxAx> lanius: in the tests, you can use py.magic.autopath
2007-06-18T18:54:55 <xorAxAx> zenhase: usually, entry points mix up easily, and they depend on setuptools for maintenance
2007-06-18T18:55:07 <xorAxAx> zenhase: also, uninstalling entry points wasnt included in the design
2007-06-18T18:56:25 <ThomasWaldmann> lanius: still failing. it tells rev2 of item New does not exists and this is true, there is only 1 and 3
2007-06-18T18:56:41 <ThomasWaldmann> and current points to 2
2007-06-18T18:57:30 <ThomasWaldmann> > RevisionNotExistsError: Revision 0 of item 'New' does not exist.
2007-06-18T18:57:38 <ThomasWaldmann> bad error msg
2007-06-18T18:58:07 <xorAxAx> weird class name ":)"
2007-06-18T18:59:52 <ThomasWaldmann> py.test.raises(ItemNotExistsError, self.backend.get_data_backend, "adsf", 2)
2007-06-18T18:59:56 <ThomasWaldmann> E py.test.raises(RevisionNotExistsError, self.backend.get_data_backend, pages[0], 3)
2007-06-18T18:59:59 <ThomasWaldmann> > ExceptionFailure: DID NOT RAISE
2007-06-18T19:03:02 <zenhase> xorAxAx: uninstalling?
2007-06-18T19:03:43 <zenhase> xorAxAx: you mean programwise? like "give me all entrypoints for foo.bar but exclude the ones from distribution "blub"?
2007-06-18T19:04:43 <xorAxAx> zenhase: no, uninstalling libraries that provide entry points
2007-06-18T19:04:52 <xorAxAx> and keeping them up-to-date with the right version
2007-06-18T19:05:18 <lanius> ThomasWaldmann: is that the only one?
2007-06-18T19:05:42 <ThomasWaldmann> no
2007-06-18T19:05:49 <xorAxAx> py.magic.autopath().dirpath("data") might work, lanius
2007-06-18T19:07:24 <zenhase> xorAxAx: isn't uninstalling mostly about deleting an egg?
2007-06-18T19:07:30 <xorAxAx> zenhase: yes
2007-06-18T19:07:39 <xorAxAx> zenhase: but even then, you need to clean the pth file
2007-06-18T19:07:48 <xorAxAx> zenhase: otherwise it will slow down pkg_resources even more
2007-06-18T19:07:54 <zenhase> ok
2007-06-18T19:08:50 <lanius> ThomasWaldmann: i will try them on linux
2007-06-18T19:09:07 <xorAxAx> lanius: do you need an account?
2007-06-18T19:09:11 <xorAxAx> somewhere
2007-06-18T19:09:24 <lanius> no, i have enough ;)
2007-06-18T19:09:26 <xorAxAx> ok
2007-06-18T19:11:07 <ThomasWaldmann> lanius: http://docs.moinmo.in/files/pytest-tw.txt
2007-06-18T19:12:10 <lanius> thx
2007-06-18T19:12:18 <lanius> xorAxAx: how would you name the class=
2007-06-18T19:12:33 <xorAxAx> lanius: which class?
2007-06-18T19:12:35 <xorAxAx> ah
2007-06-18T19:12:45 <xorAxAx> well
2007-06-18T19:13:13 <xorAxAx> NonExistantItem, ItemNotExisiting etc. pp.
2007-06-18T19:13:24 <xorAxAx> NoItem
2007-06-18T19:13:41 <xorAxAx> something that is at least partly grammatically correct :)
2007-06-18T19:13:55 <lanius> ^^
2007-06-18T19:14:08 <xorAxAx> and _handle_error is a bit weird - it gets a message but doenst use it
2007-06-18T19:14:16 <lanius> it does
2007-06-18T19:14:26 <lanius> but not always
2007-06-18T19:14:27 <xorAxAx> not in toms traceback
2007-06-18T19:14:45 <xorAxAx> btw, you should use causes
2007-06-18T19:14:49 <xorAxAx> as moin already does
2007-06-18T19:14:53 <xorAxAx> i think that is very important
2007-06-18T19:14:57 <lanius> it only uses them if it is a general BackendError
2007-06-18T19:15:01 <xorAxAx> for usable debugging
2007-06-18T19:15:01 <lanius> causes?
2007-06-18T19:15:13 <xorAxAx> attach the root traceback to the exception instance you are generating
2007-06-18T19:15:23 <xorAxAx> so the cgitb can it display as a cause
2007-06-18T19:15:33 <xorAxAx> i think i have already said this
2007-06-18T19:15:39 <xorAxAx> its done in MoinMoin.config
2007-06-18T19:16:39 <lanius> oh yeah, accidently removed it again
2007-06-18T19:16:44 <lanius> when refactoring the exceptions
2007-06-18T19:17:39 <xorAxAx> CompositeError
2007-06-18T19:17:53 <xorAxAx> if you derive from that, it will work automatically
2007-06-18T19:18:07 <xorAxAx> one of nirs neat nifty ideas
2007-06-18T19:18:58 <xorAxAx> so you want to let some of the classes derive from it
2007-06-18T19:19:22 * xorAxAx -> shopping
2007-06-18T19:22:37 <lanius> have fun
2007-06-18T19:25:56 <dreimark> xorAxAx: 40 mins left
2007-06-18T19:58:01 <xorAxAx> dreimark: they are opened till 21 here
2007-06-18T19:58:46 <xorAxAx> funnily, i am living rather outside of the town and the other students who live near the university can only consume until 20
2007-06-18T20:15:44 * ThomasWaldmann writes some tests
2007-06-18T20:26:21 <xorAxAx> %-)
2007-06-18T20:53:27 <grzywacz> :D
2007-06-18T20:53:29 <grzywacz> re
2007-06-18T20:54:21 <grzywacz> xorAxAx, erm, I don't think I remember if we've figured out the final solution 8)
2007-06-18T20:54:37 <xorAxAx> i remember being pretty satisfied
2007-06-18T21:00:27 <grzywacz> Hm, I'll look at the logs, then.
2007-06-18T21:10:30 <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2077:23984eb6d4a8 1.7-storage-hwendel/MoinMoin/storage/ (7 files in 2 dirs): better naming for exceptions; add stack trace
2007-06-18T21:10:32 <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2078:a94f96dc587c 1.7-storage-hwendel/MoinMoin/storage/_tests/ (17 files in 6 dirs): move test data into a tar archive and extract it on every module load
2007-06-18T21:11:56 <grzywacz> http://linux.slashdot.org/linux/07/06/18/0037223.shtml
2007-06-18T21:11:57 <grzywacz> lol
2007-06-18T21:21:15 <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2143:b97040fcd8e1 1.7/MoinMoin/ (8 files in 2 dirs): added some new tests, move util tests to MoinMoin/util/_tests
2007-06-18T21:23:16 <ThomasWaldmann> grzywacz: can we merge your branch into main again?
2007-06-18T21:39:10 <dreimark> http://hg.moinmo.in/moin/xxx/ its difficult to see which files were deleted
2007-06-18T21:43:32 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2144:05557f1ce219 1.7/MoinMoin/events/emailnotify.py: Fix sending of email notifications after changes to messages.py
2007-06-18T21:43:33 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2145:f153b3155240 1.7/ (4 files in 3 dirs): Send notifications about creation of users to Superusers with JID set.
2007-06-18T21:43:35 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2146:85854afc1aa2 1.7/ (5 files in 3 dirs): Merge with my devel branch.
2007-06-18T21:43:36 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2147:b01a6ef1be4c 1.7/MoinMoin/ (config/multiconfig.py events/jabbernotify.py): Get rid of the global xmlrpc Server object. Instantiate one in config.
2007-06-18T21:43:39 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2148:8181ec5cd86c 1.7/MoinMoin/ (config/multiconfig.py events/jabbernotify.py): Merge with my devel branch.
2007-06-18T21:43:40 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2149:7def1e49e757 1.7/jabberbot/config.py: Add a sample config for the notification bot.
2007-06-18T21:43:45 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2150:3417a1d559d0 1.7/MoinMoin/_tests/ (20 files): Merge the changes from main.
2007-06-18T21:43:48 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2151:dd3abe290142 1.7/MoinMoin/util/web.py: Add a makeMultiSelection() function which creates a multiple <select> element.
2007-06-18T21:43:51 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2152:cf4c4a3d6085 1.7/MoinMoin/ (config/multiconfig.py events/__init__.py user.py userform.py): Add a list of selectable events user wants to be notified about.
2007-06-18T21:43:55 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2153:8e772d72ec6e 1.7/MoinMoin/ (5 files in 4 dirs): Merge with my devel branch.
2007-06-18T21:43:58 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2154:f2ae2f08958d 1.7/MoinMoin/events/jabbernotify.py:
2007-06-18T21:44:01 <CIA-27> moin: Honor event subscriptions when sending jabber notifications. Fix missing import.
2007-06-18T21:44:07 <CIA-27> moin: Also don't send empty JIDs to the jabber bot.
2007-06-18T21:44:09 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2155:4138e1f06617 1.7/MoinMoin/userform.py: Make it possible to unset user's jid in preferences.
2007-06-18T21:44:12 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2156:e2aa8372c4bf 1.7/jabberbot/xmppbot.py: Warn if a command with empty user jid has been received.
2007-06-18T21:44:20 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2157:c3bf2fa18b9a 1.7/jabberbot/xmppbot.py: Backed out changeset e2aa8372c4bf462dde0fe18fb647d782c3f1f615
2007-06-18T21:44:21 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2158:22a7080b4ac5 1.7/jabberbot/xmppbot.py: Don't process commands with no jid and issue a warning. That's a proper fix.
2007-06-18T21:44:23 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2159:a8941968efa1 1.7/ (3 files in 3 dirs): Merge with my devel branch.
2007-06-18T21:44:30 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2160:7c8ee12f8c1d 1.7/MoinMoin/ (config/multiconfig.py events/jabbernotify.py): Fix an error with missing bot_host attribute. Use more descriptive names.
2007-06-18T21:44:33 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2161:af1eb45c937e 1.7/wiki/config/more_samples/jabber_wikiconfig.py: Fix the sample config to use new attribute name.
2007-06-18T21:44:38 <CIA-27> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> * 2162:e6dd69d3ac69 1.7/MoinMoin/ (config/multiconfig.py events/jabbernotify.py): Merge with my devel branch.
2007-06-18T21:44:41 <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2163:93e8ba421a88 1.7/ (10 files in 6 dirs): merge jabber branch
2007-06-18T21:45:32 <lanius> ThomasWaldmann: the problem is the dircache module again
2007-06-18T21:45:51 <ThomasWaldmann> why?
2007-06-18T21:45:53 <lanius> ThomasWaldmann: seems like reiserfs does not update mtime fast enough as well
2007-06-18T21:46:09 <ThomasWaldmann> but i dont have reiserfs
2007-06-18T21:46:14 <lanius> then every fs
2007-06-18T21:46:24 <lanius> when removing a revision my code will first remove the revision
2007-06-18T21:46:37 <lanius> and then it does a listdir to look which revision is the latest remaining
2007-06-18T21:46:45 <lanius> and this listdir has still the old revision in it
2007-06-18T21:47:45 <lanius> so actually the revision file is removed but the removed revision is saved to current again
2007-06-18T21:48:58 <ThomasWaldmann> ok, then just use os.listdir
2007-06-18T21:49:50 <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2079:019534f1362e 1.7-storage-hwendel/MoinMoin/storage/ (_tests/__init__.py fs_moin16.py): fix unittests on linux
2007-06-18T21:50:23 <lanius> then it should work for you now
2007-06-18T21:51:46 <ThomasWaldmann> tests finished: 33 passed, 11 failed
2007-06-18T21:52:13 <lanius> at least the complete count is correct ;)
2007-06-18T21:52:35 <lanius> please upload your errors again
2007-06-18T21:55:40 <ThomasWaldmann> > assert [0, 2, 1] == [0, 1, 2]
2007-06-18T21:55:49 <ThomasWaldmann> list_revisions
2007-06-18T21:58:50 <ThomasWaldmann> E assert open(os.path.join(get_page_dir(), pages[0], "current"), "r").read() == "00000003\n"
2007-06-18T21:58:53 <ThomasWaldmann> > assert '00000001\n' == '00000003\n'
2007-06-18T21:58:59 <ThomasWaldmann> create_remove_revision
2007-06-18T22:02:29 <ThomasWaldmann> maybe use sets or sort
2007-06-18T22:05:55 <CIA-27> moin: Marian Neagul marian@info.uvt.ro * 2173:4da58fea8d54 1.7-classify-mneagul/ (MoinMoin/classifier/__init__.py wikiconfig.py): Fix regular expresion problem.
2007-06-18T22:06:01 <CIA-27> moin: Marian Neagul marian@info.uvt.ro * 2174:9ca912e30df7 1.7-classify-mneagul/MoinMoin/classifier/__init__.py: Fix escaping and remove some useless code
2007-06-18T22:06:03 <CIA-27> moin: Alexander Schremmer <alex AT alexanderweb DOT de> * 2175:ff428fa12e3c 1.7-classify-mneagul/MoinMoin/_tests/ (19 files): Added legacy warning to old unittests.
2007-06-18T22:06:04 <CIA-27> moin: Alexander Schremmer <alex AT alexanderweb DOT de> * 2176:9c7c784281b7 1.7-classify-mneagul/MoinMoin/_tests/test_converter_text_html_text_moin_wiki.py: Removed unittest.main call.
2007-06-18T22:06:05 <CIA-27> moin: Alexander Schremmer <alex AT alexanderweb DOT de> * 2177:d84535cb9f65 1.7-classify-mneagul/MoinMoin/_tests/_test_template.py: Simplify test template.
2007-06-18T22:06:06 <CIA-27> moin: Marian Neagul marian@info.uvt.ro * 2178:0835825203b9 1.7-classify-mneagul/MoinMoin/_tests/ (20 files): Merge with 1.7
2007-06-18T22:12:47 <zenhase> re
2007-06-18T22:31:56 <CIA-27> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> * 2164:7fed5edaa2a5 1.7/MoinMoin/_tests/ (test_formatter.py test_wikiutil.py): tests: some fixes
2007-06-18T22:46:16 <dreimark> xorAxAx: def testSubscriptionSubPage(self): this wasn't broken some days ago
2007-06-18T22:47:01 <xorAxAx> so? :)
2007-06-18T22:48:25 <dreimark> I am wrong I thougt the test is broken its right its shows a failure
2007-06-18T22:48:52 <xorAxAx> well, maybe you want to find out the cause :)
2007-06-18T22:48:55 <lanius> ThomasWaldmann: what else fails?
2007-06-18T22:49:00 <xorAxAx> hg has a bisect extension
2007-06-18T22:49:06 <xorAxAx> lanius: dont you want to use your own accounts? :)
2007-06-18T22:49:12 <xorAxAx> might be more effective :)
2007-06-18T22:49:49 <lanius> xorAxAx: if this is reproduceable then sure
2007-06-18T22:50:38 <xorAxAx> lanius: i would assume so
2007-06-18T22:53:45 <lanius> then go ahead please
2007-06-18T22:54:39 <ThomasWaldmann> lanius: first commit those fixes, then i run it again
2007-06-18T22:55:08 <lanius> ThomasWaldmann: only to the test you mentioned or everywhere where arrays are compared
2007-06-18T22:55:18 <zenhase> i am trying to put together a design draft for the integration right now
2007-06-18T22:56:19 <zenhase> but somehow university spoiled my ability to express it in a simple way ;>
2007-06-18T22:56:44 * zenhase finds himself starting like with an abstract/rationale style intro
2007-06-18T22:56:49 <ThomasWaldmann> lanius: http://docs.moinmo.in/files/pytest-tw.txt
2007-06-18T22:59:54 <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2080:b76c052a89e8 1.7-storage-hwendel/MoinMoin/storage/_tests/ (test_backends.py test_external.py test_fs_moin16.py): use set() to compare arrays
2007-06-18T22:59:56 <lanius> ThomasWaldmann: done
2007-06-18T23:00:59 <ThomasWaldmann> reload the url
2007-06-18T23:02:29 <lanius> should the backend sort the revisions and the pages?
2007-06-18T23:03:01 <lanius> and if yes in which order
2007-06-18T23:03:36 <ThomasWaldmann> revisions should be sorted
2007-06-18T23:03:48 <ThomasWaldmann> mostly we need them in reverse order
2007-06-18T23:04:17 <lanius> and items
2007-06-18T23:04:39 <ThomasWaldmann> standard sort
2007-06-18T23:08:05 <CIA-27> moin: Heinrich Wendel <h_wendel@cojobo.net> * 2081:78a5e6a4f0e6 1.7-storage-hwendel/MoinMoin/storage/ (5 files in 2 dirs): fix sorting of revisions and items
2007-06-18T23:08:09 <lanius> next try
2007-06-18T23:08:15 <dreimark> http://wiki.python.de/Sortierungs-Tutorium
2007-06-18T23:09:23 <ThomasWaldmann> lanius: strike!
2007-06-18T23:09:46 <lanius> is there any speed difference between sorted() and sort()
2007-06-18T23:10:54 <xorAxAx> sorted internally calls sort
2007-06-18T23:11:06 <xorAxAx> so sort is faster
2007-06-18T23:11:12 <xorAxAx> if you dont need to copy yourself
2007-06-18T23:11:27 <lanius> ok
2007-06-18T23:11:39 <lanius> though sorted is more elegant ;)
2007-06-18T23:12:43 <xorAxAx> depends on what you are doing :)
2007-06-18T23:12:58 <xorAxAx> also note that sorted isnt in 2.3
2007-06-18T23:30:02 <neagulm> moin
2007-06-18T23:30:28 <neagulm> dreimark, did you read my question on my wiki Page ?
2007-06-18T23:35:28 <dreimark> neagulm: currently a separate log per page is fine with me too. I have currently no better idea. Is locking needed?
2007-06-18T23:35:55 <neagulm> possibly
2007-06-18T23:38:07 <dreimark> neagulm: try to implement one and another wish of me please write some creative py.test scripts ( xorAxAx I avoid the word unittest ;) )
2007-06-18T23:38:49 <neagulm> dreimark, today I had some problems with simplified Chinese :) I forgot to quote the entry's in [Spam|Ham]Pages (as suggested by you) ... It took me some time to find the bug
2007-06-18T23:39:26 <xorAxAx> dreimark: "unit test" is fine :)
2007-06-18T23:39:46 <neagulm> dreimark, ok. I will write some tests
2007-06-18T23:40:29 <dreimark> neagulm: it will make it easier to find out if someone else break your code ;)
2007-06-18T23:45:28 <neagulm> dreimark, I think that i will use the MM formatter code for extracting tokens... It will bring use better accuracy...
2007-06-18T23:47:06 <neagulm> dreimark, I will update the wiki page with some problems related to Skip's ideea to use a generic SB classifier...
2007-06-18T23:47:26 <dreimark> ok
2007-06-18T23:55:39 <neagulm> dreimark, back. Laptop problem :(
2007-06-18T23:56:36 <dreimark> oh, currently I try to fix some keyboard layout bugs with freeNX
MoinMoin: MoinMoinChat/Logs/moin-dev/2007-06-18 (last edited 2007-10-29 19:13:48 by localhost)