1 2011-10-06T00:02:45 *** MattMaker
2 2011-10-06T00:03:01 *** MattMaker
3 2011-10-06T00:07:06 *** raignarok
4 2011-10-06T03:00:36 *** MattMaker
5 2011-10-06T03:12:54 *** MattMaker
6 2011-10-06T05:15:50 *** MattMaker
7 2011-10-06T10:19:34 *** raignarok
8 2011-10-06T10:23:58 *** raignarok
9 2011-10-06T10:24:11 *** raignarok_
10 2011-10-06T11:36:36 *** greg_f
11 2011-10-06T11:49:30 *** raignarok_
12 2011-10-06T11:50:35 *** raignarok
13 2011-10-06T12:12:11 *** raignarok_
14 2011-10-06T12:20:50 *** raignarok
15 2011-10-06T12:21:57 *** raignarok
16 2011-10-06T13:12:36 <dreimark> moin
17 2011-10-06T13:12:49 * dreimark 20mins until my moin-2 talk
18 2011-10-06T13:16:19 <ThomasWaldmann> dreimark: don't forget to mention this irc channel :)
19 2011-10-06T14:31:47 <dreimark> and tom. morning at 9:0 the talk based on 1.9
20 2011-10-06T14:31:53 <dreimark> sounds like wrong order
21 2011-10-06T14:39:45 <ThomasWaldmann> maybe mention that rather clearly that that is 1.9, so people aren't confused
22 2011-10-06T14:47:03 <dreimark> yes
23 2011-10-06T15:49:25 *** raignarok_
24 2011-10-06T15:51:38 *** raignarok
25 2011-10-06T16:03:22 *** raignarok_
26 2011-10-06T16:44:26 *** raignarok_
27 2011-10-06T16:46:12 *** raignarok
28 2011-10-06T16:54:34 *** raignarok_
29 2011-10-06T19:49:07 *** greg_f
30 2011-10-06T20:00:31 <brunomartin> mion
31 2011-10-06T20:02:48 <brunomartin> ThomasWaldmann: could you give me that werkzeug path again, please... I'm configuring my env here at work... I was on my house that day....
32 2011-10-06T20:02:54 <brunomartin> bbl
33 2011-10-06T20:23:30 <ThomasWaldmann> brunomartin: http://paste.pocoo.org/show/487368/
34 2011-10-06T20:23:41 <ThomasWaldmann> btw, you can read the log files of this channel on the wiki
35 2011-10-06T20:28:48 *** MattMaker
36 2011-10-06T20:43:45 *** raignarok_
37 2011-10-06T20:45:46 *** raignarok
38 2011-10-06T20:58:13 *** raignarok_
39 2011-10-06T21:05:36 *** raignarok_
40 2011-10-06T21:07:54 *** raignarok
41 2011-10-06T21:11:59 <CIA-65> Thomas Waldmann <tw AT waldmann-edv DOT de> storage-ng * 922:b6c1fb3b2aa5 2.0/contrib/migration/save19.py: save19: fixed DELETED_MODE_KILL code
42 2011-10-06T21:12:00 <CIA-65> Thomas Waldmann <tw AT waldmann-edv DOT de> storage-ng * 923:c62f12d7ef01 2.0/ (9 files in 3 dirs):
43 2011-10-06T21:12:00 <CIA-65> 1.9 migration: make a 'import19' script command, make a migration package
44 2011-10-06T21:12:00 <CIA-65> moin import19 --data-dir your_1.9_data_dir
45 2011-10-06T21:12:00 <CIA-65> you may need the -s -i option to initialize moin2 storage and index,
46 2011-10-06T21:12:00 <CIA-65> if you did not do that before.
47 2011-10-06T21:14:13 *** raignarok_
48 2011-10-06T21:15:42 *** raignarok_
49 2011-10-06T21:32:14 *** raignarok_
50 2011-10-06T21:39:51 <CIA-65> Thomas Waldmann <tw AT waldmann-edv DOT de> storage-ng * 924:ee2a0d58430c 2.0/MoinMoin/storage/backends/_util.py: work around that LimitedStream file-like object might not have tell()
51 2011-10-06T21:39:53 <ThomasWaldmann> brunomartin: ^^
52 2011-10-06T21:42:10 <ThomasWaldmann> https://github.com/mitsuhiko/werkzeug/commit/569a702 looks like werkzeug 0.9 will have tell() there
53 2011-10-06T21:49:33 <brunomartin> ThomasWaldmann: :-)
54 2011-10-06T21:50:42 <brunomartin> ThomasWaldmann: I'm working here on earlymoin2 serialization
55 2011-10-06T21:53:58 <ThomasWaldmann> anything to review?
56 2011-10-06T21:54:14 <ThomasWaldmann> if you like, put it on codereview.appspot.com
57 2011-10-06T21:55:36 <brunomartin> ThomasWaldmann: yes... let me make one last test here...
58 2011-10-06T21:55:57 <brunomartin> just a sec...
59 2011-10-06T21:57:10 <brunomartin> btw, we created a shell here within a request using ipython... good to inspect some items...
60 2011-10-06T21:57:14 <brunomartin> ;-)
61 2011-10-06T22:02:19 *** xjjk
62 2011-10-06T22:09:41 <brunomartin> ThomasWaldmann: this is what I'm trying... http://paste.pocoo.org/show/488453/
63 2011-10-06T22:12:17 <brunomartin> ThomasWaldmann: changing just itemid, revid em parentid is enougth?
64 2011-10-06T22:12:20 <ThomasWaldmann> yeah, looks ok at first glance
65 2011-10-06T22:12:33 <ThomasWaldmann> maybe start with parentid = None
66 2011-10-06T22:14:23 <brunomartin> yeah, it work, deserialize fine on storage-ng, I even can see the historic, but when I clic on +meta, it gives me AttributeError: 'DummyItem' object has no attribute 'iter_revs'
67 2011-10-06T22:14:53 <brunomartin> like if it cannot determine the Item type?
68 2011-10-06T22:16:13 *** raignarok_
69 2011-10-06T22:16:28 <ThomasWaldmann> hmm
70 2011-10-06T22:18:03 <brunomartin> here the meta comparrisson... : http://paste.pocoo.org/show/488458/
71 2011-10-06T22:19:13 <brunomartin> i tried to uncomment the parentid stuff from that code I gave me the same issue...
72 2011-10-06T22:19:55 <brunomartin> btw, the storage-ng is great! I understand it now... ;-)
73 2011-10-06T22:20:38 <CIA-65> Thomas Waldmann <tw AT waldmann-edv DOT de> storage-ng * 925:86dcdd927b29 2.0/MoinMoin/script/ (9 files in 3 dirs): 1.9 migration: use sane package name, fix import
74 2011-10-06T22:20:50 <ThomasWaldmann> i'll look at meta now
75 2011-10-06T22:24:54 <CIA-65> Thomas Waldmann <tw AT waldmann-edv DOT de> storage-ng * 926:78a532e7f551 2.0/MoinMoin/apps/frontend/views.py: avoid navigation crashing for +meta view
76 2011-10-06T22:25:18 <ThomasWaldmann> ^^ now +meta does not crash for me, but it was a different exception than what you told
77 2011-10-06T22:27:15 <ThomasWaldmann> brunomartin: userid need conversion, too, should also have a itemid made by make_uuid()
78 2011-10-06T22:28:31 <ThomasWaldmann> and as you need to change the user items also, i guess you better do same approach as i did for 1.9
79 2011-10-06T22:28:49 <ThomasWaldmann> == not serializing, but direct import and fixing what's needed
80 2011-10-06T22:29:08 <ThomasWaldmann> you can use the index then, which make stuff easier
81 2011-10-06T22:29:41 <brunomartin> maybe if I use make_uuid for the itemid, the issues go away...
82 2011-10-06T22:30:04 <brunomartin> I didn't stated with the users yet... just itens...
83 2011-10-06T22:30:09 <brunomartin> *items
84 2011-10-06T22:31:40 <ThomasWaldmann> look at that import19.py file in current repo
85 2011-10-06T22:31:52 * brunomartin is looking import19.py...
86 2011-10-06T22:32:35 <ThomasWaldmann> first i put old userid and a new userid into metadata, later when importing items, one can lookup using old userid and modify item history to have new userid
87 2011-10-06T22:34:14 <brunomartin> is the userid the only metadata that has changed in user item type?
88 2011-10-06T22:34:45 <ThomasWaldmann> iirc yes
89 2011-10-06T22:35:24 <ThomasWaldmann> just dealing with these items is different now. in earlier times, user lookup was via the userid (and that was kind of the "name" of the profile item).
90 2011-10-06T22:36:17 <ThomasWaldmann> now, "name" is the user's name, like "JoeDoe" and lookup is either via that (using index) or via the itemid
91 2011-10-06T22:36:59 <brunomartin> hummm thats looks much better...
92 2011-10-06T22:37:02 <brunomartin> ;-)
93 2011-10-06T22:40:54 *** raignarok_
94 2011-10-06T22:43:08 <ThomasWaldmann> yeah, we just currently have a name conflict between user homepage and user profiles
95 2011-10-06T22:46:14 <brunomartin> ThomasWaldmann: I think you forget to commit the __init__.py in MoinMoin.script.migration
96 2011-10-06T22:49:38 <brunomartin> ThomasWaldmann: there isn't userid now, just itemid, is that right?
97 2011-10-06T22:55:59 *** raignarok_
98 2011-10-06T22:59:58 <ThomasWaldmann> brunomartin: there isn't userid now, just itemid, is that right? < yes
99 2011-10-06T23:00:55 <CIA-65> Thomas Waldmann <tw AT waldmann-edv DOT de> storage-ng * 927:29d6656993c2 2.0/MoinMoin/script/migration/__init__.py: add MoinMoin.script.migration package init
100 2011-10-06T23:01:25 <brunomartin> I think the serialize approach is easier.. I will map the users id using a dictionary... as I have just about 200, it won't hurt...
101 2011-10-06T23:04:47 <ThomasWaldmann> you will have to make sure to do it in right order
102 2011-10-06T23:06:29 <brunomartin> yeah... the users first.... I will try the user.getUserList... let's see what happens...
103 2011-10-06T23:07:37 <brunomartin> btw, I realize that the MoinMoin.user aux methods are not implemented yet, like getUsersList, searchUserByName and so on...
104 2011-10-06T23:09:00 <ThomasWaldmann> searching is trivial now, we have all in the index
105 2011-10-06T23:10:05 * ThomasWaldmann prepares notebook for secure erase
106 2011-10-06T23:31:34 *** raignarok_
107 2011-10-06T23:49:11 *** raignarok_
108