1 2010-05-26T00:08:15  <CIA-47> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8222:cd727db0ae5d 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_html_out.py: Add draft test with XPATH
   2 2010-05-26T00:09:21  <valeuf> xorAxAx:  See for the the example of the test : http://paste.pocoo.org/show/218285/
   3 2010-05-26T00:09:38  <valeuf> xorAxAx: it is working, we just need to add the namespace in the XPATH query to make it working
   4 2010-05-26T00:10:16  <valeuf> xorAxAx: I should probably add some test, to check that div is really the root, and that p has scrip as content also
   5 2010-05-26T00:10:47  <valeuf> xorAxAx: but the principle of this test looks fine for me (compare to my code from yesterday)
   6 2010-05-26T00:11:20  <valeuf> xorAxAx: I catch you tomorrow :) It is time to sleep for me
   7 2010-05-26T00:11:22  <valeuf> gn
   8 2010-05-26T00:11:34  <xorAxAx> valeuf: no, you dont need to check whether it is the root, just select /...
   9 2010-05-26T00:12:00  <xorAxAx> valeuf: you could probably write a function that preprocesses the xpath string to add the namespaces
  10 2010-05-26T00:13:06  <valeuf> xorAxAx: yep, but we should check that the selected element is div, and not something else whatever the way you select it, isn't it ?
  11 2010-05-26T00:13:16  <xorAxAx> valeuf: ?
  12 2010-05-26T00:13:26  <xorAxAx> i dont understand
  13 2010-05-26T00:13:30  <valeuf> xorAxAx: sure, I will write function to preprocess the XPATH query ^  ^
  14 2010-05-26T00:14:18  <valeuf> xorAxAx: xpath start from the root element, so in the test I make, whatever the first tag we have, the test will success if in this element we have <p><sub>sub</sub></p>
  15 2010-05-26T00:14:44  <valeuf> xorAxAx: so I thought that we have to check that <div> is our first element to make the test more sure
  16 2010-05-26T00:14:56  <xorAxAx> valeuf: i dont think that this is necessary
  17 2010-05-26T00:15:18  <valeuf> xorAxAx: FYI, XPATH in EmeraldTree does not support '/div/p/sub'
  18 2010-05-26T00:15:34  <xorAxAx> why not?
  19 2010-05-26T00:15:43  <valeuf> xorAxAx: it has not been implemented
  20 2010-05-26T00:15:56  <valeuf> xorAxAx: it raise an exception if you try to do it
  21 2010-05-26T00:16:02  <xorAxAx> well, then throw it away and use lxml
  22 2010-05-26T00:16:03  <valeuf> *raises
  23 2010-05-26T00:16:16  <xorAxAx> should be fine for the tests
  24 2010-05-26T00:16:45  <valeuf> xorAxAx: ^  ^ ok I will check lxml tomorrow
  25 2010-05-26T00:17:28  <valeuf> xorAxAx: so we can compare the two solutions
  26 2010-05-26T00:17:38  <xorAxAx> yeah
  27 2010-05-26T00:17:51  <valeuf> xorAxAx: gn ^  ^
  28 2010-05-26T00:18:37  <xorAxAx> gn valeuf
  29 2010-05-26T01:50:16  *** diofeher has joined #moin-dev
  30 2010-05-26T01:51:44  *** diofeher has quit IRC
  31 2010-05-26T01:52:06  *** diofeher has joined #moin-dev
  32 2010-05-26T01:55:40  *** diofeher has quit IRC
  33 2010-05-26T03:15:51  *** diofeher has joined #moin-dev
  34 2010-05-26T03:16:15  *** diofeher_ has joined #moin-dev
  35 2010-05-26T03:19:38  *** diofeher_ is now known as diofeher_test
  36 2010-05-26T03:22:02  *** diofeher has left #moin-dev
  37 2010-05-26T03:23:56  *** diofeher has joined #moin-dev
  38 2010-05-26T03:24:30  *** diofeher has left #moin-dev
  39 2010-05-26T03:28:56  *** diofeher has joined #moin-dev
  40 2010-05-26T03:29:21  *** diofeher_test has quit IRC
  41 2010-05-26T03:29:48  <diofeher> finally, psybnc installed :)
  42 2010-05-26T06:41:13  <dreimark> diofeher: :)
  43 2010-05-26T07:09:38  * dreimark reminder for "WikiKurs/05 Benutzer-Einstellungen" 
  44 2010-05-26T07:34:16  <CIA-47> Dmitry Andreev <klieg.polar@gmail.com> default * 8221:71e5b156360f 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/moinwiki_out.py: DOM->Moinwiki converter: conversion of list
  45 2010-05-26T09:10:06  *** DmitryAndreev has quit IRC
  46 2010-05-26T09:35:23  *** gwork has joined #moin-dev
  47 2010-05-26T09:39:59  <TheSheep> diofeher: hello
  48 2010-05-26T09:48:44  <dreimark> moin
  49 2010-05-26T09:49:05  <dreimark> any idea why an interwikiname of inm1 is shown as inm?
  50 2010-05-26T09:53:35  <TheSheep> no
  51 2010-05-26T09:53:51  <TheSheep> aren't interwiki names supposed to start with uppercase?
  52 2010-05-26T09:55:32  <dreimark> hmm, i have some which start with an lowercase in other wikis too
  53 2010-05-26T09:57:25  <TheSheep> maybe I remembered wrong
  54 2010-05-26T11:04:08  *** DmitryAndreev has joined #moin-dev
  55 2010-05-26T12:58:13  *** DmitryAndreev has quit IRC
  56 2010-05-26T13:10:12  <dreimark> TheSheep: ThomasWaldmann can you help me with that problem
  57 2010-05-26T13:10:14  <dreimark> http://paste.pocoo.org/show/218460/
  58 2010-05-26T13:10:46  <dreimark> I want any other page name I don't have a farmsetup for served by  /
  59 2010-05-26T13:11:08  <dreimark> e.g. /Webseiten/foo -> farm
  60 2010-05-26T13:11:23  <dreimark> /Webseiten/ToDo -> wiki
  61 2010-05-26T13:11:48  <dreimark> or any other who could help
  62 2010-05-26T13:19:12  <dreimark> a redirect for farmwiki does not exists would also be nice
  63 2010-05-26T13:24:54  <TheSheep> you can do it in apache
  64 2010-05-26T13:38:28  *** DmitryAndreev has joined #moin-dev
  65 2010-05-26T14:34:30  *** DmitryAndreev_ has joined #moin-dev
  66 2010-05-26T14:38:03  *** DmitryAndreev has quit IRC
  67 2010-05-26T14:38:26  *** DmitryAndreev_ is now known as DmitryAndreev
  68 2010-05-26T14:56:09  <diofeher> moin moin
  69 2010-05-26T14:56:46  <DmitryAndreev> moin, why so quiet today?
  70 2010-05-26T15:04:23  <diofeher> maybe too work
  71 2010-05-26T15:36:48  *** ei-grad has joined #moin-dev
  72 2010-05-26T15:52:11  *** kursor has joined #moin-dev
  73 2010-05-26T16:47:10  <CIA-47> Dmitry Andreev <klieg.polar@gmail.com> default * 8222:2b42c80bffbf 2.0-dev-wiki-rest-dandreev/MoinMoin/converter2/moinwiki_out.py: DOM->Moinwiki converter: prototype conversion of tables
  74 2010-05-26T17:24:03  *** DmitryAndreev has quit IRC
  75 2010-05-26T18:10:30  <ThomasWaldmann> TheSheep: diofeher: btw, although the wikiutil split is a good idea, it might be a bad time to do it when we have lots of concurrent development (except if we do it in main repo and merge it into all others, but for that, it needs to be done rather safely)
  76 2010-05-26T18:34:35  <ThomasWaldmann> aa_: dreimark: eSyr: TheSheep: waldi: xorAxAx: http://doodle.com/participation.html?pollId=47ezp4cbn6n34b8t
  77 2010-05-26T18:35:55  <aa_> ThomasWaldmann: I am not exactly important, but I will attend to keep up the formal process of GSOC (which is important)
  78 2010-05-26T18:37:05  <ThomasWaldmann> aa_: you'll be very important in case we add glashammer :)
  79 2010-05-26T18:37:43  <aa_> ThomasWaldmann: having just done 3 major open source releases this week I have some time to focus on glashammer
  80 2010-05-26T18:37:58  <aa_> ThomasWaldmann: I am talking about it at europy anyway, so I need to review everything quite carefully
  81 2010-05-26T18:39:30  <ThomasWaldmann> that reminds me that I still need a hotel room :)
  82 2010-05-26T18:45:34  *** DmitryAndreev has joined #moin-dev
  83 2010-05-26T18:59:37  <ronny_> ThomasWaldmann: talk to jek or lvh
  84 2010-05-26T19:04:12  <ThomasWaldmann> ronny_: i rather want something in premier in, also their leave times look incorrect
  85 2010-05-26T19:04:30  <ronny_> i see
  86 2010-05-26T19:13:46  * ThomasWaldmann just emailed them asking whether that is correct
  87 2010-05-26T19:21:21  <ThomasWaldmann> fsck, premier inn is out of double/twin rooms
  88 2010-05-26T19:31:10  * dreimark found today many page saving problems
  89 2010-05-26T19:31:19  <dreimark> and some are I guess ldap related
  90 2010-05-26T19:31:45  <dreimark> at least I think I have them since auth is by ldap
  91 2010-05-26T19:38:52  <dreimark> and the other problems are related to the gui editor
  92 2010-05-26T19:39:21  <dreimark> there is a size limit where it can't load a page
  93 2010-05-26T20:25:21  <aa_> ronny_: I hate giving lightning talks, no one laughs at my jokes
  94 2010-05-26T20:25:56  <aa_> can I also give a shout out the the Testing Panel, where a few testing geeks will be available for questions?
  95 2010-05-26T20:26:29  <aa_> http://www.google.com/moderator/#16/e=6621
  96 2010-05-26T20:40:53  *** DmitryAndreev has quit IRC
  97 2010-05-26T20:41:07  *** DmitryAndreev has joined #moin-dev
  98 2010-05-26T21:01:55  *** kursor has quit IRC
  99 2010-05-26T21:05:43  <valeuf> ThomasWaldmann: do you want I fill the doodle too ?
 100 2010-05-26T21:27:26  <valeuf> ThomasWaldmann: I decided to register for EuroPython finally :) But I have to find accomodation now !
 101 2010-05-26T21:42:46  <CIA-47> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8223:01a7a39b7a5c 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/_tests/test_html_out.py: Add draft test using XPATH and lxml
 102 2010-05-26T21:43:32  <valeuf> xorAxAx: I added a sample test with lxml ... much easier to make it working than EmeraldTree, but I am not sure it is giving a better approach
 103 2010-05-26T21:44:10  <xorAxAx> ok
 104 2010-05-26T21:44:24  <valeuf> xorAxAx: so we should choose one ore another approach :)
 105 2010-05-26T21:44:38  <valeuf> xorAxAx: maybe should we ask waldi too ?
 106 2010-05-26T21:45:19  <xorAxAx> probably
 107 2010-05-26T22:55:47  <dreimark> valeuf: that is for mentors
 108 2010-05-26T22:56:04  <valeuf> dreimark: ok I was not sure
 109 2010-05-26T22:57:46  <dreimark> ei-grad: can you tell me what you are doing or what blocks you?
 110 2010-05-26T23:02:48  <ei-grad> dreimark: can't understand from what i should begin to modify test_ldap_login
 111 2010-05-26T23:06:57  <dreimark> can we postpone this test fix and you try to write own tests for your new code?
 112 2010-05-26T23:08:44  <dreimark> meanwhile I can look on the test setup changes we have introduced which makes thom skipping the test
 113 2010-05-26T23:08:55  <ThomasWaldmann> re
 114 2010-05-26T23:09:41  <ThomasWaldmann> diofeher: DmitryAndreev: ei-grad: valeuf: please fill in the doodle, too
 115 2010-05-26T23:12:23  <ThomasWaldmann> http://doodle.com/participation.html?pollId=47ezp4cbn6n34b8t
 116 2010-05-26T23:13:00  <valeuf> ThomasWaldmann: done ^^ However, my free time are subject to change quickly, but once I get the meeting time, I can block this time in my schedule
 117 2010-05-26T23:31:11  <DmitryAndreev> i've marked the best time for me, but realy any time is ok, except some special days
 118 2010-05-26T23:31:24  <valeuf> DmitryAndreev: pretty same with me
 119 2010-05-26T23:37:03  <dreimark> ei-grad: testLDAP runs alone so you can use the LDAPTstBase and add config data for your group code
 120 2010-05-26T23:37:26  <dreimark> TestLDAPServer.testLDAP
 121 2010-05-26T23:38:50  <xorAxAx> valeuf: i think it looks much better
 122 2010-05-26T23:39:04  <xorAxAx> valeuf: also it doesnt force you to use the universal names
 123 2010-05-26T23:39:08  <valeuf> xorAxAx: what ?
 124 2010-05-26T23:39:37  <xorAxAx> valeuf: lxml
 125 2010-05-26T23:39:37  <ei-grad> dreimark: ok
 126 2010-05-26T23:39:40  <valeuf> oh BTW :
 127 2010-05-26T23:39:54  <CIA-47> Valentin Janiaut <valentin.janiaut@utbm.fr> default * 8224:2730822cfc50 2.0-dev-docbook-html-vjaniaut/MoinMoin/converter2/ (_tests/test_html_in.py html_in.py): Add quick start for the html_in converter
 128 2010-05-26T23:40:34  <valeuf> xorAxAx: hum, do not agree that much acutally, because we should process the tree with ET, write it into a string, and then parse it again with lxml, it is quite annoying
 129 2010-05-26T23:41:10  <xorAxAx> valeuf: WUAH TABS
 130 2010-05-26T23:41:16  <xorAxAx> valeuf: python -m tabnanny.py
 131 2010-05-26T23:41:27  <xorAxAx> valeuf: why is that annoying?
 132 2010-05-26T23:41:42  <valeuf> xorAxAx: I did not respect tabs in my source code ?
 133 2010-05-26T23:41:48  <xorAxAx> you added tabs
 134 2010-05-26T23:41:56  <xorAxAx> you shouldnt
 135 2010-05-26T23:42:07  <dreimark> sounds you don't run py.test before commiting
 136 2010-05-26T23:42:11  <valeuf> (grmbl, I used another editor that vim, I failed my configuration, sorry)
 137 2010-05-26T23:43:09  <valeuf> dreimark: I just run py.test on the test I wrote, so no any pep8 checking, I wanted to commit quickly, I was wrong
 138 2010-05-26T23:43:51  <dreimark> and no regression test ...
 139 2010-05-26T23:44:12  <valeuf> dreimark: ?
 140 2010-05-26T23:44:42  <dreimark> at the time if you write not only tests then your new code could break others
 141 2010-05-26T23:44:56  <dreimark> and if you don't run tests you don't know
 142 2010-05-26T23:46:44  <xorAxAx> valeuf: so?
 143 2010-05-26T23:47:24  <diofeher> good night all :)
 144 2010-05-26T23:47:36  <dreimark> gn diofeher
 145 2010-05-26T23:47:49  <TheSheep> you mean good evening?
 146 2010-05-26T23:47:54  <valeuf> xorAxAx: I am firstly looking for the PEP8 problem, I am running the test right now to fix all
 147 2010-05-26T23:48:38  <diofeher> hehe, yes.. i mislead about good night and good evening :P
 148 2010-05-26T23:48:43  <xorAxAx> valeuf: nevertheless you can describe to me why it is annoying
 149 2010-05-26T23:49:09  <TheSheep> diofeher: first of all, do you have all technical difficulties solved? you have a clone of the repository, you set up your ssh keys so that you can push to it, you can run your development version of moin, you can run tests, etc?
 150 2010-05-26T23:49:30  <TheSheep> diofeher: if not, lets get this done first
 151 2010-05-26T23:49:40  <valeuf> xorAxAx: ah just that I feel it is quite weird to process the tree, then write it into a string, to parse it again with another tool, to run XPath on this new tree
 152 2010-05-26T23:50:31  <valeuf> xorAxAx: I feel it is quite a problem, it can give more easily error,  the tree got alteration during these changes,
 153 2010-05-26T23:50:39  <xorAxAx> valeuf: i dont understand
 154 2010-05-26T23:50:56  <xorAxAx> which changes?
 155 2010-05-26T23:51:02  <valeuf> xorAxAx: compare to a version with only ET : you directly run Xpath on the tree, you even do not convert to a string
 156 2010-05-26T23:52:12  <diofeher> TheSheep: yes, i've made all of this
 157 2010-05-26T23:52:28  <diofeher> wait a min, i'm opening all programs here
 158 2010-05-26T23:52:43  <TheSheep> just open the moin's sources for now
 159 2010-05-26T23:53:36  <TheSheep> diofeher: did you try changing something and pushing the change?
 160 2010-05-26T23:53:47  <diofeher> not yet
 161 2010-05-26T23:53:51  <TheSheep> diofeher: your repo is http://hg.moinmo.in/moin/2.0-dev-jinja2-plugins-dfeher/
 162 2010-05-26T23:53:57  <diofeher> yes, it's cloned here
 163 2010-05-26T23:54:11  <TheSheep> diofeher: maybe create a file, add it, commit and push
 164 2010-05-26T23:54:18  <xorAxAx> valeuf:
 165 2010-05-26T23:54:29  <TheSheep> diofeher: if it's not tested, it's brken :)
 166 2010-05-26T23:54:31  <TheSheep> broken
 167 2010-05-26T23:54:47  <diofeher> mmm, let me try a commit :)
 168 2010-05-26T23:55:46  <xorAxAx> trying commits was part of the last phase
 169 2010-05-26T23:55:56  <xorAxAx> now you should already be experienced enough to do commits
 170 2010-05-26T23:56:20  <TheSheep> xorAxAx: yes, thank you for reminding
 171 2010-05-26T23:57:34  <diofeher> mm, i think my textmate is saving backups of file (first time i'm using os x in a project)
 172 2010-05-26T23:57:58  <diofeher> ? wiki/data/tmp-tsDczq-rev
 173 2010-05-26T23:58:03  <TheSheep> diofeher: ok, you can get that sorted out later, lets look at the parts you have prblems with
 174 2010-05-26T23:58:13  <diofeher> okay
 175 2010-05-26T23:58:14  <valeuf> xorAxAx: a longer explain about my POV about lxml and ET : http://paste.pocoo.org/show/218708/
 176 2010-05-26T23:58:48  <diofeher> TheSheep : where i can found a good link explaining or just showing the way of a request in moin?
 177 2010-05-26T23:59:02  <xorAxAx> valeuf: ok, i understood your point. i think it is no problem, though. because the additional step wont hide problems
 178 2010-05-26T23:59:12  <xorAxAx> which is what we want to avoid
 179 2010-05-26T23:59:29  <valeuf> xorAxAx: ok, in this case I will use lxml :)
 180 2010-05-26T23:59:32  <TheSheep> diofeher: nobody knows that ;)
 181 2010-05-26T23:59:33  <diofeher> with 'way of a request' i meanlifecycle
 182 2010-05-26T23:59:49  <TheSheep> diofeher: it's a maze of little twisty passages, all alike
 183 2010-05-26T23:59:58  <ThomasWaldmann> diofeher: please fill out the doodle

MoinMoin: MoinMoinChat/Logs/moin-dev/2010-05-26 (last edited 2010-05-25 22:45:02 by IrcLogImporter)