*** menesis has quit IRC | 00:00 | |
*** alga has quit IRC | 00:24 | |
*** replaceafill has joined #schooltool | 02:56 | |
*** ignas has joined #schooltool | 04:10 | |
*** aks has joined #schooltool | 05:02 | |
*** th1a has quit IRC | 05:26 | |
*** yvl_ has joined #schooltool | 06:49 | |
*** ignas has quit IRC | 07:26 | |
*** aks has quit IRC | 08:48 | |
*** alga has joined #schooltool | 09:10 | |
*** aks has joined #schooltool | 09:14 | |
*** yvl_ has quit IRC | 09:29 | |
yvl | hey aelkner | 10:14 |
---|---|---|
yvl | I was just reading your mail | 10:14 |
aelkner | hey yvl | 10:20 |
aelkner | the third one cancels the second one :) | 10:20 |
yvl | yes :) | 10:21 |
yvl | you can safely make evolve5.evolve() do nothing | 10:21 |
aelkner | the test, too? | 10:21 |
yvl | but it would be nice to modify test_evolve5.py to show that catalog is created | 10:21 |
aelkner | even though evolve is not called? | 10:22 |
aelkner | i'm going to be writing an evolve8 that can show the catalog was created | 10:22 |
yvl | evolve should be called | 10:23 |
yvl | evolve 5 that is | 10:23 |
yvl | just do nothing | 10:23 |
aelkner | so evolve5.py should remain as a file, but the whole of it should be replaced by: | 10:24 |
aelkner | def evolve(contaxt): | 10:24 |
aelkner | pass | 10:24 |
aelkner | ? | 10:24 |
yvl | yes | 10:24 |
replaceafill | empty evolve!??! | 10:24 |
aelkner | and the test can call it, even though it does nothing | 10:24 |
yvl | You can also add a comment there explaining why it's empty | 10:24 |
aelkner | and the test can just test for the existence of the catalog | 10:24 |
* replaceafill will wait for aelkner's comment in the code :) | 10:25 | |
yvl | yes | 10:25 |
aelkner | haha, replaceafill, go to sleep! | 10:25 |
aelkner | :) | 10:25 |
yvl | evolution is a tricky business | 10:25 |
replaceafill | aelkner, i cant, i'm afraid i'll miss my flight :P | 10:25 |
aelkner | don't say that to the monkeys | 10:26 |
aelkner | they may have decided not to evolve | 10:26 |
yvl | :)) | 10:26 |
*** menesis has joined #schooltool | 10:27 | |
aelkner | replaceafill, pulling an all-nighter to catch a flight, what a joy | 10:27 |
yvl | every script evolves the database from X (that was created with code Y) to X+1 (created with code Y+1) using code Y+Z | 10:27 |
replaceafill | aelkner, :D | 10:27 |
aelkner | yvl, yeah, it's not obvious to the observer what code goes with what data | 10:27 |
aelkner | at least i know that the new catalog works | 10:28 |
yvl | :) | 10:29 |
aelkner | it's a nice design, the new style catalogs | 10:29 |
yvl | thank you :) | 10:29 |
aelkner | so much less extra work setting it up | 10:29 |
aelkner | an no more evolution every time something changes, brilliant! | 10:29 |
aelkner | anyway, done for the evening | 10:30 |
aelkner | probably will have a push for you to look at tomorrow with new evolution script | 10:31 |
yvl | umm you know what | 10:31 |
aelkner | what? | 10:31 |
yvl | you can also remove the test_evolve5.py | 10:31 |
yvl | the comment should sound something like... | 10:31 |
aelkner | can't remove test_evolve5 without removing evolve5 | 10:31 |
yvl | yes | 10:32 |
yvl | by remove I mean make it obsolete | 10:32 |
aelkner | how? | 10:32 |
yvl | def evolve(...) | 10:32 |
yvl | pass | 10:32 |
yvl | like you said before | 10:33 |
aelkner | oh, keep evolve5 with pass | 10:33 |
aelkner | and remove test_evolve5 completely | 10:33 |
yvl | # This evolution script was registering and updating catalogs as utilities | 10:33 |
aelkner | as in bzr remove, right? | 10:33 |
yvl | there is nothing to test.. so yes | 10:33 |
aelkner | got it, glad we straightened that out | 10:34 |
yvl | # Now catalog creation and index updating is managed after evolution, during app startup | 10:34 |
yvl | and you can replace Now with "at the time of writing" | 10:36 |
yvl | good night, aelkner :) | 10:37 |
aelkner | thanks yvl, good day for you | 10:43 |
*** replaceafill has quit IRC | 11:00 | |
*** aks has quit IRC | 12:14 | |
*** aks has joined #schooltool | 12:32 | |
*** ignas has joined #schooltool | 12:43 | |
*** aks has quit IRC | 13:20 | |
*** menesis has quit IRC | 13:47 | |
*** menesis has joined #schooltool | 14:53 | |
*** alga has quit IRC | 16:00 | |
*** th1a has joined #schooltool | 17:16 | |
*** menesis has quit IRC | 17:52 | |
*** menesis has joined #schooltool | 17:55 | |
*** menesis has quit IRC | 18:18 | |
*** klausade has quit IRC | 18:32 | |
*** klausade has joined #schooltool | 19:01 | |
*** Lumiere has quit IRC | 19:14 | |
*** Lumiere has joined #schooltool | 19:16 | |
*** ignas has quit IRC | 19:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!