1 2011-03-07T01:04:57 <dreimark> gn
2 2011-03-07T01:05:33 <ThomasWaldmann> gn dreimark
3 2011-03-07T01:14:16 <RogerHaase> ThomasWaldmann: After quickinstall, I can now start the server by entering env\Scripts\moin.exe. There is no moin nor moin.bat and appears to be no requirement to do a env\Scripts\activate.bat.
4 2011-03-07T01:20:27 <RogerHaase> btw, on windows, whenever I try to save a new page, I get: http://paste.pocoo.org/show/349222/ Clicking the browser back button and then clicking the save button again saves the page. Is this a windows only bug?
5 2011-03-07T01:33:06 <ThomasWaldmann> huh, .exe?
6 2011-03-07T01:34:08 <ThomasWaldmann> if you install to virtualenv you need to activate it, otherwise your sys.path won't be correct and the script won't be i %PATH%
7 2011-03-07T01:34:13 <ThomasWaldmann> in*
8 2011-03-07T01:36:18 <ThomasWaldmann> RogerHaase: that is a werkzeug bug, and yes, it will only happen on windows
9 2011-03-07T01:37:17 <ThomasWaldmann> https://github.com/mitsuhiko/werkzeug/blob/master/werkzeug/posixemulation.py see line 20, it is already fixed
10 2011-03-07T01:37:51 <ThomasWaldmann> i would like to use werzeug==dev, but it is a desaster to install via pip
11 2011-03-07T01:38:29 <RogerHaase> OK, thanks for info on save abend.
12 2011-03-07T01:38:47 <ThomasWaldmann> i'll hack something with monkeypatch
13 2011-03-07T01:40:55 <RogerHaase> For starting the server, if I activate via "env\Scripts\activate.bat"; then I can enter "moin" which executes env\Scripts\moin.exe. Is that as expected?
14 2011-03-07T01:42:35 <ThomasWaldmann> yes
15 2011-03-07T01:42:36 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 85:0944980db255 2.0/ (3 files in 3 dirs): remove data/plugin/ directory and code using this
16 2011-03-07T01:42:39 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 86:abfe2018f17c 2.0/MoinMoin/util/monkeypatch.py: work around missing import in werkzeug 0.6.2 posixemulation
17 2011-03-07T01:46:34 <RogerHaase> Yeah, save now works the first time :D
18 2011-03-07T01:47:05 <RogerHaase> must break for dinner, gn
19 2011-03-07T01:48:11 *** RogerHaase
20 2011-03-07T06:02:23 *** Marchael
21 2011-03-07T07:40:02 *** Marchael
22 2011-03-07T07:52:03 *** aa___
23 2011-03-07T07:52:45 *** franklin
24 2011-03-07T07:55:14 *** franklin_
25 2011-03-07T07:55:17 *** aa_
26 2011-03-07T08:14:39 *** Pranav_rcmas
27 2011-03-07T08:18:39 *** Pranav_rcmas
28 2011-03-07T08:21:47 *** Marchael
29 2011-03-07T08:53:58 <Marchael> moin
30 2011-03-07T08:56:28 <Marchael> ThomasWaldmann: do you recieve answer from whoosh developers? I watching for https://bitbucket.org/mchaput/whoosh/issue/115/dual-licensing-woosh but as I can see they still got Apache license.
31 2011-03-07T09:39:40 *** aa___
32 2011-03-07T09:45:20 *** Pranav_rcmas
33 2011-03-07T09:47:23 *** gwork
34 2011-03-07T09:59:08 *** Pranav_rcmas
35 2011-03-07T10:15:33 <MattMaker> woohoo! i have no idea what I'm doing, but I made a patch for pip that makes extras_require work!
36 2011-03-07T10:20:46 <MattMaker> well, at least it works for one explicit extra at a time, like this: pip install paste[openid]
37 2011-03-07T10:25:29 *** m4k3r
38 2011-03-07T10:30:05 <MattMaker> virtualenv makes this kind of mad science much safer
39 2011-03-07T10:30:05 *** Marchael
40 2011-03-07T10:30:57 *** Marchael
41 2011-03-07T10:37:22 <MattMaker> boy, the distutils parser is kind of brittle
42 2011-03-07T10:49:24 <MattMaker> bah, it's case sensitive
43 2011-03-07T10:56:56 <MattMaker> yay, now it works for pip install paste[openid,Flup]
44 2011-03-07T10:58:55 <MattMaker> you can also do pip install "paste[openid, Flup]"
45 2011-03-07T10:59:13 <MattMaker> of course you need the quotes there to escape the space for the shell
46 2011-03-07T11:00:41 <MattMaker> gosh, now I need to find a package that actually depends on another package's extras and see if the magic works there too
47 2011-03-07T11:15:36 <dreimark> :)
48 2011-03-07T11:27:23 <MattMaker> ooh, it worked
49 2011-03-07T11:43:50 *** greg_f
50 2011-03-07T11:51:26 *** m4k3r
51 2011-03-07T12:02:54 <MattMaker> and it only touches 4 lines of code
52 2011-03-07T12:06:25 <ThomasWaldmann> moin
53 2011-03-07T12:07:31 <ThomasWaldmann> Marchael: i don't have more than what's visible in the issue tracker
54 2011-03-07T12:08:18 <ThomasWaldmann> MattMaker: nice :)
55 2011-03-07T12:08:58 <MattMaker> now I am figuring out what to say in the commit comment so I can push :)
56 2011-03-07T12:09:37 <dreimark> http://xkcd.com/
57 2011-03-07T12:09:39 <MattMaker> and I don't know all the use cases for this, so I am hoping others will test
58 2011-03-07T12:09:42 <ThomasWaldmann> you cloned their repo?
59 2011-03-07T12:11:20 <MattMaker> I did
60 2011-03-07T12:13:09 <MattMaker> dreimark xkcd contains much truth
61 2011-03-07T12:19:37 <MattMaker> hmm, should I fork and make a pull request, or just paste my little patch into the bugreport?
62 2011-03-07T12:23:51 <ThomasWaldmann> attached patch or pull request, both might work
63 2011-03-07T12:24:11 <ThomasWaldmann> if you do a pull request, you'll make it into history, if they pull :)
64 2011-03-07T12:24:23 <MattMaker> :)
65 2011-03-07T12:25:32 *** kasun
66 2011-03-07T12:42:08 <MattMaker> https://bitbucket.org/MattMaker/pip/changeset/9144e997b918
67 2011-03-07T12:48:01 <MattMaker> oh confusing, they've just moved to https://github.com/pypa/pip
68 2011-03-07T13:30:35 *** Marchael
69 2011-03-07T13:37:04 <dreimark> ThomasWaldmann: http://paste.pocoo.org/show/349440/ reverse for index
70 2011-03-07T13:38:19 <dreimark> and may be sort beforhand first ?
71 2011-03-07T13:38:28 <dreimark> on default sorted ?
72 2011-03-07T13:38:41 <dreimark> bbl
73 2011-03-07T14:27:30 *** m4k3r
74 2011-03-07T15:08:35 *** Marchael
75 2011-03-07T16:27:50 *** kasun
76 2011-03-07T16:52:05 *** Pranav_rcmas
77 2011-03-07T16:57:03 *** Pranav_rcmas
78 2011-03-07T16:58:21 *** Pranav_rcmas1
79 2011-03-07T17:07:32 *** humbu
80 2011-03-07T17:08:34 <humbu> hello i saw your europython video for moin2 and i saw you will implement a API for SQL - will there a API for NoSQL lik couchDB too ?
81 2011-03-07T17:10:02 <TheSheep> if somebody will implement it
82 2011-03-07T17:10:18 <TheSheep> they are plugins, basically
83 2011-03-07T17:11:49 *** greg_f
84 2011-03-07T17:17:14 *** Pranav_rcmas3
85 2011-03-07T17:18:15 *** Pranav_rcmas1
86 2011-03-07T17:19:26 *** Pranav_rcmas3
87 2011-03-07T17:21:08 *** humbu
88 2011-03-07T17:29:58 *** kasun
89 2011-03-07T18:06:27 *** kasun
90 2011-03-07T18:07:51 *** Marchael
91 2011-03-07T19:02:19 <ThomasWaldmann> re
92 2011-03-07T19:14:00 *** Marchael
93 2011-03-07T19:28:10 <dreimark> re
94 2011-03-07T19:31:52 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 87:a9a20c02a854 2.0/docs/devel/api/ (5 files): update api docs source files
95 2011-03-07T19:32:02 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 89:102bdfba3518 2.0/MoinMoin/_template.py: better sourcecode template
96 2011-03-07T19:32:04 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 88:6fed0c3c3bad 2.0/Makefile: add apidocs make target
97 2011-03-07T19:33:27 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 90:21483835402f 2.0/MANIFEST.in: fix MANIFEST.in (the script are generated by setup.py now)
98 2011-03-07T19:34:31 <ThomasWaldmann> dreimark: what shall we do with EditedSystemPages, HighlighterList, InterWiki macros?
99 2011-03-07T19:34:47 <ThomasWaldmann> these are all rather views than macros
100 2011-03-07T19:35:15 <ThomasWaldmann> first mostly interesting for admins at upgrade time
101 2011-03-07T19:35:34 <ThomasWaldmann> second and third for users when editing items
102 2011-03-07T19:37:58 <ThomasWaldmann> PageSize is also rather a view
103 2011-03-07T19:49:00 * dreimark looks
104 2011-03-07T19:51:10 <dreimark> ThomasWaldmann: EditedSystemPages should become a cli script, that is only at migration time used, or?
105 2011-03-07T19:52:22 <dreimark> (you said this too, rereaded)
106 2011-03-07T19:53:12 <dreimark> HighlighterList is something like help for pygments
107 2011-03-07T19:53:53 <dreimark> and we can only use +highlight now, so we expect the item can be highlighted
108 2011-03-07T19:54:44 <dreimark> if not it shows up as plain text
109 2011-03-07T19:54:54 * ThomasWaldmann transforms HighlighterList to /+admin/highlighterhelp
110 2011-03-07T19:55:35 * dreimark has to read about interwiki macro - looks like i don't know what it is
111 2011-03-07T19:56:44 *** Marchael
112 2011-03-07T19:58:06 <dreimark> oh, that just lists all interwikimap entries
113 2011-03-07T19:59:31 <dreimark> as output i would prefer http://moinmo.in/ParserMarket/interwiki because then the urls are links
114 2011-03-07T19:59:51 * dreimark writes a cli script for EditedSystemPages
115 2011-03-07T20:09:11 <dreimark> or looks how to do that currently
116 2011-03-07T20:13:45 *** Marchael
117 2011-03-07T20:19:29 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 91:2e0766600e8f 2.0/MoinMoin/ (4 files in 4 dirs): admin/highlighterhelp view (replaces HighlighterList macro), added table macro to utils.html template
118 2011-03-07T20:20:13 <ThomasWaldmann> dreimark: the interwiki list linking to the remote wiki is a bit problematic
119 2011-03-07T20:20:51 <ThomasWaldmann> because you don't know a valid pagename, nor do you know how to create the "main" url
120 2011-03-07T20:33:17 * ThomasWaldmann uses the table macro for Interwiki List
121 2011-03-07T20:37:09 <dreimark> ok, for non url mapping it is a problem
122 2011-03-07T20:40:44 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 92:5ff01f07c67c 2.0/MoinMoin/ (3 files in 3 dirs): admin/interwikihelp view (replaces InterWiki macro)
123 2011-03-07T20:42:23 *** kasun
124 2011-03-07T20:45:56 <CIA-64> Reimar Bauer <rb.proj AT googlemail DOT com> default * 93:efce6cdc8237 2.0/MoinMoin/ (3 files in 3 dirs): script/maint/modified_systemitems cli script replaces macro EditedSystemPages
125 2011-03-07T20:50:01 <ThomasWaldmann> hmm, PageSize is also rather a view
126 2011-03-07T20:51:07 <dreimark> ThomasWaldmann: PagenameList.py what is the difference to +index, only the regex ?
127 2011-03-07T20:51:25 <dreimark> so that can be just added there?
128 2011-03-07T20:55:23 * dreimark adds some paramters to index
129 2011-03-07T20:57:48 <ThomasWaldmann> PagenameList can be maybe useful for users to list some pages matching a regex on some page
130 2011-03-07T21:00:59 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 94:990fdbe2d52c 2.0/MoinMoin/ (3 files in 3 dirs): admin/itemsize view (replaces PageSize macro)
131 2011-03-07T21:01:38 <ThomasWaldmann> dreimark: index is a view, not a macro
132 2011-03-07T21:03:19 *** Marchael
133 2011-03-07T21:04:10 <CIA-64> Reimar Bauer <rb.proj AT googlemail DOT com> default * 95:15629036f800 2.0/MoinMoin/apps/frontend/views.py: frontend/views: output of index and global_index sorted. optional it can be reverse sorted.
134 2011-03-07T21:05:12 <dreimark> ThomasWaldmann: we can think about calling views with paramteres f
135 2011-03-07T21:05:27 <dreimark> and displaying the result inside of the item conten
136 2011-03-07T21:05:28 <dreimark> t
137 2011-03-07T21:05:42 <dreimark> similiar to the action macro
138 2011-03-07T21:06:19 <dreimark> then we don't need to duplicate these functions
139 2011-03-07T21:07:06 <ThomasWaldmann> we need dom tree for content
140 2011-03-07T21:11:54 <TheSheep> by the way, any moin-related mission for me in Atlanta?
141 2011-03-07T21:12:12 *** m4k3r
142 2011-03-07T21:14:48 <ThomasWaldmann> TheSheep: if you like, you can do a lightning talk, feel free to recycle mine or update it
143 2011-03-07T21:15:13 <TheSheep> hmm, ok
144 2011-03-07T21:15:41 <dreimark> TheSheep: what happens in Atlanta? vacation?
145 2011-03-07T21:15:49 <TheSheep> dreimark: PyCon.us
146 2011-03-07T21:15:49 <ThomasWaldmann> if some more devs would help with moin2, that would do no harm :)
147 2011-03-07T21:17:10 <TheSheep> dreimark: I need to make it up to myself for not going to CCC last year
148 2011-03-07T21:17:11 <ThomasWaldmann> TheSheep: you are already packing?
149 2011-03-07T21:17:30 <dreimark> TheSheep: :)
150 2011-03-07T21:17:35 <TheSheep> ThomasWaldmann: yeah, how do you call that in German? travelling sickness?
151 2011-03-07T21:17:46 <TheSheep> travelling fever
152 2011-03-07T21:19:22 <ThomasWaldmann> well, usually it works out
153 2011-03-07T21:19:51 <ThomasWaldmann> and as long as you don't forget something or mayor importance or price, it's not an issue :)
154 2011-03-07T21:20:02 <ThomasWaldmann> of*
155 2011-03-07T21:20:21 <ThomasWaldmann> major*
156 2011-03-07T21:20:50 <dreimark> but also stuff there is not so expensive than here
157 2011-03-07T21:21:44 <ThomasWaldmann> 1 eur is almost 1.40 usd, not too bad
158 2011-03-07T21:22:22 <ThomasWaldmann> TheSheep: just for pycon or staying longer?
159 2011-03-07T21:22:40 <dreimark> we will be next month in NY area
160 2011-03-07T21:23:36 <TheSheep> ThomasWaldmann: just pycon and sprints
161 2011-03-07T21:23:47 <dreimark> my tomtom is currently with martin in phoenix area
162 2011-03-07T21:24:24 <TheSheep> dreimark: everywhere is more expensive than Poland unfortunately
163 2011-03-07T21:24:39 <TheSheep> dreimark: you should come on vacation here sometime
164 2011-03-07T21:26:24 <dreimark> yeah
165 2011-03-07T21:26:40 <ThomasWaldmann> oh, 5 tracks in parallel.
166 2011-03-07T21:29:34 <dreimark> http://us.pycon.org/2011/schedule/presentations/25/
167 2011-03-07T21:30:46 <TheSheep> :P
168 2011-03-07T21:31:05 <TheSheep> I didn't even have time to look at the schedule yet
169 2011-03-07T21:31:07 <ThomasWaldmann> will they have life streaming?
170 2011-03-07T21:31:20 <dreimark> http://us.pycon.org/2011/schedule/presentations/81/ Packaging, from Distutils to Distutils2
171 2011-03-07T21:31:24 <TheSheep> no idea, I will let you know if they do
172 2011-03-07T21:31:45 <dreimark> may be you can meet fantastic project and discuss xstatic
173 2011-03-07T21:32:07 <TheSheep> xstatic?
174 2011-03-07T21:32:37 <ThomasWaldmann> http://etherpad.osuosl.org/xstatic
175 2011-03-07T21:33:00 <ThomasWaldmann> http://etherpad.osuosl.org/moinplugin
176 2011-03-07T21:33:27 <ThomasWaldmann> btw, if we got a step further with plugin ideas, that'ld be great
177 2011-03-07T21:33:48 <ThomasWaldmann> TheSheep: maybe you can ask some people at pycon about opinions related to that
178 2011-03-07T21:34:39 <TheSheep> I will try
179 2011-03-07T21:34:41 <dreimark> armin has a talk about flask
180 2011-03-07T21:34:46 <TheSheep> yeah
181 2011-03-07T21:34:55 <TheSheep> and Graham Dumpleton about mod_wsgi
182 2011-03-07T21:34:58 <ThomasWaldmann> TheSheep: are you going to tarek's distutils2 talk?
183 2011-03-07T21:36:23 <ThomasWaldmann> it would be interesting whether they really improved compared to the older stuff
184 2011-03-07T21:36:49 <TheSheep> ThomasWaldmann: I intend to. I talked with Tarek at the mentor meeting about some of that stuff already.
185 2011-03-07T21:37:32 <ThomasWaldmann> there is some rather vague comment on the xstatic pad like "distutils2 does that" or so
186 2011-03-07T21:38:16 <ThomasWaldmann> also, whether entrypoint are in distutils2 now, planned to be in there or not
187 2011-03-07T21:43:31 <dreimark> some idea how to solve the unicode cli parameter problem in py 2.x would be nice
188 2011-03-07T21:44:04 <dreimark> http://us.pycon.org/2011/schedule/presentations/266/
189 2011-03-07T21:46:09 <ThomasWaldmann> doing unicode filenames could be opening a can of worms
190 2011-03-07T21:51:45 <TheSheep> not if you have a good support in the standard library
191 2011-03-07T21:56:48 <ThomasWaldmann> as long as the underlying filesystem can store arbitrary zero-terminated bytes, as long as even using the same coding for that is not enforced, you are in trouble
192 2011-03-07T21:57:35 <TheSheep> this is the kind of trouble I gladly outsource to the library writers
193 2011-03-07T21:59:14 <ThomasWaldmann> they can't fix that either
194 2011-03-07T22:01:18 <dreimark> it was a pain in the past when someone uses german umlauts in filenames or special other signs
195 2011-03-07T22:01:37 * dreimark thinks that it would be always pain
196 2011-03-07T22:24:07 <ThomasWaldmann> dreimark: how is that reverse arg of index view intended to be used?
197 2011-03-07T22:24:42 <ThomasWaldmann> and why do we need it?
198 2011-03-07T22:25:23 <dreimark> &reverse=True
199 2011-03-07T22:25:39 <dreimark> if the list is long you can have it reversed
200 2011-03-07T22:25:49 <dreimark> later we want to have pagination
201 2011-03-07T22:26:21 <ThomasWaldmann> &reverse=False
202 2011-03-07T22:26:30 <dreimark> is the default
203 2011-03-07T22:26:35 <ThomasWaldmann> fails
204 2011-03-07T22:26:48 <ThomasWaldmann> or rather: does not do what one thinks it would
205 2011-03-07T22:27:05 <ThomasWaldmann> also, how exactly is reversing useful?
206 2011-03-07T22:27:36 <dreimark> fsck, i assumed that we have logic there
207 2011-03-07T22:27:38 <ThomasWaldmann> also, why do you sort? that stuff is already sorted.
208 2011-03-07T22:27:48 <dreimark> it wasn't
209 2011-03-07T22:27:52 <dreimark> sorted
210 2011-03-07T22:28:17 <ThomasWaldmann> return sorted(items) < that's what get_index ends with
211 2011-03-07T22:29:22 * ThomasWaldmann suggests to revert that
212 2011-03-07T22:29:51 <dreimark> ok
213 2011-03-07T22:30:09 <ThomasWaldmann> (you can't easily use it anyway, without having to edit the url)
214 2011-03-07T22:30:11 <dreimark> strange it had not sorted
215 2011-03-07T22:30:45 <ThomasWaldmann> well, maybe there is a bug somewhere, but then rather find and fix it than sorting it again
216 2011-03-07T22:31:37 <ThomasWaldmann> btw, sorted() also has a reverse kwarg
217 2011-03-07T22:32:11 * dreimark reverts
218 2011-03-07T22:33:13 <CIA-64> Reimar Bauer <rb.proj AT googlemail DOT com> default * 96:eef6676def4d 2.0/MoinMoin/apps/frontend/views.py: frontend/views.py: reverted to 94:990fdbe2d52c
219 2011-03-07T22:39:34 <ThomasWaldmann> you should usually give the changeset that you reverted, not the one "before". sequence of changesets can differ between repos.
220 2011-03-07T22:40:20 <dreimark> hmm but that number is uniq 990fdbe2d52c
221 2011-03-07T22:42:42 <dreimark> ok
222 2011-03-07T22:45:52 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 97:88d88050b361 2.0/MoinMoin/apps/admin/templates/index.html: add entries for new views to admin views index
223 2011-03-07T22:45:53 <CIA-64> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 98:29f2e129dd36 2.0/MoinMoin/items/__init__.py: use log_remote_addr / log_reverse_dns_lookups settings
224 2011-03-07T22:46:17 <ThomasWaldmann> the changeset hash of the changeset you have reverted is also unique
225 2011-03-07T22:47:01 * ThomasWaldmann tried hg rebase
226 2011-03-07T22:47:28 <ThomasWaldmann> nice, it does the right thing by default :)
227 2011-03-07T22:57:49 <dreimark> gn
228 2011-03-07T23:01:25 <ThomasWaldmann> gn dreimark
229 2011-03-07T23:45:31 *** CIA-64
230 2011-03-07T23:59:32 *** CIA-50
231