1 2010-10-03T00:07:16 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10057:ee2e80bb6f81 2.0-dev/MoinMoin/storage/backends/__init__.py: add fs19: support to create_simple_mapping
2 2010-10-03T00:07:16 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10058:7ba00dbd1e98 2.0-dev/MoinMoin/storage/backends/fs19.py: fs19: cleanup, reorder stuff
3 2010-10-03T00:07:16 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10059:0a0b74324f5a 2.0-dev/MoinMoin/ (3 files in 3 dirs): fs19: add categories -> tags conversion
4 2010-10-03T00:07:16 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10060:d59577864ebd 2.0-dev/MoinMoin/storage/backends/_flatutils.py: fix fs19 metadata parsing, get rid of CR
5 2010-10-03T00:25:56 *** RogerHaase
6 2010-10-03T00:34:35 *** vpv
7 2010-10-03T00:36:27 *** vpv
8 2010-10-03T00:39:55 <ThomasWaldmann> hmm, processing categories is difficult
9 2010-10-03T00:40:15 <ThomasWaldmann> or rather: cleanly extracting and removing them from the content
10 2010-10-03T00:48:55 <ThomasWaldmann> (and only them)
11 2010-10-03T01:11:21 *** vpv
12 2010-10-03T01:27:31 *** vpv
13 2010-10-03T04:59:08 *** ronny
14 2010-10-03T12:13:20 *** ronny
15 2010-10-03T16:02:49 * ThomasWaldmann create a bitbucket moin-1.9 mirror
16 2010-10-03T16:13:39 <dreimark> ThomasWaldmann: if cleanly extracting is so difficult does it mean the category search does also not work well?
17 2010-10-03T16:15:09 <ThomasWaldmann> that is less difficult, because it just extracts categories
18 2010-10-03T16:15:29 <ThomasWaldmann> the code i was writing also tries to remove that stuff from the content
19 2010-10-03T16:16:02 <dreimark> http://bitbucket.org/thomaswaldmann
20 2010-10-03T16:16:24 <dreimark> s/mirrMirror/Mirror
21 2010-10-03T16:16:28 <dreimark> in 1.9
22 2010-10-03T16:16:40 <ThomasWaldmann> the current code for example is also extracting stuff from the comments, so for 1.9 data dir of moinmo.in, it extracts Category*
23 2010-10-03T16:17:15 <ThomasWaldmann> i have already fixed that a few minutes ago
24 2010-10-03T16:17:32 <dreimark> it is not updated
25 2010-10-03T16:17:56 <ThomasWaldmann> bitbucket seems to cache a bit too agressively
26 2010-10-03T16:18:53 <dreimark> the category search normally uses this ----\n in front of the ctegory
27 2010-10-03T16:19:25 <ThomasWaldmann> sometimes we have
28 2010-10-03T16:19:27 <ThomasWaldmann> ----
29 2010-10-03T16:19:31 <ThomasWaldmann> ## bla...
30 2010-10-03T16:19:35 <ThomasWaldmann> ## bla...
31 2010-10-03T16:19:40 <ThomasWaldmann> CategoryFoo
32 2010-10-03T16:20:33 <ThomasWaldmann> so we need to ignore the comments (for category extraction), but still remove them
33 2010-10-03T16:20:50 <ThomasWaldmann> also remove ---- and the Categories
34 2010-10-03T16:21:08 <ThomasWaldmann> But what if someone writes, in the middle of a page:
35 2010-10-03T16:21:14 <ThomasWaldmann> ----
36 2010-10-03T16:21:34 <dreimark> sounds like it needs two runs. first remove all ## lines then check ----\nCategory* at end of the page
37 2010-10-03T16:21:41 <ThomasWaldmann> CategoryFoo should be used much less in this wiki.
38 2010-10-03T16:24:25 <dreimark> never looked if we had as rule to have content after a category. but i believe a category is only allowed on bottom of a page
39 2010-10-03T16:25:10 <ThomasWaldmann> problem is that ---- is allowed in content, just as a hr.
40 2010-10-03T16:25:24 <ThomasWaldmann> talking about categories below is also allowed.
41 2010-10-03T16:25:49 <ThomasWaldmann> there could be even content below categories
42 2010-10-03T16:26:05 <ThomasWaldmann> so it is a bit hard to know, what exactly to remove.
43 2010-10-03T16:26:51 <dreimark> remove as much as category search founds this page
44 2010-10-03T16:28:07 <ThomasWaldmann> ?
45 2010-10-03T16:30:37 <dreimark> we should find the line category search was refering too for listing this page
46 2010-10-03T16:30:43 <dreimark> -o
47 2010-10-03T16:33:06 <dreimark> htg bbl
48 2010-10-03T19:53:47 <dreimark> re
49 2010-10-03T20:03:22 <dreimark> ThomasWaldmann: http://hg.moinmo.in/moin/1.9/file/da7fed3ec62f/MoinMoin/search/Xapian/indexing.py#l294
50 2010-10-03T20:03:58 <dreimark> if that is right then everything it founds could be removed
51 2010-10-03T20:13:24 <ThomasWaldmann> a) it is not
52 2010-10-03T20:13:31 <ThomasWaldmann> b) it isn't that easy
53 2010-10-03T20:15:30 <dreimark> hmm, then xapian indexing for categories is not right (I asked at noon)
54 2010-10-03T20:22:53 <ThomasWaldmann> it contains more than wanted
55 2010-10-03T20:23:17 <ThomasWaldmann> e.g. it'll find Category* in some comment lines below ----
56 2010-10-03T20:24:03 <dreimark> can't we move them as comments to meta?
57 2010-10-03T20:24:15 <dreimark> a disabled category for example
58 2010-10-03T20:25:39 <dreimark> in 2.0 it would not make sense to have commented categories in the body
59 2010-10-03T20:26:25 <ThomasWaldmann> if we (re)move something, we have to identify it with rather good matching
60 2010-10-03T20:26:50 *** RogerHaase
61 2010-10-03T20:27:05 <ThomasWaldmann> if we can't do that, we maybe must leave it where it is and just copy categories to the tags, but leave content to be manually edited
62 2010-10-03T20:29:24 <dreimark> right
63 2010-10-03T20:30:31 <dreimark> btw. can we have comments in meta or commented off something?
64 2010-10-03T20:31:57 <dreimark> or inactive meta data
65 2010-10-03T20:33:57 <ThomasWaldmann> if we move wrong stuff to comments in meta, that might be confusing
66 2010-10-03T20:34:12 <ThomasWaldmann> and exact location in content will be lost
67 2010-10-03T20:34:25 <ThomasWaldmann> most users will think something got deleted
68 2010-10-03T20:34:43 *** RogerHaase
69 2010-10-03T20:35:00 <ThomasWaldmann> therefore, we first have to solve "how do we determine what exactly we want to (re)move"
70 2010-10-03T20:35:12 *** RogerHaase
71 2010-10-03T20:35:22 <dreimark> i know, i just asking about a change in the workflow. in 1.x one could temporary remove some functionality by commenting off
72 2010-10-03T20:35:52 <dreimark> if we have it in meta, we currently can only remove and add again
73 2010-10-03T20:36:10 <ThomasWaldmann> the moin2 parser might do that (or not), not sure
74 2010-10-03T20:36:20 <ThomasWaldmann> but that's a different problem
75 2010-10-03T20:37:34 <ThomasWaldmann> RogerHaase: http://moinmo.in/MoinMoinBugs/Ie9BetaFailsOnDoubleClick does somehow sound like a bug in IE9, right?
76 2010-10-03T20:37:58 <ThomasWaldmann> these days, we usually have either \n or \r\n, but not \r alone
77 2010-10-03T20:38:24 <RogerHaase> Yes, I would not apply it. I did it just in case someone wanted it.
78 2010-10-03T20:38:47 <RogerHaase> IE9 beta1 is too buggy to use, I removed it after 2 days.
79 2010-10-03T20:39:20 <ThomasWaldmann> ok, I'll add your comments there :)
80 2010-10-03T21:00:35 <ThomasWaldmann> RogerHaase: http://bitbucket.org/RogerHaase/moin-2.0-dev/changeset/131ce5dfe6cb#chg-MoinMoin/converter/moinwiki_in.py_newline467
81 2010-10-03T21:00:51 <ThomasWaldmann> that looks slightly inconsistent with the stuff above
82 2010-10-03T21:01:07 <ThomasWaldmann> str vs. unicode, blank vs. no blank
83 2010-10-03T21:02:09 <ThomasWaldmann> see also moinwiki_out
84 2010-10-03T21:03:10 <ThomasWaldmann> ehrm, looks like you killed that again in next cs
85 2010-10-03T21:05:15 <RogerHaase> Yes, I didn't think the text indent was related until I went looking for the problem. Kind of sloppy to not back it out and redo it, but my hg skills are still lacking.
86 2010-10-03T21:06:26 <RogerHaase> But on the bright side, using bitbucket showed that some of my other problems were due to hg bugs.
87 2010-10-03T21:06:45 <ThomasWaldmann> as long as the changeset is not public and you need to undo only one cs, you can use hg rollback
88 2010-10-03T21:07:40 <ThomasWaldmann> but once it is published, avoid rollback
89 2010-10-03T21:09:18 <RogerHaase> Yes, I thought I was done for the day and pushed the bulletless list changeset and then discovered the problem later that evening when I worked another hour.
90 2010-10-03T21:12:22 <RogerHaase> Q: To pull your changes from your BB repo into mine is to set up a local clone of yours, pull, and then push back into my repo?
91 2010-10-03T21:13:29 <ThomasWaldmann> you can pull any other repo's change into your repo directly
92 2010-10-03T21:13:36 <ThomasWaldmann> hg pull -u url
93 2010-10-03T21:13:55 <ThomasWaldmann> (i mean in your local repo)
94 2010-10-03T21:15:18 <RogerHaase> Ah, OK, I will give that a try later.
95 2010-10-03T21:21:22 <CIA-36> Roger Haase <crosseyedpenguin@yahoo.com> default * 10061:7181c5826747 2.0-dev/MoinMoin/themes/modernized/static/css/screen.css: minor changes to footer credits and timings; eliminated inner li wrapping, smaller font, wider spacing
96 2010-10-03T21:21:23 <CIA-36> Roger Haase <crosseyedpenguin@yahoo.com> default * 10062:131ce5dfe6cb 2.0-dev/MoinMoin/ (4 files in 2 dirs): added support for bulletless lists
97 2010-10-03T21:21:23 <CIA-36> Roger Haase <crosseyedpenguin@yahoo.com> default * 10063:8e6945c85695 2.0-dev/MoinMoin/converter/ (moinwiki_in.py moinwiki_out.py): remove unwanted bullets from blockquotes and indented text; revise fix for bulletless lists
98 2010-10-03T21:21:23 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 10064:9a14888d7ded 2.0-dev/MoinMoin/ (5 files in 2 dirs): merged RogerHaase's repo
99 2010-10-03T22:02:40 *** RogerHaase
100 2010-10-03T22:03:06 *** RogerHaase
101 2010-10-03T22:29:32 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5716:5b262b81c236 1.9/ (wiki/server/wikiserverconfig.py wikiserverconfig.py): updated wikiserverconfig.py from internal defaults, sync the one in toplevel dir and the one in wiki/server/ - fixes hostname setting
102 2010-10-03T23:07:47 <CIA-36> Thomas Waldmann <tw AT waldmann-edv DOT de> default * 5717:715479a7d692 1.9/MoinMoin/PageEditor.py: fix timestamp in edit lock message to show the time when edit-locking ends
103 2010-10-03T23:16:38 <dreimark> re