*** menesis has quit IRC | 00:30 | |
replaceafill | aelkner, u around? | 00:44 |
---|---|---|
*** replaceafill has quit IRC | 01:18 | |
*** replaceafill has joined #schooltool | 01:38 | |
*** replaceafill has quit IRC | 02:40 | |
*** ignas_ has quit IRC | 04:08 | |
*** alga has quit IRC | 04:09 | |
*** replaceafill has joined #schooltool | 04:39 | |
*** aks has joined #schooltool | 06:11 | |
aks | yvl: ping | 08:37 |
*** replaceafill has quit IRC | 09:32 | |
*** menesis has joined #schooltool | 10:05 | |
yvl | pong, aks | 10:05 |
aks | yvl: sorry was out for lunch | 10:27 |
aks | yvl: see http://gitorious.org/schooltool-rpm | 10:27 |
aks | it contains the repository containing the RPM spec files and sources, as well as the wiki contains the documentation | 10:28 |
yvl | cool :) | 10:30 |
yvl | looking... | 10:30 |
aks | yvl: ok | 10:38 |
aks | yvl: let me know if we require more documentation | 10:38 |
yvl | looks good! | 10:41 |
yvl | I'd personally prefer text from http://gitorious.org/schooltool-rpm/pages/Developer-Documentation to be also included in the git repo | 10:41 |
yvl | an, of course - scripts (however experimental) that download the sources | 10:42 |
aks | yvl: yes, will do that in a while, cleaning up the mess in those scripts now | 10:45 |
yvl | I'm not rushing you or anything, you did a great job :) | 10:45 |
aks | yvl: Added the developer documentation to the repo as well | 10:56 |
yvl | thanks :) | 10:57 |
aks | yvl: one question - Do we have to build versus the trunk only or we do have stable releases? | 11:00 |
yvl | sorry, didn't understand your question | 11:01 |
yvl | we have stable releases of 1.4 | 11:01 |
yvl | and once Maverick is out, we'll have stable releases of 1.5 | 11:02 |
yvl | (this release was intended to be 1.6, so you can find eggs here at the moment: http://ftp.schooltool.org/schooltool/1.6/ ) | 11:03 |
yvl | I hope this is what you were asking for :) | 11:03 |
aks | yvl: yes | 11:04 |
aks | yvl: the next thing I'll be packaging for schooltool would be version 1.5 for the latest build of Fedora (Fedora 13) | 11:04 |
aks | yvl: what is the schedule for the release of next version (i.e 1.7)? | 11:05 |
yvl | the next release will be 1.6 | 11:13 |
yvl | and as we're aiming to get into Natty Universe repositories, it will match Ubuntu release schedule | 11:14 |
yvl | https://wiki.ubuntu.com/NattyReleaseSchedule | 11:14 |
aks | yvl: one problem, though in version 1.6, the files are labeled with 1.5 | 11:25 |
aks | yvl: this shall create confusion | 11:25 |
yvl | yes, it does | 11:26 |
yvl | it's simply a wrong folder, and we didn't change it yet... | 11:26 |
yvl | it is supposed to be 1.5 | 11:26 |
yvl | apologies for the mess | 11:26 |
aks | yvl: now i'm tweaking my build script to take argument of which version to build and hence fetches the source accordingly, it the version is "trunk" will do a bzr co/update, or if it is another version, pull the tar.gz file from the website | 11:27 |
aks | yvl: and i'm forming the url as "http://ftp.schooltool.org/schooltool" + schooltoolVersion, where the latter is the variable containing the version of the schooltool that is fetched by argparse | 11:28 |
*** alga has joined #schooltool | 11:28 | |
aks | yvl: so can we rename the directory to 1.5? | 11:29 |
yvl | I'll ask menesis | 11:29 |
aks | yvl: ok, let me know when it is renamed, and i'll re-test my build script against it, before pushing them to the repository | 11:29 |
yvl | by the way, for trunk you might want to use http://ftp.schooltool.org/schooltool/trunk/dev/ | 11:30 |
yvl | those are built by our buildbot | 11:31 |
yvl | builbot also updates http://ftp.schooltool.org/schooltool/trunk/dev/trunk.cfg | 11:31 |
yvl | (you might want to use trunk eggs instead of bzr co, buildbot at least runs tests there) | 11:32 |
*** menesis has quit IRC | 12:12 | |
aks | yvl: ok | 12:37 |
aks | yvl: can you manage to host the binary RPMS (in a repository structure)? It's 31M in size | 12:39 |
yvl | I was about to write an email to Tom about that :) | 12:39 |
aks | yvl: :) | 12:39 |
yvl | ah, and his nick is th1a, by the way :) | 12:39 |
aks | yvl: oh yes, I remember now, I once had a talk with him | 12:39 |
*** menesis has joined #schooltool | 13:09 | |
aks | yvl, menesis: besides renaming the directory from 1.6 to 1.5, we also need to figure out how to find the most recent stable build inside the directory | 13:14 |
aks | yvl, menesis: for example in http://ftp.schooltool.org/schooltool/1.4/, there is schooltool source from version 1.3.0 to 1.4.2, and my script needs a way to find which to download | 13:15 |
aks | yvl, menesis: till now my script, asks for the version number (i.e. 1.3, 1.4, 1.5) which it appends to "http://ftp.schooltool.org/schooltool/" to find out the required directory, but while downloading the source for schooltool, it is confused | 13:17 |
menesis | aks: ok I have renamed 1.6 to 1.5 | 13:37 |
aks | menesis: thanks, what about discovering the most recent build under the given version directory? | 13:37 |
menesis | we talked about how to name releases in the next development cycle, so it will be 1.6 | 13:38 |
yvl | released in 2011 spring | 13:38 |
aks | yvl: ok | 13:38 |
menesis | but the fact that 1.3.2 is in /1.4 is on purpose | 13:38 |
aks | menesis: so how would I discover that automatically using my script (python)? | 13:39 |
menesis | 1.3.x were development releases, 1.4.x stable | 13:39 |
aks | menesis: If we can maintain a text file containing the list of releases inside the version directory, I can parse the file, read out the contents, find the bigger one, and use it | 13:39 |
aks | menesis: the problem now is that when you browse that directory, it lists the contents of the directory rather than displaying a page, and hence I'm not able to use urllib to read the page contents and retrieve the releases | 13:40 |
menesis | this is a page generated by apache | 13:50 |
menesis | you should be able to parse it as well | 13:50 |
menesis | but I don't think it is a good idea to package the highest version directory | 13:50 |
menesis | you cannot know if it is stable yet, maybe modules have been renamed, added or deleted | 13:51 |
menesis | so the script won't work after we create 1.6 directory for development releases sometime next month | 13:52 |
menesis | but I know that this directory layout is not perfect | 13:52 |
menesis | I have to update the download directory in my deb packages | 13:55 |
yvl | FWIW, urllib.urlopen('ftp://schooltool.org/pub/schooltool/1.5') | 13:55 |
menesis | but for stable releases it works | 13:55 |
menesis | aks: maybe it would be enough to add a symlink stable -> 1.4 ? | 14:02 |
aks | yvl, menesis, i'll give a try | 14:03 |
aks | menesis: yes that would be great | 14:11 |
aks | menesis, yvl: using urllib, i was able to get the contents, but it also contains a lot of markup, I'll use regex and filter out, and try to find the most recent stable release in a given directory by this approach | 14:11 |
aks | menesis, yvl: leaving for home now, will see you guys tomorrow | 14:16 |
yvl | see you, aks :) | 14:16 |
menesis | u = urllib.urlopen('http://ftp.schooltool.org/schooltool') | 14:16 |
menesis | from lxml import etree | 14:17 |
menesis | h = etree.HTML(u.read()) | 14:17 |
yvl | aks, alternatively you can open the ftp link | 14:17 |
menesis | h.xpath('//tr/td[2]/a/@href') | 14:17 |
aks | yvl: open ftp link? how? | 14:17 |
yvl | readlines will give you something along the lines of "ls -al" | 14:17 |
yvl | <yvl> FWIW, urllib.urlopen('ftp://schooltool.org/pub/schooltool/1.5') | 14:17 |
aks | menesis: yes the etree would be a good way to do as well | 14:18 |
aks | yvl: i'll try out a few alternatives tomorrow, and let you guys know of it | 14:18 |
aks | menesis: ^^ | 14:18 |
aks | yvl, menesis: let for example in 1.5 directory all the schooltool tar.gz files are stable, aren't they | 14:19 |
aks | ? | 14:19 |
menesis | well yes they are manually released | 14:20 |
menesis | but for example schooltool 1.5.1 broke schooltool.intervention until a newer version of it was made | 14:20 |
aks | yvl, menesis: as my current RPMs are based on trunk checkout, I now want to base my RPMs on stable releases so as to help others use the tool | 14:20 |
menesis | currectly the stable series is 1.4 | 14:21 |
aks | yvl, menesis: so I want you to suggest me the most stable build that I should package | 14:21 |
menesis | but 1.5 is now in bugfix mode for release with Ubuntu 10.10 next month | 14:22 |
aks | menesis: the 1.4 contains a lot of tar.gz for schooltool, which one of them should i use | 14:22 |
menesis | so you can use 1.5 | 14:22 |
yvl | I really suggest to package 1.5 :) | 14:22 |
yvl | (and package it again in a month) | 14:22 |
menesis | the latest tar.gz | 14:22 |
aks | menesis: you mean 1.5.1? I've already packaged it (but from the trunk) | 14:23 |
aks | menesis: if i get a green signal, i'll package 1.5.1 tomorrow, and update the spec file for schooltool at the repo, the dependecy should be the same in the 1.5.1dev and 1.5.1 | 14:24 |
menesis | yes | 14:25 |
aks | yvl, menesis: so that means I'll have to re-package and test just schooltool and it would not be a big issue for me anyways ;) | 14:25 |
aks | yvl, menesis: you'll find the spec for 1.5.1 tomorrow at the repo | 14:26 |
aks | yvl: btw did you hear from tom about hosting the RPMs? | 14:26 |
yvl | he's not awake yet :))) | 14:27 |
aks | yvl, menesis: after building against 1.5.1, I'll put the repo temporarily online somewhere from where you can download and place it to a permanent location (yes, if Tom agrees) | 14:27 |
aks | yvl: ;) | 14:27 |
aks | yvl, menesis: though I run some manual tests over my builds, I'd like others to help with QA. Keeping the repository online would help others use, test, and report about it | 14:28 |
aks | yvl, menesis: I really need to leave now, bye | 14:29 |
yvl | bye | 14:29 |
yvl | and thanks ;) | 14:29 |
aks | yvl: :) | 14:29 |
*** aks has quit IRC | 14:29 | |
*** alga has quit IRC | 15:43 | |
*** alga has joined #schooltool | 16:21 | |
*** menesis has quit IRC | 16:24 | |
*** yvl has quit IRC | 16:24 | |
*** yvl has joined #schooltool | 16:24 | |
*** menesis has joined #schooltool | 16:24 | |
*** replaceafill has joined #schooltool | 16:56 | |
*** replaceafill has joined #schooltool | 16:56 | |
*** aks has joined #schooltool | 17:00 | |
*** th1a has joined #schooltool | 17:04 | |
aks | th1a, hello | 17:10 |
th1a | hi aks. | 17:24 |
th1a | Sorry I didn't notice you there. | 17:24 |
aks | th1a: that's ok | 17:30 |
th1a | So you've got a working RPM? | 17:30 |
*** aks has quit IRC | 19:01 | |
yvl | th1a, I did a little gradebook refactoring Douglas (most likely) needed for Cambodia | 19:01 |
yvl | and sent an email to you all :) | 19:02 |
yvl | can you please poke Alan and Douglas some time about it? | 19:02 |
replaceafill | yay! refactoring!!! | 19:03 |
th1a | This would be for Natty? | 19:03 |
yvl | no, instant - Maverick :| | 19:03 |
yvl | as Cambodia would use that | 19:04 |
replaceafill | nice! adapters! | 19:04 |
yvl | it's not that big, and doesn't touch UI whatsoever | 19:04 |
yvl | tests pass.... but - you know | 19:04 |
yvl | change is always has a risk of bugs | 19:04 |
replaceafill | yvl, will test it today | 19:05 |
yvl | * change always has ... | 19:05 |
th1a | Are there additional code changes aelkner and replaceafill need to do? | 19:05 |
yvl | aelkner - no | 19:05 |
yvl | hopefully - I haven't checked it against his code | 19:05 |
yvl | replaceafill would use the adapters to get the behaviour he wants | 19:06 |
yvl | I didn't figure out an easier way to get to that | 19:06 |
th1a | OK. | 19:07 |
yvl | it isn't merged to trunk, and won't be unless our developers (and you) give the green light | 19:07 |
yvl | replaceafill, I forgot to mention one thing in the email | 19:09 |
replaceafill | yvl, the way i figured was what we discussed: subclassing :( | 19:09 |
replaceafill | yes? | 19:09 |
yvl | yes, for now | 19:10 |
yvl | but of the linked activity | 19:10 |
yvl | as opposed of the whole gradebook | 19:10 |
yvl | and several views | 19:10 |
th1a | I'm just emerging from a nasty head cold, btw. | 19:11 |
replaceafill | th1a, same here :( | 19:11 |
replaceafill | not that nasty though | 19:11 |
yvl | oh | 19:12 |
yvl | well - that's autumn for you. | 19:12 |
replaceafill | yvl, i have a question | 19:12 |
yvl | replaceafill, you can get around without subclassing there if you want, but you'll have to implement the ILinkedColumnActivity interface | 19:13 |
yvl | shoot :) | 19:13 |
replaceafill | yesterday i noticed the average logic returns integers | 19:13 |
replaceafill | and it loses precision | 19:13 |
replaceafill | i mean the current logic | 19:14 |
replaceafill | will your branch replace that logic? | 19:14 |
yvl | no | 19:14 |
replaceafill | i see getWorksheetAverageScore for instance | 19:14 |
replaceafill | ah it uses gradebook.getWorksheetTotalAverage(worksheet, evaluatee) | 19:14 |
yvl | yes | 19:15 |
yvl | you can try replacing the results if you need | 19:15 |
replaceafill | so, since the bug is still there heres my other question | 19:15 |
yvl | (that's one of the fun things with adapters :) ) | 19:15 |
replaceafill | that method returns total, average | 19:15 |
replaceafill | total being a Decimal | 19:15 |
yvl | yes | 19:15 |
replaceafill | and average an int | 19:15 |
replaceafill | i was thinking if i should return float, float | 19:15 |
replaceafill | and let the caller the responsability | 19:16 |
replaceafill | of formatting and stuff | 19:16 |
replaceafill | rounding, etc | 19:16 |
th1a | Yes, it is better to retain precision. | 19:16 |
* yvl agrees | 19:17 | |
yvl | I don't know how the views would react to such change | 19:17 |
replaceafill | yvl, right | 19:17 |
replaceafill | will have to check | 19:17 |
yvl | and if anything, you can do your own average calculation | 19:18 |
yvl | with your own precision | 19:18 |
yvl | though I'd rather see it fixed in schooltool.gradebook | 19:18 |
replaceafill | i was thinking of fixing gradebook core | 19:18 |
replaceafill | yes | 19:18 |
yvl | some time soonish :) | 19:18 |
yvl | well, one thing at a time, yes? ;) | 19:18 |
replaceafill | 1. change my view logic to use your approach | 19:19 |
replaceafill | 2. fix the rounding bug in gradebook trunk :P | 19:19 |
replaceafill | this is the one btw https://bugs.launchpad.net/schooltool.gradebook/+bug/333971 | 19:19 |
yvl | :) | 19:20 |
* yvl started thinking today, that the score system part got a little bit abandoned for a while now | 19:21 | |
yvl | it needs some love | 19:21 |
yvl | like - a score system that shows percentage with 'n' decimal point accuracy | 19:21 |
th1a | UI needs love more. ;-) | 19:21 |
yvl | and making views and other code use those score systems instead of magical ints | 19:22 |
yvl | th1a, you are right, as usual :) | 19:22 |
yvl | ok guys | 19:22 |
yvl | get better! | 19:23 |
th1a | Getting there... | 19:23 |
yvl | replaceafill, don't hesitate to blame if something is not working right | 19:23 |
replaceafill | thanks yvl, will flood your email then :P | 19:23 |
yvl | thank you ;) | 19:23 |
replaceafill | with questions/requests/complains/etc | 19:23 |
replaceafill | thanks yvl | 19:23 |
yvl | see you all tomorrow :) | 19:24 |
*** aks has joined #schooltool | 19:37 | |
aks | th1a: sorry got disconnected at that time | 19:38 |
aks | th1a: yes, I've got a working set of RPMs | 19:38 |
th1a | No problem. | 19:38 |
th1a | Excellent news. | 19:38 |
th1a | We should be able to host them once we get everything sorted. | 19:38 |
*** menesis has quit IRC | 19:39 | |
th1a | Let us know what else you need -- particularly reports. | 19:39 |
aks | th1a: what sort of reports? | 19:40 |
aks | th1a: the current RPMs is compiled against trunk version, tomorrow I'll be packaging agains version 1.5.1 | 19:40 |
th1a | Whatever kind of reports the schools need to generate for parents, data analysis, government, etc. | 19:40 |
aks | th1a: hmm... we'll be launching out a pilot test in two of the schools in october, will inform you about the progress and/or additional feature requirements | 19:41 |
th1a | Yes, please. Keep us informed as much as possible. | 19:41 |
aks | th1a: depending upon the outcome of the pilot test, we'll be going out with a overall implementation at all our OLPC deployment sites/schools | 19:41 |
th1a | We're a little different than most open source projects in that we have paid staff! | 19:41 |
th1a | How many OLPC schools do you have now? | 19:42 |
aks | th1a: oh ok | 19:42 |
aks | th1a: we're currently doing with 26 schools | 19:42 |
th1a | NIce. | 19:42 |
th1a | OK... I have to go pick up my daughter at school. Thanks for the good news aks! | 19:43 |
aks | th1a: :) | 19:44 |
*** aks has quit IRC | 20:28 | |
*** menesis has joined #schooltool | 21:04 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!