2009-07-15T00:15:48 <PawelPacana> latest http://paste.pocoo.org/show/128634/, prooving all previous assumptions about multiple empty _filelog_ commits in a row wrong :( (even for 1.3)
2009-07-15T00:46:30 *** grzywacz has quit IRC
2009-07-15T01:42:01 *** CIA-78 has quit IRC
2009-07-15T01:57:40 *** CIA-36 has joined #moin-dev
2009-07-15T02:18:29 *** CIA-36 has quit IRC
2009-07-15T02:30:09 *** CIA-36 has joined #moin-dev
2009-07-15T02:44:20 *** devilsadvocate has quit IRC
2009-07-15T02:44:38 *** devilsadvocate has joined #moin-dev
2009-07-15T03:56:14 *** amartani has quit IRC
2009-07-15T05:14:26 *** amartani has joined #moin-dev
2009-07-15T07:48:26 <CIA-36> Alexandre Martani <amartani AT gmail DOT com> default * 6145:e15769febeee 2.0-storage-editor-amartani/MoinMoin/ (16 files in 8 dirs): merge 2.0-storage
2009-07-15T07:48:28 <CIA-36> Alexandre Martani <amartani AT gmail DOT com> default * 6146:973ad2b9b17a 2.0-storage-editor-amartani/MoinMoin/ (action/mobwrite.py caching.py): Real-time editor: cache editors list on item's arena.
2009-07-15T07:48:30 <CIA-36> Alexandre Martani <amartani AT gmail DOT com> default * 6147:95bca3f57416 2.0-storage-editor-amartani/MoinMoin/action/mobwrite.py: Real-time editor: check if user may write to item
2009-07-15T07:49:11 *** amartani has quit IRC
2009-07-15T10:15:47 <CIA-36> Bastian Blank <bblank@thinkmo.de> default * 6614:4a3292c50f08 2.0-storage-dom-bblank/MoinMoin/converter2/html_out.py: HTML output converter - Style fixes
2009-07-15T14:11:02 *** dreimark has quit IRC
2009-07-15T14:11:03 *** dreimark has joined #moin-dev
2009-07-15T19:52:45 *** amartani has joined #moin-dev
2009-07-15T20:10:07 <dimazest> ThomasWaldmann: dreimark http://paste.pocoo.org/show/128811/ second try of lazy backend
2009-07-15T20:10:51 *** amartani has quit IRC
2009-07-15T20:13:28 *** devilsadvocate__ has joined #moin-dev
2009-07-15T20:29:18 *** devilsadvocate has quit IRC
2009-07-15T20:57:23 *** tw123 has joined #moin-dev
2009-07-15T20:58:12 <tw123> hi all - I's like to know where moin 2.0 development is taking place in hg - is it on the 1.9 branch?
2009-07-15T20:59:57 <dreimark> tw123: PawelPacana will do it in 2.0-storage
2009-07-15T21:00:11 <tw123> (I looked at http://moinmo.in/MoinDev but there's no 2.0 branch mentioned there)
2009-07-15T21:00:27 <dennda> hg.moinmo.in
2009-07-15T21:00:40 <dennda> There's several 2.0 branches that will have to be merged eventually
2009-07-15T21:01:10 <tw123> I'm interested in the storage piece, thanks :)
2009-07-15T21:01:37 <dennda> If you have any questions, feel free to ask
2009-07-15T21:03:08 <dreimark> tw123: it is heavy developed currently and not ready for endusers
2009-07-15T21:04:34 <tw123> yes, that's fine. It's a piece that (as a developer) I've wanted to investigate for a number of years: plugging in cm repositories like svn or git (and I have a little time on my hands right now :) )
2009-07-15T21:04:59 <dennda> Ah
2009-07-15T21:05:05 <tw123> do you know what state the svn part is in (and is anyone workng on a git backend)?
2009-07-15T21:05:16 <dennda> There is no svn backend
2009-07-15T21:05:27 <dennda> And we are not aware of anybody working on a git backend
2009-07-15T21:05:31 <dennda> There is a hg backend though
2009-07-15T21:05:50 <dennda> PawelPacana is working on that one
2009-07-15T21:05:58 <tw123> thought I just read about svn on the wiki..
2009-07-15T21:06:16 <dennda> nope :-)
2009-07-15T21:06:30 <dreimark> where?
2009-07-15T21:07:13 <dennda> you can contribute such a backend if you wish, though
2009-07-15T21:07:22 <dreimark> help is welcome
2009-07-15T21:07:30 <dennda> if you're just looking for $some_work we can give you other things as well I guess :-)
2009-07-15T21:08:00 <tw123> aha - on http://moinmo.in/WeNeedHelp it says "we need more storage backends (SQL db, sqlite, zodb, SVN, ...) " ..If I can make the time, I'm thinking of helping out with a git backend :)
2009-07-15T21:08:13 <dennda> ah
2009-07-15T21:08:35 <tw123> how far along is the hg backend?
2009-07-15T21:08:37 <dennda> well what we have currently (that is intended for production use) is a filesystem and the hg backend
2009-07-15T21:08:52 <tw123> so the hg is complete?
2009-07-15T21:09:33 <dennda> I don't know how much is broken. You'd need to ask PawelPacana, but afaict it is in a state where it can be completed without that much effort (no guarantee)
2009-07-15T21:09:49 <dennda> I recently introduced two new methods to the storage api that the hg backend doesn't yet implement
2009-07-15T21:09:52 <dennda> so at least that is broken
2009-07-15T21:10:13 <tw123> do you think the api is (mostly) complete yet?
2009-07-15T21:10:47 <dennda> Yes. I think we know of one method missing, but it's fairly stable
2009-07-15T21:11:09 <dennda> changing the api significantly would, already, be a pain in the arse
2009-07-15T21:11:46 <dennda> http://hg.moinmo.in/moin/2.0-storage/file/18f4214b488c/MoinMoin/storage/__init__.py
2009-07-15T21:11:53 <dennda> that's the most recent storage API definition
2009-07-15T21:11:58 <tw123> sounds promising - I'll download and look at the code in the 2.0-storage branch (I presume that has the latest API - is that right?)
2009-07-15T21:12:19 <dennda> yes
2009-07-15T21:12:24 <dennda> MoinMoin.storage is the way to go
2009-07-15T21:13:10 <dennda> Until the end of this year's GSoC, there'll be another sqlalchemy backend as well
2009-07-15T21:13:40 <tw123> Thanks for the welcome and the info (I've been using moin for many years, I think since 0.6/0.8? - I love it )
2009-07-15T21:13:58 <dreimark> wow that'S longer than me ;
2009-07-15T21:14:08 <tw123> he he - I'm getting old!
2009-07-15T21:14:19 <dreimark> I started after 0.8
2009-07-15T21:14:31 <tw123> ..and moin is very much better these days! (and it was pretty cool to start with)
2009-07-15T21:15:06 * dennda updated that wikipage
2009-07-15T21:15:12 <dreimark> it was lots's of work. btw. we use py.test
2009-07-15T21:15:52 <dreimark> and there is a pep8 checker build in ;)
2009-07-15T21:16:23 <tw123> sounds professional :)
2009-07-15T21:17:08 <dennda> grmpf
2009-07-15T21:17:18 <dreimark> hmmm?
2009-07-15T21:17:26 <dennda> Storage2009 is not CamelCase and hence not interpreted as wiki page name
2009-07-15T21:17:35 <dreimark> [[]]
2009-07-15T21:18:02 <dennda> yeah I know :-)
2009-07-15T21:18:16 <dreimark> that will be another kind of fun when we change all pages to this syntax
2009-07-15T21:19:38 <dennda> Once we have git we perhaps don't need an svn backend anymore
2009-07-15T21:19:53 <dennda> (since there's git-svn which, in contrast to hg, works)
2009-07-15T21:19:59 <dennda> (in contrast to hg-svn)
2009-07-15T21:20:09 <tw123> (by the way - maybe off topic - one missing feature that I always wanted is a true and complete "move page" that deals with any references to a page and handles sub pages, etc..any idea if that's already in the features list or maybe already implemented!?)
2009-07-15T21:20:22 <dennda> although I don't know why you'd actually want to use a svn backend
2009-07-15T21:20:39 <tw123> svn is dead: long live hg and git! ;)
2009-07-15T21:20:47 <dennda> svn still has its uses
2009-07-15T21:21:33 <dreimark> with any subpage is implemented without any reference
2009-07-15T21:21:42 <dennda> but if you want to do a commit over the wire for every page change...
2009-07-15T21:23:11 <dennda> Note: Improve Marketing: Next time an interested person comes in, tell him that we indeed have the fastest backend in the world.
2009-07-15T21:24:06 *** birkenfeld has left #moin-dev
2009-07-15T21:24:11 *** birkenfeld has joined #moin-dev
2009-07-15T21:24:19 <birkenfeld> hello, I'm interested in storage backends
2009-07-15T21:24:26 <dreimark> cool
2009-07-15T21:24:45 <dreimark> birkenfeld: on which one do you have interests?
2009-07-15T21:25:06 <birkenfeld> I just wanted to test dennda's new marketing strategy :)
2009-07-15T21:25:13 <dreimark> btw. what is with your monitor?
2009-07-15T21:25:18 <dimazest> backends is hot topic now
2009-07-15T21:25:23 <birkenfeld> well, it's completely broken by now
2009-07-15T21:25:29 <birkenfeld> notebook ftw
2009-07-15T21:25:48 <dreimark> argh, guarantee?
2009-07-15T21:26:11 <dennda> birkenfeld: Oh hey, perhaps you want to buy one of our enterprise products? We have, by far, the fastest backend in the world!
2009-07-15T21:26:16 <dennda> (and that is even true)
2009-07-15T21:26:19 <tw123> FYI: Here's my use case: I want my wiki in plain files so that I can switch off the server and carry on editing it as if it were only on the file system. My idea is that I can do this with hg/git (and yes I can do it today too with the flat file storage). I'd like to edit files then later move to a new server, and it "just work" complete with my new updates. I'm hoping the new storage model can cater for this (and have a nice clean str
2009-07-15T21:26:28 <dreimark> to long
2009-07-15T21:27:05 <dreimark> and besides attachments that is as wikisync already implemented
2009-07-15T21:27:29 <birkenfeld> dennda: very good :)
2009-07-15T21:27:53 <dreimark> birkenfeld: can you this three pages on w.p.d today for me?
2009-07-15T21:28:01 <dreimark> +add
2009-07-15T21:28:01 <dennda> It keeps all data in-memory only, hence allowing *much* faster r/w access!
2009-07-15T21:28:09 <birkenfeld> dreimark: ah, I need to do that?
2009-07-15T21:28:12 <birkenfeld> sorry, I didn't realize
2009-07-15T21:28:23 <dreimark> do I have admin rights ?
2009-07-15T21:28:26 <birkenfeld> one moment
2009-07-15T21:28:39 <dreimark> I have not tried
2009-07-15T21:28:51 <tw123> One thing that's missing is structuring the pages: I guess all non-sub pages end up at the "top" level, so that folder will get very large. Have you done anything about this?
2009-07-15T21:29:05 <birkenfeld> dreimark: not for the whole thing, no
2009-07-15T21:29:31 <dennda> tw123: How the backend represents the file data on disk is completely up to the backend
2009-07-15T21:29:44 <tw123> does the hg backend do somethign about this?
2009-07-15T21:29:50 <dennda> no idea
2009-07-15T21:30:08 <tw123> I guess I'll have to poke around a bit! :)
2009-07-15T21:30:10 <dreimark> birkenfeld: I don't want. the scope of these pages is enough for me
2009-07-15T21:30:27 <tw123> thanks - back to the code now - bye :)
2009-07-15T21:30:36 <dennda> tw123: There is some flatfile thing in MoinMoin.storage.backends, but I don't have a clue in what shape that is
2009-07-15T21:30:56 <dreimark> tw123: it was planned that it could be used for that.
2009-07-15T21:31:07 <tw123> I'll have a look thanks.
2009-07-15T21:32:32 <birkenfeld> dreimark: done
2009-07-15T21:32:58 *** tw123 has left #moin-dev
2009-07-15T21:34:16 <dennda> Am I assuming correctly that there is no such thing as a latex parser plugin?
2009-07-15T21:34:37 <birkenfeld> parsing latex is nice :)
2009-07-15T21:34:55 <dennda> oh johill has something like that
2009-07-15T21:35:00 <dreimark> dennda: it is
2009-07-15T21:35:03 <dennda> that may be of interest for my BSc thesis
2009-07-15T21:35:11 <dreimark> it is in the extension repo
2009-07-15T21:35:32 <dreimark> it uses text_x_mathtran
2009-07-15T21:35:42 <dennda> hm
2009-07-15T21:35:58 <dennda> hey I might have found a use case for moin after all (for myself) :-)
2009-07-15T21:36:28 <dennda> at least if you could really use the hg backend from command line as well
2009-07-15T21:36:43 <dreimark> birkenfeld: thx
2009-07-15T21:38:07 <dreimark> dennda: http://moinmo.in/ReimarBauer?action=AttachFile&do=view&target=latex2wiki.py
2009-07-15T21:38:34 <dreimark> was used to convert the latex source to http://moinmo.in/MoinAPI/Beispiele
2009-07-15T21:38:52 <dennda> urgh no that's not what I need
2009-07-15T21:38:59 <dennda> http://johannes.sipsolutions.net/Projects/new-moinmoin-latex
2009-07-15T21:39:06 <dennda> that looks more like it
2009-07-15T21:39:41 <dreimark> http://moinmo.in/ParserMarket/mathtran
2009-07-15T21:40:02 <dennda> well yeah I'll take a look at it during semester's break
2009-07-15T21:40:07 <dreimark> the problem is the security of the server
2009-07-15T22:05:33 <waldi> hmm, what about mathml?
2009-07-15T22:05:52 <waldi> okay, that needs a browser with support and xml output
2009-07-15T22:43:09 <ThomasWaldmann> re
2009-07-15T22:44:22 <dreimark> dimazest: it +is the best solution i can find now.
2009-07-15T22:44:57 <dreimark> --something--
2009-07-15T22:46:12 <dreimark> add some new lines between methods
2009-07-15T22:46:28 <dreimark> or class definition
2009-07-15T22:47:41 <dimazest> dreimark: ok, it is not really pep8 compliant
2009-07-15T22:49:34 <dreimark> I wonder currently about LazyConfigGroups.__contains__
2009-07-15T22:49:51 <dreimark> because of the combnation of self.page_group_regex.match(group_name) and group_name in self._groups
2009-07-15T22:50:13 <dreimark> that means we have already self._groups
2009-07-15T22:51:16 <dreimark> and in __iter__ the regex isn't checked
2009-07-15T22:51:47 <dreimark> does this mean we can get a different result?
2009-07-15T22:52:25 <dennda> ThomasWaldmann: wb. Am I assuming correctly that you havn't been enlightened wrt acl privs either? :-)
2009-07-15T22:52:38 *** grzywacz has joined #moin-dev
2009-07-15T22:53:48 <dimazest> dreimark: it is possible, if group name is defined in a wrong way
2009-07-15T22:58:31 <dimazest> bbl
2009-07-15T23:00:17 <CIA-36> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6068:86de25ead872 2.0-storage/MoinMoin/storage/_tests/test_backends.py: storage: Refine test for revision.destroy
2009-07-15T23:00:21 <CIA-36> Christopher Denter <moin GUESSWHAT the DASH space DASH station ROUNDTHING com> default * 6069:b64a44a5819c 2.0-storage/MoinMoin/caching.py: merge remote 2.0-storage
2009-07-15T23:14:45 <dennda> btw: as you may have already noticed I am and will be a bit inactive until my final exams are over... I'll try to work whenever possible in between as well. I'm fully yours thereafter :-)
2009-07-15T23:14:50 <dennda> gn8
2009-07-15T23:22:25 <dreimark> dimazest: __contains__ is always only for in and not in.
2009-07-15T23:23:01 <dreimark> where is that piece of code which does do a subset
2009-07-15T23:27:43 <dreimark> ah that is in _load_groups there it is ok
2009-07-15T23:29:44 <dreimark> only a question for now, can that regex check be done earlier?
2009-07-15T23:30:01 <dreimark> so that it is not bound to __contains__
MoinMoin: MoinMoinChat/Logs/moin-dev/2009-07-15 (last edited 2009-07-14 22:30:02 by IrcLogImporter)