*** fsufitch has quit IRC | 00:20 | |
*** fsufitch has joined #schooltool | 00:21 | |
*** krushik has joined #schooltool | 01:53 | |
*** aelkner has quit IRC | 02:41 | |
*** krushik has quit IRC | 03:49 | |
*** krushik has joined #schooltool | 03:52 | |
th1a | robatron: http://docs.moodle.org/en/Development:SchoolTool_Integration | 05:52 |
---|---|---|
*** pcardune has quit IRC | 06:38 | |
*** pcardune has joined #schooltool | 08:10 | |
*** pcardune has quit IRC | 08:48 | |
*** pcardune has joined #schooltool | 09:00 | |
*** pcardune has quit IRC | 09:04 | |
*** ignas has joined #schooltool | 12:30 | |
*** replaceafill has joined #schooltool | 12:47 | |
*** replaceafill has quit IRC | 13:01 | |
*** replaceafill has joined #schooltool | 14:07 | |
*** menesis has joined #schooltool | 14:19 | |
replaceafill | yvl, ping | 14:25 |
replaceafill | menesis, ping | 14:27 |
menesis | yes? | 14:27 |
replaceafill | hey menesis, i have a question, maybe you can help me | 14:28 |
replaceafill | i installed pyflakes/flymake in my emacs | 14:28 |
replaceafill | and now when i work in a cando module, i see some unused imports | 14:29 |
replaceafill | do you think we should get rid of those? | 14:29 |
menesis | yes | 14:29 |
replaceafill | is it ok if i do it in a BIG change, i mean scan all cando packages at once | 14:30 |
menesis | we at pov have a buildbot slave which runs pyflakes every night and emails developers about unused imports | 14:30 |
menesis | and then we remove them | 14:30 |
replaceafill | nice :) | 14:30 |
replaceafill | i'll remove them all at once then | 14:31 |
menesis | there can be a problem with indirect imports | 14:31 |
replaceafill | thanks menesis | 14:31 |
replaceafill | what do you mean? | 14:32 |
menesis | i.e. if module A imports B and then module C does from A import B | 14:32 |
replaceafill | ah i see | 14:33 |
menesis | sometimes such things are left for backwards compatibility | 14:33 |
replaceafill | do you think tests would catch these? | 14:33 |
replaceafill | :O | 14:33 |
menesis | but a full test run should catch those | 14:33 |
menesis | yes | 14:33 |
menesis | that's more relevant for library modules which cando isn't | 14:34 |
replaceafill | cool! i'll remove them and run the tests to check | 14:35 |
replaceafill | menesis, one last question :) | 14:38 |
replaceafill | if i have two lines: | 14:39 |
replaceafill | import zope.interface | 14:39 |
replaceafill | import zope.component | 14:39 |
replaceafill | is the second one unnecessary? | 14:39 |
replaceafill | i mean, the module works if i remove it, because of the way sys.module works i think | 14:40 |
replaceafill | but the code looks strange using "zope.component.getUtility" without importing zope.component | 14:40 |
menesis | I don't think that works | 14:41 |
menesis | you have to explicitly import all modules | 14:41 |
replaceafill | it does! :D | 14:41 |
replaceafill | i remember alan and i asking ignas about it in the sprint | 14:42 |
menesis | maybe the line that uses zope.component is never called | 14:42 |
replaceafill | we found a magic "zope.component.adapts" in a cando module | 14:42 |
replaceafill | yes it is | 14:42 |
replaceafill | the adapter is registered | 14:42 |
menesis | well, maybe that's setuptools or pkg_resources magic | 14:43 |
replaceafill | but i guess i should leave those, cause they help "expresiveness", right? | 14:43 |
menesis | but I would leave imports of all used modules | 14:43 |
menesis | yes | 14:43 |
replaceafill | cool, thanks menesis | 14:44 |
*** replaceafill has quit IRC | 14:58 | |
*** ignas has quit IRC | 14:58 | |
*** ignas has joined #schooltool | 15:07 | |
*** menesis has quit IRC | 15:18 | |
*** ignas has quit IRC | 15:18 | |
*** menesis has joined #schooltool | 15:25 | |
*** menesis has quit IRC | 15:46 | |
*** menesis has joined #schooltool | 15:51 | |
th1a | menesis, yvl: We should probably pay attention to the "what goes in ZTK" conversation. | 17:03 |
*** menesis has quit IRC | 17:05 | |
*** menesis has joined #schooltool | 17:06 | |
menesis | th1a: where is that going on? | 17:07 |
th1a | Zope-dev. | 17:07 |
menesis | lits of packages in ZTK? | 17:10 |
th1a | http://docs.zope.org/zopetoolkit/about/packages.html | 17:11 |
Lumiere | a part of me says we should go give them our list and say "we want to be in debian, we need these" | 17:12 |
th1a | Yes, that thread. | 17:12 |
th1a | In particular we should "vote" to help support the packages we use. | 17:13 |
th1a | Since we're supporting them now anyhow. | 17:13 |
menesis | it's hard to know what we need from the next Zope because we use Zope 3.4 and a lot of work was done since then | 17:18 |
menesis | deprecating modules, reducing dependencies, consolidating the useful parts from zope.app.* into zope.* packages, etc | 17:18 |
th1a | Yes... hm. | 17:19 |
th1a | Well, I guess we need to catch up to what the Debian packages are going to look like. | 17:19 |
th1a | Not immediately, but have a plan. | 17:19 |
menesis | Debian packages are done by Brian and based on the packages he has done and we still use | 17:20 |
th1a | I mean, the ZTK packages which are going to be in Debian. | 17:20 |
th1a | That is, Brian and Fabio have been working on new packages. | 17:21 |
menesis | except that Debian packages the newest, simplified, versions, and not what we currently use, i.e. Zope 3.4 | 17:21 |
th1a | We'll need to get caught up with that for Karmic+1. | 17:22 |
*** mgedmin has joined #schooltool | 17:32 | |
*** pcardune has joined #schooltool | 18:55 | |
*** pcardune has quit IRC | 19:00 | |
*** menesis has quit IRC | 19:57 | |
*** pcardune has joined #schooltool | 20:30 | |
*** mgedmin has quit IRC | 21:23 | |
*** pcardune has quit IRC | 22:02 | |
*** pcardune has joined #schooltool | 22:05 | |
*** pcardune has quit IRC | 22:29 | |
*** pcardune has joined #schooltool | 22:30 | |
*** Lumiere has quit IRC | 22:54 | |
*** pcardune has quit IRC | 23:10 | |
*** pcardune has joined #schooltool | 23:41 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!