2006-08-26T10:48:44 <xorAxAx> ThomasWaldmann: what should we provide as the source code link?
2006-08-26T10:49:31 <xorAxAx> should i write a script that generates hundreds of patches from a hg repo given a start and end hash?
2006-08-26T11:11:48 <xorAxAx> ok, i got a command line
2006-08-26T11:45:12 * xorAxAx is currently generating patch files
2006-08-26T11:45:16 <xorAxAx> that you can submit to google
2006-08-26T11:45:29 <xorAxAx> normally, this should have been the task of the project admin :-p
2006-08-26T11:51:20 <xorAxAx> ok, uploaded to http://moinmoin.wikiwikiweb.de/GoogleSoc2006
2006-08-26T11:51:31 <xorAxAx> fpletz, Kepplar: feel free to use the URLs from there
2006-08-26T11:54:23 <xorAxAx> on your eval form
2006-08-26T12:13:33 <ThomasWaldmann> we will just five them the url of the hg repo
2006-08-26T12:13:43 <ThomasWaldmann> s/f/g/
2006-08-26T12:17:31 <ThomasWaldmann> xorAxAx: xargs echo?
2006-08-26T12:19:34 <ThomasWaldmann> .patches is a BIN file ...
2006-08-26T12:26:46 <ThomasWaldmann> the student must give the url of the src?
2006-08-26T12:28:01 <ThomasWaldmann> strange, they also ask the mentor :)
2006-08-26T13:07:14 <ThomasWaldmann> xorAxAx: http://arstechnica.com/news.ars/post/20060825-7593.html
2006-08-26T13:07:57 <ThomasWaldmann> btw, did you get one?
2006-08-26T13:56:00 <xorAxAx> ThomasWaldmann: yeah, xargs echo :)
2006-08-26T13:56:13 <xorAxAx> in order to be able to write hg export first
2006-08-26T13:56:30 <xorAxAx> hmm, the file might contain binary files, yes
2006-08-26T13:56:44 <xorAxAx> i should have added the non-binary option
2006-08-26T13:57:27 <ThomasWaldmann> i guess it is rather because it doesnt know .patches extension
2006-08-26T13:57:31 <xorAxAx> ThomasWaldmann: giving them links to the repo doesnt really work out if there were branch merges (which is very sensible)
2006-08-26T13:57:55 <xorAxAx> my OLPC machine doesnt have a camera, no
2006-08-26T13:57:59 <xorAxAx> i have the a-series
2006-08-26T13:58:06 <xorAxAx> (and havent had time to get it running :-/)
2006-08-26T13:58:35 <ThomasWaldmann> isnt it pre-loaded with linux?
2006-08-26T13:58:45 <xorAxAx> no
2006-08-26T13:58:49 <xorAxAx> but thats not the problem
2006-08-26T13:58:54 <xorAxAx> it can easily boot from an usb stick
2006-08-26T13:59:07 <xorAxAx> but the next task to do is to reflash the PROM because it expired
2006-08-26T13:59:47 <ThomasWaldmann> btw, there seems to be some mediawiki coop
2006-08-26T14:02:16 <xorAxAx> yeah, contentwise
2006-08-26T14:02:20 <xorAxAx> mediawiki?
2006-08-26T14:03:44 <ThomasWaldmann> i read some talk about getting wikipedia contents on it and sync and ... a while ago
2006-08-26T14:04:49 <xorAxAx> yeah
2006-08-26T14:53:56 <xorAxAx> hmm, that url_prefix action thingie is not documented on HelpOnConfiguration
2006-08-26T16:25:37 <ThomasWaldmann> fpletz: you are working on your todo?
2006-08-26T16:35:20 <xorAxAx> ThomasWaldmann: test setup on sync.www.de is up, it seems to be quite slow, though. no idea why
2006-08-26T16:36:40 <ThomasWaldmann> because of the load and it is std cgi maybe?
2006-08-26T16:38:53 <xorAxAx> the load is raather low currently
2006-08-26T16:39:07 <xorAxAx> (and the endpoint, my vserver, is fast currently as well)
2006-08-26T17:43:55 <ThomasWaldmann> fpletz: get going, you still have lots to do
2006-08-26T17:56:59 <ThomasWaldmann> Kepplar: you still have TABs in your stuff (I clean it up right now)
2006-08-26T18:18:44 <ThomasWaldmann> xorAxAx: do you use the pep8 plugin?
2006-08-26T18:26:00 <ThomasWaldmann> we need a TAB push filter
2006-08-26T18:26:42 <ThomasWaldmann> mvirkkil: you also have TABs in your src (I clean it up right now)
2006-08-26T18:32:49 <birkenfeld> ThomasWaldmann: where can I get the PEP8 plugin?
2006-08-26T18:51:00 <ThomasWaldmann> MoinMoin:CodingStyle
2006-08-26T18:54:46 <xorAxAx> ThomasWaldmann: no
2006-08-26T18:54:57 <xorAxAx> ThomasWaldmann: did i commit tabs?
2006-08-26T18:54:58 <birkenfeld> ThomasWaldmann: hm?
2006-08-26T18:55:09 <xorAxAx> birkenfeld: thats a wiki page
2006-08-26T18:55:21 <ThomasWaldmann> xorAxAx: no, but you were the only one having completely clean source
2006-08-26T18:55:51 <birkenfeld> xorAxAx: I know, but is there a plugin on it?
2006-08-26T18:56:10 <ThomasWaldmann> (not even trailing blanks and that happens easily)
2006-08-26T18:56:23 <xorAxAx> ThomasWaldmann: i am using komodo
2006-08-26T18:56:42 <xorAxAx> and i had a separate whitespace cleaning step where i removed trailing whitespace
2006-08-26T18:56:53 <birkenfeld> xorAxAx: reindent.py
2006-08-26T18:56:57 <xorAxAx> which is inserted by komodo rather often
2006-08-26T18:57:16 <xorAxAx> birkenfeld: ok, i will try it
2006-08-26T18:57:31 <xorAxAx> birkenfeld: yes, the vim one at the bottom, you dirty ol emacs luser :)
2006-08-26T18:57:35 <birkenfeld> grml
2006-08-26T18:57:57 <birkenfeld> and how am I supposed to put that into an automated checker?
2006-08-26T18:58:16 <ThomasWaldmann> i didnt say it is an automatic checker
2006-08-26T18:58:17 <xorAxAx> birkenfeld: no idea, you have to ask thomas :)
2006-08-26T18:58:23 <ThomasWaldmann> just that we need one :)
2006-08-26T18:58:41 <birkenfeld> okay
2006-08-26T18:58:48 <birkenfeld> so "2006-08-07T20:37:35 * ThomasWaldmann put a pep8 checker in pre-commit. it rejects code that uses == None as has too few blanks." was a joke..
2006-08-26T18:58:55 <birkenfeld> schade ;)
2006-08-26T18:59:34 <ThomasWaldmann> yes, just wanted to shock our students a bit and maybe get cleaner code ;)
2006-08-26T19:02:43 <ThomasWaldmann> if you search for "pep8 checker" that joke is at top :)
2006-08-26T19:02:55 <ThomasWaldmann> (google)
2006-08-26T19:03:16 <birkenfeld> I already noticed
2006-08-26T19:05:35 <ThomasWaldmann> "Python programmers at Google must follow a strict style guideline (based on PEP8 with 2 spaced indenting).
2006-08-26T19:06:20 <xorAxAx> ugh
2006-08-26T19:06:32 <xorAxAx> they seem to like highly indented files
2006-08-26T19:06:47 <xorAxAx> s/indented files/nested blocks/
2006-08-26T19:06:52 <xorAxAx> like me in SyncPages :)
2006-08-26T19:10:07 * ThomasWaldmann forgot to look at SyncPages
2006-08-26T19:10:27 <ThomasWaldmann> there is trailing space :)
2006-08-26T19:13:37 <xorAxAx> eh
2006-08-26T19:13:50 <xorAxAx> yeah, must be the edits after my clean up
2006-08-26T19:14:58 <ThomasWaldmann> you need to fix spelling of synchron*
2006-08-26T19:15:59 <ThomasWaldmann> in src and moinmaster
2006-08-26T19:19:05 <ThomasWaldmann> hmm, currently anon users can trigger arbitrary sync?
2006-08-26T19:22:32 <ThomasWaldmann> (as long as src is on InterWikiMap?)
2006-08-26T19:23:08 <xorAxAx> yes
2006-08-26T19:25:32 <ThomasWaldmann> not sure if the src and target wiki admins are always happy with that
2006-08-26T19:26:07 <ThomasWaldmann> of course you can't do anything you couldn't do also by other means
2006-08-26T19:26:16 <ThomasWaldmann> but it got much easier :)
2006-08-26T19:27:45 <ThomasWaldmann> attachments will be solved by items, I guess :)
2006-08-26T19:28:42 <ThomasWaldmann> but maybe we need some simple solution for the time until that happens
2006-08-26T19:42:39 <xorAxAx> i am not sure about this happiness either, but an initial sync is silent
2006-08-26T19:49:19 <ThomasWaldmann> silent?
2006-08-26T19:49:38 <xorAxAx> yeah, it doesnt generate any changes in RC
2006-08-26T19:49:52 <xorAxAx> just the next one after some local changes is not silent
2006-08-26T19:51:18 <ThomasWaldmann> so i could 100 spam pages on a remote wiki without them noticing it?
2006-08-26T19:51:57 <xorAxAx> no
2006-08-26T19:52:25 <xorAxAx> my point is that people trying it out dont disturb anybody as long as they dont start it a second time :)
2006-08-26T19:53:38 <xorAxAx> if people start using it for spam (which i dont think in the short term), then we can put in some setting that requires the users to be logged in
2006-08-26T19:54:00 <ThomasWaldmann> how do i see they use it for spam?
2006-08-26T19:54:09 <ThomasWaldmann> if not on RC
2006-08-26T19:54:17 <xorAxAx> every change will be on RC
2006-08-26T19:54:32 <xorAxAx> but an initial sync doesnt give any changes if the page doesnt exist on one side
2006-08-26T19:55:14 <fpletz> moin
2006-08-26T19:55:18 <fpletz> ThomasWaldmann: # XXX this check cries for troubles in future!
2006-08-26T19:55:36 <fpletz> problem is that the 1.0 release might not be api-compatible
2006-08-26T19:55:57 <ThomasWaldmann> if you keep that check, it won't work anyway :)
2006-08-26T19:56:17 <fpletz> huh? please explain :)
2006-08-26T19:56:49 <ThomasWaldmann> it will refuse working, because it is not == 0, == 9, >= 6
2006-08-26T19:57:07 <fpletz> hmm
2006-08-26T19:57:39 <ThomasWaldmann> see the 4suite revno check
2006-08-26T19:57:40 <fpletz> I can't see your point, I'm checking for >= 0.9.6 with a fixed 0.9
2006-08-26T19:58:04 <ThomasWaldmann> yeah, so 1.0.0 will fail
2006-08-26T19:58:10 <fpletz> intentionally ;)
2006-08-26T19:58:29 <ThomasWaldmann> that's worse than failing because of api change
2006-08-26T19:58:58 <fpletz> hmm
2006-08-26T19:59:38 <fpletz> well, should I then just allow every version beyond 0.9.6?
2006-08-26T20:01:27 <ThomasWaldmann> yes
2006-08-26T20:01:37 <fpletz> ok
2006-08-26T20:02:02 <ThomasWaldmann> see that other check to do it right
2006-08-26T20:05:47 <ThomasWaldmann> if there is a incompatible 1.0.0 or 2.0.0 we will handle that somehow
2006-08-26T20:06:33 <ThomasWaldmann> incompat. 1.0.0 is rather unlikely i guess
2006-08-26T20:07:56 <ThomasWaldmann> and 2.0 might be in 5 years
2006-08-26T20:10:12 <fpletz> okay ;)
2006-08-26T20:10:42 <fpletz> xapian.xapian_version_string() >= '0.9.6'
2006-08-26T20:10:46 <fpletz> that should do it, right?
2006-08-26T20:13:47 <ThomasWaldmann> yes
2006-08-26T20:14:31 <ThomasWaldmann> >>> "10.0.0" > "9.9.6"
2006-08-26T20:14:31 <ThomasWaldmann> False
2006-08-26T20:14:43 <ThomasWaldmann> except in far future
2006-08-26T20:14:53 <fpletz> are you serious? ;)
2006-08-26T20:14:53 <fpletz> okay
2006-08-26T20:15:24 <ThomasWaldmann> maybe add a comment about that
2006-08-26T20:27:10 <fpletz> the code documentation should be done now
2006-08-26T20:42:34 <ThomasWaldmann> ok, looks better now :)
2006-08-26T20:53:59 <ThomasWaldmann> fpletz: you are working on integration now?
2006-08-26T20:54:01 <fpletz> ThomasWaldmann: could you please elaborate on the findpage integration stuff? I have absolutely no idea what to do other than including the macro :)
2006-08-26T20:54:05 <fpletz> lol, great
2006-08-26T20:54:28 <ThomasWaldmann> it should be unified in one thing
2006-08-26T20:54:54 <ThomasWaldmann> not showing the stuff that won't work with the available search engine
2006-08-26T20:56:21 <fpletz> well, that functionality is now implemented in the macro
2006-08-26T20:56:58 <ThomasWaldmann> ok, let me switch off xapian on the test wiki
2006-08-26T20:57:08 <fpletz> ok
2006-08-26T20:58:05 <fpletz> currently, only the mimetype and history searches won't work with moin search
2006-08-26T20:59:53 <fpletz> hmm
2006-08-26T21:00:39 <ThomasWaldmann> http://xapian.wikiwikiweb.de/AdvancedFindPage?action=fullsearch&advancedsearch=1&and_terms=e&or_terms=¬_terms=&categories=&mtime=last+2+years&language=
2006-08-26T21:00:54 <ThomasWaldmann> highlighting looks strange
2006-08-26T21:01:54 <fpletz> that's due to a modifcation in the highlighting code to mark stemmed words
2006-08-26T21:02:08 <fpletz> in retrospect, I think that should be removed ;)
2006-08-26T21:03:15 <ThomasWaldmann> it offers me to search in all revs
2006-08-26T21:04:02 <fpletz> yup, hence my "hmm"
2006-08-26T21:04:18 <fpletz> ah, silly me
2006-08-26T21:04:26 <fpletz> of course this works with moin search ;)
2006-08-26T21:06:08 <ThomasWaldmann> searching in old revs?
2006-08-26T21:06:26 <fpletz> yes
2006-08-26T21:06:30 <ThomasWaldmann> please no server dDOS :)
2006-08-26T21:06:41 <fpletz> hmm
2006-08-26T21:06:53 * fpletz slaps himself
2006-08-26T21:07:06 <ThomasWaldmann> wikisandbox on moinmoin has ~3000 revs
2006-08-26T21:07:21 <fpletz> moin search gets the regular pagelist.. so it doesn't work
2006-08-26T21:07:55 <fpletz> I'm deactivating it..
2006-08-26T21:08:15 <ThomasWaldmann> just disabled it when xapian is not available
2006-08-26T21:09:25 <ThomasWaldmann> same for case-sens. search with xapian
2006-08-26T21:10:09 <fpletz> hmm
2006-08-26T21:10:37 <fpletz> even though we have a fallback to moin search in place for that?
2006-08-26T21:10:49 <fpletz> well, right, the other things wouldn't work..
2006-08-26T21:11:08 <fpletz> we should really be able to call more than 1 search engine per query ;)
2006-08-26T21:12:33 <ThomasWaldmann> we need a consistently working search NOW. We can improve it in future, of course.
2006-08-26T21:13:20 * ThomasWaldmann enables xapian again
2006-08-26T21:13:22 <fpletz> I'll implement the raw terms idea to get case-sensitive searches working with xapian
2006-08-26T21:13:36 <fpletz> this isn't too much work
2006-08-26T21:15:14 <ThomasWaldmann> btw, if user enters some "since last month", this is a bit fuzzy and user never really knows if it was understood in the right way
2006-08-26T21:15:37 <ThomasWaldmann> can we get out the timestamp it used and put it into search result title?
2006-08-26T21:15:54 <fpletz> yes, this is no problem
2006-08-26T21:15:58 <ThomasWaldmann> so user sees he was understood right
2006-08-26T21:19:26 <ThomasWaldmann> btw, it doesn't understand 2006-08-01
2006-08-26T21:19:43 <ThomasWaldmann> (this is the time format we use all over the place :)
2006-08-26T21:31:15 <fpletz> pushed
2006-08-26T21:32:30 <fpletz> ok, let's see how easy this is to implement.. otherwise we'll query the author ;)
2006-08-26T21:35:45 <ThomasWaldmann> use out formatting please :)
2006-08-26T21:35:53 <ThomasWaldmann> use our formatting please :)
2006-08-26T21:36:11 <ThomasWaldmann> request.user.formatDate (or similar)
2006-08-26T21:36:25 <fpletz> ah, I never find those ;)
2006-08-26T21:37:13 <fpletz> I looked in wikiutil and util.timefuncs
2006-08-26T21:38:34 <fpletz> request.user.getFormattedDateTime
2006-08-26T21:40:11 <fpletz> pushed
2006-08-26T21:41:19 <ThomasWaldmann> can we get that into the title?
2006-08-26T21:41:28 <ThomasWaldmann> problem is user sees "clear message"
2006-08-26T21:41:38 <ThomasWaldmann> if he does, it's all away :)
2006-08-26T21:41:57 <fpletz> hmm
2006-08-26T21:42:27 <fpletz> I see, but doing this in the title might break some themes, I guess
2006-08-26T21:42:40 <fpletz> better display it right above the search results
2006-08-26T21:42:58 <fpletz> what do you think?
2006-08-26T21:43:17 <ThomasWaldmann> that's ok
2006-08-26T21:43:22 <ThomasWaldmann> find some nice way :)
2006-08-26T21:43:27 <fpletz> ok ;)
2006-08-26T22:19:36 * ThomasWaldmann externalizes some js
2006-08-26T22:51:40 <fpletz> ThomasWaldmann: known datetime-formats from request.user and request.cfg are now recognized and search hints are generally shown above the search results if there are any
2006-08-26T22:54:50 * ThomasWaldmann looks
2006-08-26T22:56:53 * fpletz trembles
2006-08-26T23:01:39 <ThomasWaldmann> http://xapian.wikiwikiweb.de/AdvancedFindPage?action=fullsearch&advancedsearch=1&and_terms=e&or_terms=¬_terms=&categories=&mtime=&language=&mimetype=&case=1
2006-08-26T23:02:07 <ThomasWaldmann> so that currently first does a xap search and afterwards a moin search on the results?
2006-08-26T23:02:33 <fpletz> yup
2006-08-26T23:03:10 <fpletz> that's at least a bit faster ;)
2006-08-26T23:03:57 <ThomasWaldmann> btw, you could make the text besides the checkboxes clickable
2006-08-26T23:04:03 <ThomasWaldmann> see userform code
2006-08-26T23:04:17 <fpletz> ok
2006-08-26T23:06:23 <fpletz> oh, how great
2006-08-26T23:06:28 <fpletz> there's a util.web :x
2006-08-26T23:08:07 <ThomasWaldmann> that fullsearch link when you do a titlesearch is nice 8)
2006-08-26T23:08:28 <ThomasWaldmann> http://xapian.wikiwikiweb.de/action/fullsearch/AdvancedFindPage?action=fullsearch&context=180&value=test&titlesearch=Titel
2006-08-26T23:08:32 <ThomasWaldmann> backtrace
2006-08-26T23:09:01 <fpletz> oops, thanks
2006-08-26T23:09:01 <ThomasWaldmann> http://xapian.wikiwikiweb.de/action/fullsearch/AdvancedFindPage?action=fullsearch&context=180&value=test&fullsearch=Text
2006-08-26T23:09:04 <ThomasWaldmann> same
2006-08-26T23:11:55 <fpletz> pushed & works
2006-08-26T23:23:33 * ThomasWaldmann made a new AdvancedFindPage
2006-08-26T23:23:53 <ThomasWaldmann> (that will go to MoinMaster:FindPage when finished)
2006-08-26T23:28:43 <ThomasWaldmann> ok, please review that page and if you don't see problems, move it to moinmaster (and also fix the help page there)
2006-08-26T23:33:35 <ThomasWaldmann> that HelpOnSearching link could be in the AdvFind box left of that "Go" button
2006-08-26T23:40:47 <fpletz> ThomasWaldmann: hmm, userform has no clickable checkbox labels or am I missing something? ;)
2006-08-26T23:41:35 <fpletz> ok (FindPage and HelpOnSearching)
2006-08-26T23:42:30 <ThomasWaldmann> ehrm
2006-08-26T23:42:39 <ThomasWaldmann> we have them, somewhere :)
2006-08-26T23:46:42 <fpletz> hehe
2006-08-26T23:47:04 <ThomasWaldmann> PageEditor, at the lower end
2006-08-26T23:48:46 <fpletz> ah, yeah
2006-08-26T23:50:23 <ThomasWaldmann> and dont forget the admins, who first need to get the stuff running, before users can use it -> admin docs
2006-08-26T23:56:21 * ThomasWaldmann moved the box to the top, so you full see it on XGA without scrolling
MoinMoin: MoinMoinChat/Logs/moin-dev/2006-08-26 (last edited 2007-10-29 19:07:35 by localhost)