*** jinty has joined #schooltool | 01:53 | |
*** jinty has quit IRC | 01:53 | |
*** th1a has joined #schooltool | 02:05 | |
*** aelkner_ has joined #schooltool | 04:26 | |
*** aelkner has quit IRC | 04:26 | |
*** aelkner_ has quit IRC | 04:51 | |
*** aelkner_ has joined #schooltool | 04:51 | |
*** didymo has joined #schooltool | 06:56 | |
*** didymo has quit IRC | 07:27 | |
*** didymo has joined #schooltool | 08:51 | |
*** pcardune has joined #schooltool | 10:30 | |
*** didymo has quit IRC | 12:00 | |
*** ignas has joined #schooltool | 12:19 | |
*** pcardune_ has joined #schooltool | 12:37 | |
*** pcardune has quit IRC | 12:37 | |
ignas | pcardune_: hi :) | 12:43 |
---|---|---|
pcardune_ | ignas: hi | 12:47 |
ignas | how's Thailand? | 12:48 |
pcardune_ | ignas: hot | 12:48 |
pcardune_ | how's lithuania/ | 12:48 |
pcardune_ | ? | 12:48 |
ignas | well - it's the end of January and it's only 0 degrees celsium | 12:49 |
ignas | which is quite warm ;) | 12:49 |
pcardune_ | sounds like it... | 12:49 |
ignas | global warming FTW | 12:49 |
ignas | i mean - usually you get like -10 to -15 | 12:50 |
ignas | and we had like +5 for a few days | 12:50 |
pcardune_ | well it's around +40 here | 12:50 |
ignas | making tea should take less time I guess ;) | 12:51 |
pcardune_ | ignas: you don't even have to boil it, it comes out hot enough | 12:52 |
ignas | :) | 12:52 |
ignas | so what do you think about the whole "lets make cando a part of schooltool idea" ? | 12:53 |
pcardune_ | ignas: well, it doesn't seem to mean very much in terms of code | 12:53 |
*** pcardune_ is now known as pcardune | 12:54 | |
ignas | true | 12:54 |
pcardune | I think they just want schooltool developers to take control | 12:54 |
pcardune | it gets us free support essentially | 12:54 |
ignas | yeah, that's what i have been thinking too ;) | 12:55 |
ignas | I'll have to think of some way of remote training program I guess | 12:55 |
ignas | how to see the code that sucks in 24 hours | 12:55 |
pcardune | if cando is a part of schooltool, then it will be released with schooltool, which means it will be under the strict requirements of lithuanian programmers and jinty | 12:55 |
ignas | you see - there are no Lithuanian programmers, and jinty has no time to read the schooltool mailing list | 12:56 |
ignas | not even talking about checkins | 12:56 |
pcardune | hence why it is slightly problematic... | 12:56 |
ignas | we need more sprints | 12:57 |
pcardune | there aren't enough software developers for the amount of money the powers that be have to pay them | 12:57 |
pcardune | yeah, sprints is the only way I think | 12:57 |
ignas | I am not very experienced in teaching people remotely | 12:57 |
ignas | especially when it comes to elegant code and good software design practices | 12:58 |
pcardune | well, after going through two attempts at remote teaching, I think the best way is to just flat out write documentation | 12:58 |
ignas | any examples of what you mean by documentation? | 12:59 |
pcardune | ignas: actually, i mean more like tutorials | 12:59 |
ignas | oh | 12:59 |
pcardune | or even more so, like a book | 12:59 |
ignas | yeah, have been thinking of that | 12:59 |
ignas | writing up all the gotchas of ZODB that I know | 13:00 |
ignas | in a blog post format | 13:00 |
ignas | or something | 13:00 |
pcardune | that could work | 13:00 |
pcardune | but at that point, you might as well write a book | 13:00 |
ignas | 20 ways to shoot yourself in a leg using ZODB ;) | 13:00 |
pcardune | I would actually really like to write a book on this topic | 13:01 |
ignas | I find writing very difficult | 13:01 |
pcardune | i mean, a) you have to type anyways in irc during the "lesson". b) people learn at different paces. | 13:02 |
pcardune | ignas: I'm trying to write a tutorial on using z3c.* components | 13:02 |
pcardune | http://docs.carduner.net/z3c-tutorial/ | 13:03 |
ignas | I wouldn't have gone past the first chapter if i was writing it ;) | 13:03 |
ignas | the "$ easy_install zopeproject" | 13:04 |
ignas | is the thing i just can't give to any user ;) | 13:04 |
pcardune | hmm? I don't understand what you mean | 13:04 |
ignas | well - it implies: | 13:05 |
ignas | step 1 - have root on your machine | 13:05 |
ignas | at least on ubuntu | 13:05 |
ignas | sometimes or actually up until gutsy it implied "sudo pytohn ez_setup.py" | 13:05 |
ignas | to get an up to date version of setuptools | 13:05 |
ignas | i think it still implies sudo apt-get remove docutils | 13:06 |
ignas | because buildout does not play well with system python | 13:06 |
pcardune | ignas: actually, docutils seems to be ok | 13:06 |
ignas | I understand that it will work for some people, but my engineering part of the brain just starts screaming about the things that might have go wrong, and have gone wrong | 13:07 |
pcardune | ignas: yeah that is true. In the introduction, i'm planning on putting an audience section | 13:07 |
pcardune | that says, only read this if you have already done some zope development and are very familiar with python | 13:07 |
ignas | i am using a hacky script that isolates schooltool sandbox from system python packages while using the system pyton | 13:08 |
pcardune | the tutorial isn't for noobs, its for zope developers who are still doing massive checkouts | 13:08 |
pcardune | I expect them to be able to solve their own problems relating to actually getting zope running | 13:08 |
ignas | just to avoid all the ez_setup.py or "sudo easy_install zopeproject and dependencies" game | 13:08 |
ignas | i see | 13:09 |
ignas | makes sense | 13:09 |
pcardune | I would love to see a "using python with buildout" | 13:10 |
pcardune | that is completely unrelated to zope | 13:10 |
pcardune | which talks about the problems you mention with system python and everything | 13:10 |
pcardune | or maybe just a "how to develop a python egg" | 13:10 |
pcardune | those would be prereqs for my tutorial | 13:10 |
ignas | I'd love to see that too :) | 13:10 |
ignas | but most python developers don't think it's a problem worth solving | 13:11 |
pcardune | I don't understand enough about those things to write it though... at least nothing beyond pure basics... which might be enough | 13:11 |
ignas | and I am not an authority on buildout or distutils | 13:11 |
ignas | as in - i spent hours trying to prove that these are actual problems in vain :( | 13:12 |
pcardune | I'd just like to distill some of the massive amounts of documentation into simpler tutorials to get people started | 13:12 |
pcardune | maybe I could send it to the real authorities for edits | 13:12 |
ignas | yeah, that's one of my master plans ;) | 13:13 |
ignas | write the thing the way I see it | 13:13 |
ignas | and leave it up to the people who actually know the stuff to flood me with corrections | 13:13 |
ignas | ;) | 13:13 |
ignas | by the way you might want to have a look at: http://ignas.pov.lt/easy_buildout.py | 13:14 |
ignas | it's a script i use to try out eggs isolated from my system | 13:14 |
ignas | you pass it a name of an egg, and it installs the buildout that depends on the egg | 13:14 |
ignas | in the same directory the script is in | 13:15 |
ignas | depends on python and unix | 13:15 |
ignas | nothing else ;) | 13:15 |
pcardune | cool | 13:17 |
ignas | a nasty hack, but saves schooltool sandboxes from compiling python2.4 every time | 13:18 |
ignas | and makes sure schooltool sandbox runs on anything from edgy to gutsy | 13:19 |
ignas | the same hack, not the same script | 13:19 |
ignas | though most Zope3 people think that you should just either "compile your python, install buildout int it" or "install buildout into your system using root" or "learn how to use virtual python" | 13:20 |
ignas | which all are viable options | 13:21 |
pcardune | what is virtual python? | 13:21 |
ignas | well there was a thing called virtualenv i think | 13:21 |
ignas | that did some crazy shell stuff | 13:21 |
ignas | and then it evolved into a virtualpytohn egg | 13:22 |
ignas | that does something simmilar as my script does | 13:22 |
ignas | but instead of 1 command | 13:22 |
ignas | you download an egg | 13:22 |
ignas | and if you can't install it (and you can't if you are not root, or read mgedmin blog) | 13:22 |
ignas | you can just take a script out of it | 13:23 |
ignas | and create the same fake python (maybe a bit better) | 13:23 |
ignas | and install all the packages into it | 13:23 |
ignas | http://pypi.python.org/pypi/virtualenv/1.0 | 13:23 |
ignas | i think this is the one | 13:24 |
ignas | there is even http://pypi.python.org/pypi/tl.buildout_virtual_python/0.1.2 | 13:24 |
ignas | which is nice | 13:24 |
pcardune | interesting | 13:24 |
ignas | the only downside of the buildout creating virtual python is | 13:24 |
ignas | that you must have buildout prior to running buildout script ;) | 13:24 |
ignas | which is what my easy_buildout script does ;) | 13:25 |
ignas | as in - chicken and egg problem - buildout is the best way to build virtual python separate from your system, but to run it you must have buildout | 13:26 |
ignas | http://mg.pov.lt/blog/easy-easy-install.html | 13:26 |
ignas | instructions for easy-install setup | 13:26 |
ignas | so if someone would converge marius tutorial to bootstrap buildout | 13:27 |
ignas | then buildout.cfg with virtual_python | 13:27 |
ignas | to set up python for your application that is not affected by your system eggs | 13:27 |
ignas | and top it off with the bundle building thingies that J1m and scrichter have created | 13:28 |
ignas | you would get a framework that can build and install your egg based application from a tarball | 13:28 |
ignas | without downloading anything | 13:28 |
ignas | if all the compile time dependencies are satisfied | 13:29 |
pcardune | ignas: do you have a blog? | 13:29 |
ignas | which would be kind of cool ;) and we could distribute cando and schooltool as big tarballs that just work | 13:29 |
pcardune | you should write some of this stuff down | 13:29 |
ignas | will try to ;) | 13:29 |
*** pcardune has quit IRC | 13:43 | |
*** aelkner_ has quit IRC | 14:57 | |
*** pcardune has joined #schooltool | 15:11 | |
*** ignas has quit IRC | 15:36 | |
*** ignas has joined #schooltool | 15:55 | |
*** wbrady has joined #schooltool | 16:16 | |
*** root__ has joined #schooltool | 16:24 | |
root__ | ignas: ayt? | 16:41 |
ignas | yes | 16:41 |
root__ | I removed my eggs dir from my sla schooltool instance, but make does nothing | 16:42 |
ignas | bin/buildout | 16:42 |
root__ | that fails to find to find zc.buildout.buildout | 16:43 |
root__ | isn't that because the eggs are missing? | 16:43 |
root__ | ignas: there seems to be a circular dependency there | 16:46 |
root__ | buildout is depended on eggs, but eggs is dependent on buildout being run? | 16:46 |
ignas | hmm | 16:46 |
ignas | python bootstrap.py | 16:46 |
ignas | bin/buildout | 16:46 |
root__ | that works, but shouldn't make file run bootstrap if there are no eggs? | 16:48 |
ignas | make file | 16:48 |
ignas | checks for bin | 16:48 |
ignas | so you should rm -rf bin as well | 16:49 |
root__ | actually the make file checks for python before running bootstrap | 16:49 |
root__ | obviously, removing the eggs was a mistake on my part | 16:50 |
root__ | i guess i need to learn to trust the buildout process you developed :) | 16:50 |
root__ | the reason i removed the eggs was becuase i had failing tests and wanted the latest on everything | 16:51 |
root__ | bin/buildout would have given my that, so that was my mistake | 16:51 |
*** wbrady has quit IRC | 16:52 | |
root__ | ignas: i'm still getting a ton of failing unit tests | 16:53 |
ignas | "bin/buildout -n" gives the latest | 16:53 |
root__ | that are all over the place | 16:53 |
ignas | lisppaste5: url | 16:53 |
lisppaste5 | To use the lisppaste bot, visit http://paste.lisp.org/new/schooltool and enter your paste. | 16:53 |
ignas | paste them | 16:53 |
ignas | so i could see what's wrong | 16:53 |
ignas | i'd assume that you are missing some new dependencies that can be fixed by sudo apt-get build-dep python-lxml | 16:53 |
lisppaste5 | aelkner pasted "make test failures" at http://paste.lisp.org/display/54993 | 16:55 |
root__ | build-dep yielded: | 16:56 |
root__ | Errors were encountered while processing: udev libgphoto2-2 libsane libsane-dev python-setuptools | 16:56 |
root__ | E: Sub-process /usr/bin/dpkg returned an error code (1) | 16:56 |
*** mgedmin has joined #schooltool | 16:57 | |
*** alga has joined #SchoolTool | 16:57 | |
root__ | ignas: any ideas? | 17:13 |
ignas | yes | 17:19 |
ignas | apparently CAS if enabled in test-schooltool section | 17:20 |
ignas | breaks schooltool tests | 17:20 |
ignas | can you lisppaste buildout.cfg | 17:20 |
root__ | http://source.schooltool.org/trac/browser/trunk/sla-buildout/buildout.cfg | 17:21 |
ignas | why does your test include both sla and schooltool? | 17:22 |
ignas | i mean - I have two different sections | 17:22 |
ignas | one that runs lyceum tests | 17:22 |
ignas | and one that runs schooltool tests | 17:22 |
ignas | if i am working on both of them | 17:22 |
ignas | if you are only developing sla | 17:22 |
ignas | why run schooltool tests too ? | 17:23 |
ignas | on the other hand | 17:23 |
ignas | you might want to look at the problem and try to find a way | 17:23 |
ignas | to make schooltool tests pass | 17:23 |
ignas | when schooltool.cas is in pythonpath | 17:23 |
ignas | (schooltool.cas installs a configuration hook) | 17:23 |
ignas | so you might either disable the hooks in unit/functional tests | 17:24 |
ignas | or make CAS configuration handlers fault tolerant | 17:24 |
root__ | i don't understand either option, sorry | 17:25 |
root__ | first, i don't see what you mean by configuration hook | 17:26 |
root__ | looking at schooltool.cas only yields two brwoser pages and a authentication plugin | 17:26 |
root__ | there's this: zcml:condition="have cas_authentication | 17:27 |
root__ | in the configure.zcml | 17:27 |
root__ | but i wouldn't know what that means | 17:27 |
root__ | i see get_configuration in __init__.py, but i'm not sure yet when or why that's called | 17:30 |
ignas | look at setup.py | 17:32 |
ignas | it's an entrypoint | 17:32 |
ignas | look at main.py in schooltool/app | 17:33 |
ignas | or somewhere around there | 17:33 |
ignas | to see how schooltool configuration plugins are loaded | 17:34 |
ignas | that part fails, because it loads the plugin even if it's unit tests | 17:34 |
root__ | found def get_schooltool_plugin_configurations() | 17:36 |
ignas | yep | 17:36 |
* mgedmin wonders where th1a disappeared | 17:36 | |
ignas | so you should either stub it in tests, or rewrite it to be a bit more robust or rewrite the configuration in schooltool.cas | 17:37 |
root__ | are all my errors relared to schooltool.cas? | 17:39 |
ignas | yes | 17:39 |
root__ | i'll explain why i test schooltool | 17:39 |
root__ | i svn+ssh sla and schooltool in case i need to change either | 17:40 |
ignas | so add 1 more sections | 17:40 |
ignas | [test-schooltool] | 17:40 |
ignas | and test schooltool changes separately | 17:40 |
ignas | to be 100% sure | 17:40 |
ignas | that tests pass without SLA | 17:40 |
root__ | what would [test-schooltool] section look like, and how do I test schooltool changes separately? | 17:41 |
ignas | well - just like your [test] section | 17:42 |
ignas | but without the sla bit | 17:43 |
root__ | i was interrupted by an impromptu meeting in my office, but i'll try what you just suggested | 17:57 |
root__ | so i added the new section | 17:58 |
root__ | do i need to remove schooltool from the [test] sectiion? | 17:59 |
root__ | and what do you mean by "test schooltool separately?" | 17:59 |
root__ | ignas: it's troubling to me that this is so complicated | 18:02 |
root__ | if i have to develop schooltool in a different checkout, i will | 18:02 |
root__ | maybe it's too much to ask to have the schooltool checked out from within sla-buildout | 18:03 |
ignas | no, not too much | 18:03 |
ignas | http://codebrowse.launchpad.net/~ignas/schooltool/lyceum-buildout/annotate/ignas%40pov.lt-20080116145348-0z4hh5tf8b7bttt5?file_id=buildout.cfg-20070830145752-cbswb7fo8rzjmuqe-2 | 18:04 |
ignas | look at [test] sections | 18:04 |
root__ | so i DO need to remove schooltool from test section | 18:05 |
root__ | i still get the same errors | 18:06 |
root__ | ugh! | 18:06 |
ignas | really? | 18:06 |
ignas | did you run | 18:06 |
ignas | bin/buildout | 18:07 |
ignas | after modifying buildout.cfg | 18:07 |
root__ | no, sorry | 18:07 |
root__ | now i get 0 tests | 18:07 |
root__ | bin/buildout said uninstalling test and installing test | 18:08 |
root__ | so that's because i have no tests yet for sla, right? | 18:08 |
ignas | yes | 18:09 |
root__ | but then, why the test-schooltool section if no tests are run for it? | 18:09 |
ignas | to create one more script | 18:09 |
ignas | bin/test-schooltool | 18:09 |
ignas | you must add it to "parts" too | 18:09 |
ignas | so it would get built | 18:09 |
root__ | Installing test-schooltool. | 18:10 |
root__ | but | 18:10 |
root__ | make test still does nothing | 18:10 |
root__ | bin/test-schooltool is running the tests | 18:11 |
root__ | and the unit tests passed! | 18:12 |
root__ | looks like i need to change the make file to run bin/test-schooltool -u and -f for ftests | 18:13 |
root__ | ignas: is this right?> | 18:13 |
ignas | the makefile is for SLA | 18:13 |
ignas | not for schooltool | 18:13 |
ignas | you only need the test-schooltool section if you are developing schooltool as well | 18:13 |
ignas | the main difference is that schooltool and sla are 2 different things | 18:14 |
ignas | separate | 18:14 |
ignas | not the same ;) | 18:14 |
ignas | even if they are in 1 buildout you are still developing 2 things | 18:14 |
root__ | that's why i asked if it was a mistake having schooltool as an svn checkout from within sla-buildout | 18:14 |
ignas | but you still can make "make test" | 18:14 |
ignas | run both bin/test and bin/test-schooltool if you like it that way | 18:15 |
root__ | i could | 18:15 |
ignas | it's not a mistake | 18:15 |
ignas | it's convenience | 18:15 |
* ignas does not use make test | 18:15 | |
ignas | ever | 18:15 |
ignas | you can't pass parameters to make test | 18:15 |
ignas | and you do separate full test runs before commiting anyway | 18:15 |
root__ | well, i was hoping for an enviornment where i could develop sla or schooltool | 18:16 |
root__ | as the case may be | 18:16 |
ignas | "or" ? | 18:16 |
root__ | and be able to run make test and ftest before commiting anything | 18:16 |
root__ | most of the time i would be deveoping sla | 18:17 |
ignas | hmm | 18:17 |
root__ | the OR part is if i needed to change schooltool in order to get something in sla to work | 18:17 |
ignas | you see - it makes running SLA and testing SLA with a modified schooltool easier | 18:17 |
ignas | but schooltool changes should still make sense even without SLA in the context | 18:18 |
root__ | ignas: i'm getting confused from developing on my machine versus installing on sla machine | 18:23 |
root__ | would it be better if i were to not test on sla machine? | 18:23 |
root__ | i.e., remove [test] section from buildout.cfg | 18:23 |
ignas | it would be better if you would not checkout schooltool on sla machine | 18:23 |
ignas | but still have both test and test-schooltool there | 18:24 |
ignas | in case something breaks | 18:24 |
ignas | hmm | 18:24 |
ignas | ok | 18:24 |
ignas | test-schooltool | 18:24 |
root__ | wait | 18:24 |
ignas | will not work very well without a checkout | 18:24 |
root__ | i like the idea of making sure that something isn't broken | 18:24 |
root__ | and i could remove the schooltool checkout | 18:24 |
root__ | oh | 18:25 |
ignas | i like the idea of making sure i am using a "released configuration" | 18:25 |
root__ | meaing? | 18:25 |
root__ | \meaning? | 18:25 |
ignas | well - "packaged egg" | 18:25 |
ignas | approved by buildbot | 18:25 |
ignas | because buildbot only packages an egg if all the tests pass | 18:26 |
ignas | if you have a checkout | 18:26 |
ignas | you might modify it on that machine | 18:26 |
ignas | or svn up into something that is broken | 18:26 |
ignas | jinty is using deb packages for deployment instead of eggs for example | 18:26 |
root__ | yet another option, ugh? | 18:27 |
root__ | so many options are causing me to loose my grip | 18:27 |
root__ | lose | 18:27 |
ignas | but only things that are "packaged up" are deployed, so you could get the same configuration you had released 2 months ago | 18:27 |
ignas | i am not suggesting eggs | 18:27 |
ignas | i am using a checkout myself, because i want lyceum capable of updating translations | 18:27 |
ignas | and that is difficult to do with eggs shifting version and moving the translation file | 18:28 |
root__ | the reason i would want to use a schooltool checkout at sla is to avoid having to wait for buildbot | 18:29 |
root__ | i would never commit from sla, but svn up is faster than buildbot, right? | 18:29 |
ignas | well - how are you sure that you didn't break anything without buildbot? | 18:30 |
ignas | ;) | 18:30 |
ignas | you see - buildbot never makes mistakes | 18:30 |
ignas | it always runs all the tests | 18:30 |
ignas | people tend to forget, skip, miss and etc | 18:30 |
ignas | are you 100% sure no one will commit a change while you will be typing "ssh sla" | 18:31 |
ignas | it's a tradeoff | 18:31 |
ignas | you can use checkout | 18:31 |
ignas | i mean - I am using one | 18:31 |
ignas | you can have both test and test-schooltool | 18:31 |
ignas | in your makefile | 18:31 |
ignas | because you will want to run full test runs | 18:31 |
ignas | for both of them | 18:31 |
ignas | when deploying | 18:31 |
root__ | i like to have a simple procedure so that i don't make a mistake | 18:32 |
root__ | so that's why i like the following | 18:32 |
root__ | svn up | 18:32 |
root__ | make test | 18:32 |
root__ | make ftest | 18:32 |
root__ | make run | 18:32 |
ignas | you might want to add "bin/buildout -n" sometimes | 18:32 |
root__ | couldn't make file do that? | 18:33 |
ignas | it could, if you want it to be done always | 18:33 |
root__ | make update should do svn up and bin/buildout | 18:33 |
* ignas does not like updating *all* the eggs all the time | 18:33 | |
root__ | -n | 18:33 |
ignas | yep, you can add or modify make update | 18:33 |
root__ | i think i'll do it that way | 18:34 |
root__ | ignas: how does this look for a make update block? | 18:40 |
root__ | .PHONY: update | 18:40 |
root__ | update: svn up cd sla && svn up cd schooltool && svn up bin/buildout -n | 18:40 |
root__ | wait | 18:40 |
root__ | the newlines get stripped in irssi | 18:41 |
ignas | why && not "\n" ? | 18:41 |
root__ | it wouyld look slike this | 18:41 |
ignas | oh | 18:41 |
ignas | you don't need cd | 18:41 |
root__ | .PHONY: update | 18:41 |
root__ | update: | 18:41 |
ignas | you can "svn up sla" | 18:41 |
root__ | oh | 18:41 |
ignas | and "svn up schooltool" | 18:41 |
root__ | i'll do that | 18:42 |
root__ | i'm testing my make update, and i get Error: Couldn't install: lxml 1.3.6 | 18:44 |
root__ | what sudo apt-get do i need to do again? | 18:44 |
root__ | ignas? | 18:45 |
ignas | sudo apt-get build-dep python-lxml | 18:45 |
ignas | should help | 18:45 |
ignas | though reading the error message should help ;) | 18:45 |
root__ | that did help | 18:48 |
root__ | the error message wouldn't have, it was about a million gcc errors | 18:48 |
root__ | ignas: looks like i'm all set now to do the following: | 18:57 |
root__ | develop on my machine | 18:57 |
root__ | when i want to deploy to sla | 18:57 |
root__ | shit down the server | 18:58 |
root__ | make update | 18:58 |
root__ | make test | 18:58 |
root__ | make ftest | 18:58 |
root__ | make run | 18:58 |
root__ | i think i prefer this simple method | 18:58 |
root__ | makes sense? | 18:58 |
ignas | yes | 18:58 |
root__ | cool | 18:59 |
ignas | i mean - it has to be convenient to you | 18:59 |
ignas | not to me ;) | 18:59 |
root__ | now onto another question | 18:59 |
root__ | we discussed a layer for sla | 18:59 |
root__ | so that i could register different person views | 18:59 |
root__ | and you suggested looking at lyceum | 18:59 |
root__ | i did, and i don't see where you create a layer and use it | 19:00 |
root__ | did i mis-understand? | 19:00 |
root__ | ignas: i thought i understood what you meant, but i was disappointed not to find any example of it | 19:01 |
ignas | lyceum/src/lyceum/browser/skin.py | 19:01 |
root__ | ignas: i don't find such a file there | 19:03 |
root__ | looked in trac and it's not there either | 19:04 |
ignas | trac is for svn | 19:04 |
ignas | lyceum is in bzr | 19:04 |
root__ | maybe it's been a while since you commited changes? | 19:04 |
ignas | i should delete the branch in svn in some time i guess | 19:04 |
root__ | oh! | 19:05 |
ignas | http://codebrowse.launchpad.net/~ignas/schooltool/lyceum/files | 19:05 |
root__ | ignas: if i want lyceum on my machine, not for developing, what would the bzr command be? | 19:07 |
ignas | bzr co --lightweight http://bazaar.launchpad.net/~ignas/schooltool/lyceum | 19:08 |
ignas | would work | 19:08 |
root__ | what's the lightweight for? | 19:08 |
ignas | do it would not pull the whole repository | 19:09 |
ignas | 70 megs | 19:09 |
ignas | and would only construct the source tree with a reference to the repo on the web | 19:09 |
root__ | so i can't update from this checkout and acidentally mess with your code, right? | 19:10 |
ignas | you can't mess my code up anyway ;) | 19:11 |
ignas | it's mine | 19:11 |
ignas | you can only branch it | 19:11 |
ignas | and upload somewhere on the internet | 19:11 |
ignas | but making a full branch from launchpad is quite slow | 19:11 |
ignas | so i am suggesting you to do a lightweight checkout | 19:11 |
ignas | because you won't be committing anything anyway | 19:12 |
ignas | to save hard drive space and time | 19:12 |
root__ | cool. does bzr up from within the lyceum dir give me your latest changes? | 19:12 |
root__ | i mean, i have the latest now, but say, a couple of weeks from now, i want to make sure i have the up to date copy | 19:13 |
ignas | i am not sure about it | 19:24 |
ignas | you might need to do bzr pull | 19:25 |
ignas | not bzr up | 19:25 |
ignas | but you should just try it to find out | 19:25 |
ignas | ask #bzr folks about it | 19:25 |
ignas | they will be more than glad to explain | 19:25 |
ignas | or direct you to the bzr web page | 19:25 |
ignas | that contains detailed documentation | 19:25 |
root__ | thanks, i'll figure it out. thanks for the extensive help today. | 19:26 |
ignas | glad to help | 19:27 |
root__ | btw, bzr up worked, though you hadn't commited anything, so it said: | 19:32 |
root__ | Tree is up to date at revision 90. | 19:32 |
ignas | it might say that even after i commit | 19:35 |
ignas | that's why i was not sure | 19:35 |
ignas | i know bzr up does not update if you do a full checkout | 19:35 |
ignas | it might/should work in a lightweight one | 19:35 |
*** wbrady has joined #schooltool | 19:39 | |
th1a | mgedmin: ayt? | 20:18 |
mgedmin | oh, hi, th1a! | 20:18 |
mgedmin | did you get my email last week? | 20:19 |
th1a | Yes... I keep forgetting to respond. Sorry. | 20:19 |
th1a | Yeah, I can order it for you. | 20:19 |
mgedmin | yay! | 20:19 |
mgedmin | birthday present for me :-) | 20:19 |
th1a | is root__ aelkner? | 20:20 |
*** wbrady has quit IRC | 20:20 | |
ignas | th1a: yes | 20:21 |
th1a | OK... guess I should read this backlog... | 20:22 |
root__ | th1a: root is aelkner | 20:26 |
pcardune | root__: what happened to aelkner? | 20:26 |
root__ | i'm signed on as root here at sla | 20:26 |
mgedmin | /nick aelkner | 20:27 |
root__ | i just need to remember to sign on as myself | 20:27 |
*** root__ is now known as aelkner | 20:27 | |
aelkner | so now i'm me | 20:27 |
aelkner | pcardune: hello, hello | 20:29 |
pcardune | aaah | 20:29 |
ignas | by the way - isn't using irc as root considered dangerous?? | 20:29 |
pcardune | probably yet | 20:29 |
pcardune | isn't using anything as root considered dangerous? | 20:29 |
aelkner | hehe | 20:29 |
ignas | well - anything does not connect to the internet | 20:30 |
pcardune | yeah, but you could accidently type rm -rf / | 20:30 |
pcardune | :) | 20:30 |
pcardune | well, I know you, ignas, would not do that... but there those of us who would... | 20:31 |
ignas | i mean - i know that there were occasions when bugs in irc clients like BitchX would allow others to type "rm -rf" for you | 20:31 |
aelkner | well that would be a problem | 20:31 |
ignas | and root can always su to another user i think | 20:31 |
ignas | or do "sudo -u" | 20:32 |
aelkner | i'll try and remember to sign on as aelkner before starting irssi | 20:32 |
aelkner | ignas: you mentioned another solution to my irc blockage here | 20:35 |
aelkner | somthing about ssh pass-through | 20:35 |
aelkner | forwarding | 20:35 |
ignas | i am doing: | 20:35 |
ignas | ssh fridge.pov.lt -L 7777:irc.freenode.net:6667 | 20:35 |
ignas | and in my local irc client /server localhost:7777 | 20:36 |
ignas | it's called ssh forwarding | 20:36 |
ignas | and is a very very nice thing when you must work around various policies | 20:36 |
aelkner | i tried: | 20:39 |
aelkner | ssh schooltool.scienceleadership.org -L 7777:irc.freenode.net:6667 | 20:39 |
aelkner | and it just brought me to the machine | 20:39 |
ignas | yes | 20:39 |
ignas | it does that | 20:39 |
ignas | but in another window | 20:39 |
ignas | connect to irc server localhost:7777 | 20:40 |
aelkner | i'm trying to use XGNOME-chat | 20:40 |
aelkner | is that where you mean | 20:40 |
ignas | yes | 20:40 |
aelkner | i have my client set up to automaticaly connect me, so i disconnected first | 20:43 |
aelkner | then typed: /server localhost:7777 | 20:43 |
aelkner | Looking up localhost:7777.. | 20:43 |
aelkner | Unknown host. Maybe you misspelled it? | 20:43 |
aelkner | ignas: is there something else i was supposed to do? | 20:44 |
ignas | maybe "localhost 7777" instead of "localhost:7777" | 20:45 |
*** aelkner__ has joined #schooltool | 20:45 | |
aelkner__ | am i really here? | 20:46 |
ignas | yes | 20:46 |
ignas | ;) | 20:46 |
aelkner__ | assume! | 20:46 |
aelkner__ | i mean, awesome! | 20:46 |
ignas | :D | 20:46 |
aelkner__ | i'm going to start over to get my username right | 20:48 |
*** aelkner__ has quit IRC | 20:48 | |
*** aelkner has quit IRC | 20:49 | |
*** aelkner__ has joined #schooltool | 20:50 | |
*** aelkner__ has joined #schooltool | 20:52 | |
aelkner__ | why does it keep signing me in as aelkner__ | 20:52 |
ignas | /nick aelkner would work too ;) | 20:52 |
ignas | because it thinks that your nick is aelkner__ on this server i'd guess | 20:52 |
aelkner__ | but why? | 20:53 |
aelkner__ | i logged out of irssi | 20:53 |
aelkner__ | so that i wouldn't exist at all | 20:53 |
aelkner__ | then i logged in as aelkner | 20:53 |
aelkner__ | i saw a quick message flash that said aelkner was already used | 20:53 |
*** aelkner__ has quit IRC | 20:54 | |
*** aelkner__ has joined #schooltool | 20:54 | |
aelkner__ | now /nick isn't doing anything | 20:55 |
*** root__ has joined #schooltool | 20:55 | |
aelkner__ | that's franky | 20:55 |
aelkner__ | he's sitting here with me and want s to solve the same problem | 20:56 |
root__ | exit | 20:56 |
*** root__ has quit IRC | 20:56 | |
aelkner__ | ignas: for some reason /nick does nothing | 20:58 |
*** ignas is now known as ignas_hmm | 20:59 | |
*** ignas_hmm is now known as ignas | 20:59 | |
aelkner__ | weird | 21:00 |
aelkner__ | also, as there is no aelkner there in the first place, why is it reassigning me to aelkner__ | 21:00 |
ignas | look at the FreeNode tab | 21:02 |
ignas | and see what's written in there | 21:02 |
mgedmin | there's an aelkner on freenode | 21:02 |
mgedmin | (n=aelkner@sla-gw2.metro13.phila.k12.pa.us) : Alan Elkner | 21:03 |
aelkner__ | Found your IP: [192.231.162.183] | 21:04 |
aelkner__ | Unknown MODE flag | 21:04 |
aelkner__ | aelkner :Nickname is already in use | 21:04 |
Lumiere | mgedmin: got it | 21:04 |
Lumiere | aelkner__: you're logged in at sla | 21:04 |
Lumiere | 12:48:51 -!- aelkner [n=aelkner@sla-gw2.metro13.phila.k12.pa.us] | 21:04 |
Lumiere | 12:48:51 -!- ircname : Alan Elkner | 21:04 |
Lumiere | 12:48:51 -!- server : irc.freenode.net [http://freenode.net/] | 21:04 |
Lumiere | 12:48:51 -!- : is identified to services | 21:04 |
Lumiere | 12:48:51 -!- End of WHOIS | 21:04 |
aelkner__ | but i got out of irssi | 21:05 |
Lumiere | not entirely | 21:05 |
Lumiere | it would seem | 21:05 |
Lumiere | use recover/release | 21:05 |
Lumiere | /ns help recover | 21:05 |
Lumiere | /ns help release | 21:05 |
aelkner__ | /ns help recove | 21:06 |
*** fstpierre1 has joined #schooltool | 21:06 | |
aelkner__ | RECOVER aelkner | 21:07 |
Lumiere | /msg nickserv recover aelkner works too | 21:08 |
*** fstpierre1 is now known as fstpierre3 | 21:09 | |
fstpierre3 | Lumiere how do i register | 21:10 |
*** aelkner__ has quit IRC | 21:10 | |
*** mgedmin has quit IRC | 21:11 | |
*** aelkner_ has joined #schooltool | 21:11 | |
Lumiere | fstpierre3: /msg nickserv help register | 21:12 |
aelkner_ | Lumiere: I have my client configured to automatically connect to FreeNode (you showed me this last summer) | 21:14 |
aelkner_ | problem is that it fails to connect | 21:15 |
aelkner_ | so when i then /server localhost 777 | 21:15 |
aelkner_ | 7777 | 21:15 |
aelkner_ | it says that aelkner is already in use | 21:15 |
*** fstpierre3 has quit IRC | 21:16 | |
*** ignas has quit IRC | 21:21 | |
*** fstpierre__ has joined #schooltool | 21:24 | |
aelkner_ | fstpierre__: ping | 21:27 |
aelkner_ | fstpierre__: ping | 21:29 |
aelkner_ | fstpierre__: ping | 21:30 |
aelkner_ | it worked! | 21:30 |
fstpierre__ | aelkner_: ping | 21:32 |
aelkner_ | fstpierre__: ping | 21:33 |
Lumiere | uh it didn't fail to connect if you show as in use | 21:36 |
Lumiere | it may have connected then started to ping time out | 21:36 |
aelkner_ | due to the blockage | 21:37 |
*** fstpierre__ has quit IRC | 21:38 | |
*** pcardune has quit IRC | 22:06 | |
*** ignas has joined #schooltool | 22:08 | |
*** Lumiere changes topic to "SchoolTool development | | IRC logs at http://source.schooltool.org/irclogs/ | Dev meetings Mon, 14:30 UTC (16:30 EET, 9:30 EST) | Use http://paste.lisp.org/new/schooltool for pasting | Write more unit and functional tests! Yes, you!" | 22:37 | |
*** th1a has quit IRC | 23:00 | |
*** th1a has joined #schooltool | 23:21 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!