1 2013-04-03T00:06:29 *** dwcramer
2 2013-04-03T01:42:43 *** dwcramer
3 2013-04-03T01:58:42 *** dwcramer
4 2013-04-03T08:12:07 *** dwcramer
5 2013-04-03T09:01:45 *** greg_f
6 2013-04-03T10:28:55 *** waldi
7 2013-04-03T10:29:01 *** waldi
8 2013-04-03T10:29:02 *** waldi
9 2013-04-03T12:37:17 *** bruno_
10 2013-04-03T12:39:16 *** dave_largo
11 2013-04-03T13:48:25 *** ronny_
12 2013-04-03T13:52:19 *** ronny
13 2013-04-03T14:12:39 *** dwcramer
14 2013-04-03T14:50:35 *** RogerHaase
15 2013-04-03T15:03:02 *** puneet
16 2013-04-03T15:30:48 <ThomasWaldmann> moin
17 2013-04-03T15:51:31 <sunu> moin
18 2013-04-03T16:10:44 <sunu> ThomasWaldmann: Just a rough approach to implement the web based index operation on non-GAE platforms. https://codereview.appspot.com/8324043. I'll refine the code if the approach is suitable.
19 2013-04-03T16:14:28 * ThomasWaldmann looks
20 2013-04-03T16:20:07 <ThomasWaldmann> sunu: it's a bit confusing what you do there, can you explain?
21 2013-04-03T16:22:20 <sunu> ThomasWaldmann: Flask provides a way to combine multiple wsgi apps to a single application object
22 2013-04-03T16:22:23 <sunu> http://flask.pocoo.org/docs/patterns/appdispatch/
23 2013-04-03T16:23:02 <sunu> So I combine the moin app with the app we use for index operations.
24 2013-04-03T16:24:07 <sunu> That way our index app does not have to touch the index.
25 2013-04-03T16:24:40 <sunu> And the web interface for index operations works even when there is no index or the index is damaged.
26 2013-04-03T16:28:58 <ThomasWaldmann> you put it into the script main function, so that stuff is always done when one invokes the stuff via commandline, but never when one runs moin as a wsgi app, right?
27 2013-04-03T16:29:21 <ThomasWaldmann> it somehow looks like the opposite from what you wanted.
28 2013-04-03T16:30:59 <sunu> No. when we run moin by python moin.py the main function from MoinMoin/script/__init__.py is being called
29 2013-04-03T16:32:12 <sunu> and if we want an wsgi app object we can use the application object there
30 2013-04-03T16:32:37 <sunu> I mean the wsgi object with the name application
31 2013-04-03T16:33:22 <ThomasWaldmann> and where we run it via moin.wsgi?
32 2013-04-03T16:33:27 <ThomasWaldmann> ehrm, when*
33 2013-04-03T16:34:14 <ThomasWaldmann> and when wo do NOT run "moin" for starting the standalone server, but e.g. for "moin index-create ..."?
34 2013-04-03T16:36:59 <sunu> moin index-* work as expected.
35 2013-04-03T16:37:04 <ThomasWaldmann> it just looks like done at the wrong place
36 2013-04-03T16:37:48 <ThomasWaldmann> see line 77 "console_script entry point"
37 2013-04-03T16:38:58 <sunu> yes, but we also use this function while starting moin with python moin.py
38 2013-04-03T16:39:25 <sunu> so it is always the entry point if i understand correctly.
39 2013-04-03T16:40:56 <sunu> and the Manager oject still takes the moin wsgi object as argument. so the script functionality is unchanged.
40 2013-04-03T17:06:43 *** dwcramer
41 2013-04-03T17:08:55 * ThomasWaldmann must go now, I'll have another look later.
42 2013-04-03T17:20:49 *** rihnapstor
43 2013-04-03T17:21:42 *** rihnapstor
44 2013-04-03T17:22:04 * sunu bbl
45 2013-04-03T17:23:29 * rihnapstor says moin
46 2013-04-03T17:23:33 * sunu is watching pycon 13 videos (^_^)
47 2013-04-03T17:35:36 *** dwcramer
48 2013-04-03T17:46:34 *** greg_f
49 2013-04-03T18:04:55 *** dwcramer
50 2013-04-03T18:30:31 *** dwcramer
51 2013-04-03T19:04:05 *** dwcramer
52 2013-04-03T19:15:52 *** dwcramer
53 2013-04-03T19:21:26 *** dwcramer
54 2013-04-03T19:21:50 *** puneet
55 2013-04-03T19:59:20 *** dwcramer
56 2013-04-03T20:08:46 *** dwcramer
57 2013-04-03T21:11:51 *** dave_largo
58 2013-04-03T21:21:40 *** rihnapstor
59 2013-04-03T21:39:53 *** ashutosh1461
60 2013-04-03T21:45:22 <ashutosh1461> ThomasWaldmann, hello :)
61 2013-04-03T21:47:19 <ashutosh1461> i replied to your comments, https://codereview.appspot.com/8127044/
62 2013-04-03T21:56:31 *** bruno_
63 2013-04-03T22:32:15 *** ashutosh1461
64 2013-04-03T22:49:42 *** ronny_
65 2013-04-03T22:51:34 *** RogerHaase
66 2013-04-03T23:12:07 *** dwcramer
67 2013-04-03T23:32:38 *** dwcramer
68
MoinMoin: MoinMoinChat/Logs/moin-dev/2013-04-03 (last edited 2013-04-03 00:15:18 by IrcLogImporter)