1 2012-01-20T01:33:55 *** qxcv
2 2012-01-20T03:10:04 *** qxcv
3 2012-01-20T03:24:00 *** qxcv
4 2012-01-20T04:59:27 *** MattMaker
5 2012-01-20T05:29:36 *** MattMaker
6 2012-01-20T08:06:34 <dreimark> moin
7 2012-01-20T08:38:29 *** MattMaker
8 2012-01-20T09:10:15 *** qxcv
9 2012-01-20T09:24:30 *** qxcv
10 2012-01-20T09:47:35 <ThomasWaldmann> moin
11 2012-01-20T10:16:03 *** greg_f
12 2012-01-20T10:24:12 *** qxcv
13 2012-01-20T13:34:57 *** dave_largo
14 2012-01-20T13:36:00 *** kanha
15 2012-01-20T14:51:28 *** kanha
16 2012-01-20T16:51:31 *** dave_largo
17 2012-01-20T17:20:43 *** humbu
18 2012-01-20T17:21:26 <humbu> Hello, in which directory moin2 should be located?
19 2012-01-20T17:25:07 <humbu> I mean, if I clone the repo - is there a standard like the FHS in moin1.9.3 mentioned in http://moinmo.in/HowTo/UbuntuFarm?highlight=%28srv%2Fmoin%29#The_WIKIFARM_folder_structure
20 2012-01-20T17:28:07 *** sudo_dirk
21 2012-01-20T17:36:02 *** humbu
22 2012-01-20T17:41:03 *** humbu
23 2012-01-20T17:41:34 <humbu> no standart available?
24 2012-01-20T17:49:09 *** MattMaker
25 2012-01-20T17:53:17 <humbu> another question : is it already possible to run a farm with moin2 ?
26 2012-01-20T18:06:06 *** dave_largo
27 2012-01-20T18:21:37 *** humbu
28 2012-01-20T18:50:12 *** greg_f
29 2012-01-20T18:50:45 <ThomasWaldmann> (it doesn't matter where it is.)
30 2012-01-20T18:51:21 <ThomasWaldmann> (there is no special farm support code as in 1.9, but noone holds you back from running multiple apps in parallel)
31 2012-01-20T20:20:08 <dreimark> sudo_dirk: i added some comments to http://codereview.appspot.com/5553068/
32 2012-01-20T20:24:28 <sudo_dirk> dreimark: i will have a look in some minutes...
33 2012-01-20T20:35:47 <sudo_dirk> is it correct that i am not able to run moin2 with python 2.5? my server is lenny and comes with python 2.5 :-(
34 2012-01-20T20:38:53 <dreimark> sudo_dirk: it requires 2.6
35 2012-01-20T20:39:44 <dreimark> Debian GNU/Linux 5.0 has been superseded by Debian GNU/Linux 6.0 ("squeeze").
36 2012-01-20T20:40:59 <dreimark> 2012-02-06 : End of security updates / End of life
37 2012-01-20T20:41:12 <dreimark> that spoken you should upgrade
38 2012-01-20T20:43:04 <ThomasWaldmann> sudo_dirk: lifetime of lenny ends in 2 weeks or so
39 2012-01-20T20:43:42 <sudo_dirk> i had the hope not updating my server as soon...
40 2012-01-20T20:44:07 <ThomasWaldmann> depends whether you need security updates
41 2012-01-20T20:45:04 <sudo_dirk> the server is reachable by dyndns, therefore my answer is yes
42 2012-01-20T20:45:40 <ThomasWaldmann> updating to squeeze is often no big issue
43 2012-01-20T20:48:29 <sudo_dirk> possibly... but i'll do a systembackup first ;-) the last was a long time ago
44 2012-01-20T20:56:57 <sudo_dirk> dreimark: you are right. i did some pep8 changes. for the next time i learned to change not for various reasons. what should i do with those changes now?
45 2012-01-20T20:58:16 <dreimark> you could split the changes in multiple changesets. I am looking for the mercurial extension for doing this
46 2012-01-20T20:58:26 <dreimark> then you can commit them in multiple commits
47 2012-01-20T20:59:04 <dreimark> for the workflow with codereview it is best your have not pushed them before to your bb fork
48 2012-01-20T20:59:30 <dreimark> because everything could be fixed
49 2012-01-20T20:59:40 <dreimark> locally
50 2012-01-20T20:59:45 <sudo_dirk> yep
51 2012-01-20T21:00:33 <sudo_dirk> leave those changes now or not? i have no favourite.
52 2012-01-20T21:04:58 <dreimark> sudo_dirk: please redo them, you can export them and split them in parts
53 2012-01-20T21:05:04 <dreimark> look at crecord
54 2012-01-20T21:05:24 <dreimark> http://mercurial.selenic.com/wiki/CrecordExtension
55 2012-01-20T21:06:35 <dreimark> that is a very good usefull extension
56 21:06 -!- moinBot
57 21:06 < dreimark> ThomasWaldmann: ^
58 21:06 < ThomasWaldmann> i killed it :)
59 21:07 < sudo_dirk> gz
60 21:07 < sudo_dirk> ;-)
61 21:08 < ThomasWaldmann> fsck time
62 21:10 < ThomasWaldmann> dreimark: can you switch to another irc client?
63 21:10 < dreimark> moment
64 21:10 * ThomasWaldmann wants to reboot shell.moinmo.in
65 21:11 -!- dreimark2
66 21:12 < dreimark> ThomasWaldmann: done
67 21:12 -!- tw-web
68 21:12 < ThomasWaldmann> ok
69 21:12 -!- ThomasWaldmann
70 ---
71 ---
72 21:28 -!- dreimark
73 21:28 -!- Irssi:
74 21:29 -!- Irssi:
75 21:30 < dreimark> re
76 21:30 -!- dreimark2
77 21:32 < sudo_dirk> wb
78 21:33 < dreimark> sudo_dirk: Issue number to which to add. Defaults to new issue.
79 21:33 < dreimark> so -i
80 21:34 < sudo_dirk> update.py, correct?
81 21:36 < dreimark> no upload
82 21:36 < dreimark> my mistake
83 21:37 < sudo_dirk> when i write update i mean upload ;-)
84 21:37 < dreimark> http://codereview.appspot.com/static/upload.py line 552 explains it
85 21:38 < sudo_dirk> dreimark: using shortenPagename means that i can not specify the lenght of the string. it also means i have to create an instance of BaseTheme, correct?
86 21:40 < dreimark> no, i hope not
87 21:43 < sudo_dirk> shortenPagename is a function of ThemeBase.
88 21:43 < dreimark> yes your are right
89 21:43 < sudo_dirk> :-(
90 21:43 < dreimark> make it a function for arnica
91 21:43 < sudo_dirk> great, this is what i thought as well
92 21:43 < dreimark> if we remove it there it is a API change. We can't do that
93 21:44 < dreimark> sudo_dirk: it needs only self.maxPagenameLength()
94 21:45 < sudo_dirk> which is 25 ;-)
95 21:49 < sudo_dirk> but could this be a function in moin2?
96 21:49 < sudo_dirk> outsibe ThemeBase
97 21:49 < sudo_dirk> b->d
98 21:52 < sudo_dirk> possibly like this:
99 21:52 < sudo_dirk> def shortenName(self, name, length, prestring='...'):
100 21:52 < sudo_dirk> if len(name) > length:
101 21:52 < sudo_dirk> title = prestring + title[-length + len(prestring):]
102 21:53 < sudo_dirk> remove the last line and take this one:
103 21:53 < sudo_dirk> return prestring + name[-length + len(prestring):]
104 22:00 < sudo_dirk> else:
105 22:00 < sudo_dirk> reurn name
106 22:08 < sudo_dirk> dreimark: there is one more issue left, where i did not find the right way. render searches all pages for content #format... what i want as functionality is all subpages of target_page. the result is an overview of pages with images whether it is an arnica page or not.
107 22:09 < sudo_dirk> i tried to find out how to use titlesearch or subpage search, but i wasn't successful.
108 22:13 < dreimark> it should not only work with subpages it needs also to work with a category
109 22:13 < dreimark> e.g. CategoryImages
110 22:14 < dreimark> sudo_dirk: we need to define the correct regex whith some ors
111 22:19 < sudo_dirk> mhhh
112 22:22 < sudo_dirk> you mean we do not use target_page for the overview? or do you mean we need an additional possibilty to exlude pages?
113 22:26 < dreimark> sudo_dirk: we need to find out what are target_pages
114 22:26 < dreimark> look how i solved that in Dictcolumns
115 22:26 < dreimark> we can have on default subpages but not only
116 22:27 -!- dave_largo
117 22:27 < dreimark> tw-web: you should join
118 22:28 < dreimark> we have a problem in 1.9
119 22:28 < dreimark> http://paste.pocoo.org/show/537998/
120 22:28 * dreimark has not an env with werkzeug used
121 22:29 < dreimark> may be that my old system had this lib
122 22:29 < dreimark> may be that my old system had this lib
123 22:30 < dreimark> sudo_dirk: http://paste.pocoo.org/show/538000/
124 22:32 < dreimark> one could also limit it to those two methods
125 22:35 < dreimark> gn
126 22:35 < sudo_dirk> dreimark: that's the way, it is used in modernized.py. Possibly it's better to have it available somewhere more common. self.request.shortenName or similar. it seems like cracking a nut with a sledgehammer
127 22:35 < sudo_dirk> dreimark: gn8
128 22:52 -!- humbu
129 22:53 -!- humbu
130 23:02 < sudo_dirk> gn8 everybody :-)
131 23:03 -!- sudo_dirk
132
MoinMoin: MoinMoinChat/Logs/moin-dev/2012-01-20 (last edited 2012-01-21 07:40:39 by ReimarBauer)