*** khildin has quit IRC | 00:02 | |
th1a | replaceafill: Yes! | 00:11 |
---|---|---|
replaceafill | and more importantly, they work :D | 00:11 |
replaceafill | i'll put them in the sielibre ppa now | 00:11 |
replaceafill | th1a, ok, so what's the plan now? | 00:12 |
replaceafill | i guess i need to package the dashboard | 00:12 |
th1a | Yes, I'd do that next. | 00:12 |
replaceafill | that'll be a little trickier i think | 00:12 |
replaceafill | since: it's not even a package yet | 00:12 |
replaceafill | and i have no schooltool package reference :( | 00:12 |
replaceafill | but i'll try | 00:13 |
th1a | Well... | 00:13 |
th1a | OK, just a sec. | 00:13 |
th1a | What would the process be at this point? | 00:13 |
replaceafill | kk | 00:13 |
replaceafill | for a school: add ppa, install, configure zrs | 00:14 |
replaceafill | well, same for the warehouse | 00:14 |
replaceafill | just use different zrs config | 00:14 |
th1a | I don't understand the warehouse side. | 00:15 |
replaceafill | first, they need to follow the book for each schol | 00:15 |
replaceafill | school | 00:15 |
replaceafill | i mean, the section on adding multiple instances | 00:16 |
replaceafill | which we should upload btw | 00:16 |
th1a | OK, so do that and then install the dashboard code, either as a sandbox or .deb if they're ready? | 00:18 |
replaceafill | yes | 00:18 |
replaceafill | i need to test the dashboard in a deb environment | 00:19 |
replaceafill | it's all about sandboxes now | 00:19 |
replaceafill | (since we didn't have packages) | 00:19 |
th1a | Hm. | 00:20 |
replaceafill | deb instances don't have an "instance" directory for instance | 00:20 |
replaceafill | as sandboxes do | 00:20 |
th1a | OK, certainly test that first. | 00:20 |
th1a | Getting the debs to work for the dashboard is not a must. | 00:20 |
th1a | I'd say give it a try, but punt if it isn't going well. | 00:21 |
replaceafill | cool | 00:21 |
replaceafill | if i punt, should i work on the attendance issues we talked this morning? | 00:22 |
th1a | Yes. | 00:24 |
replaceafill | ok | 00:24 |
th1a | For me to try the new debs, I should just switch PPA's? | 00:25 |
replaceafill | yes, i think so | 00:25 |
replaceafill | i only tried from scratch | 00:25 |
replaceafill | but i think it'll work | 00:25 |
replaceafill | ok, to the sielibre ppa | 00:26 |
replaceafill | ah last question | 00:26 |
replaceafill | i guess we have to send an email tomorrow? | 00:26 |
th1a | Yes. | 00:26 |
replaceafill | at what time do you plan to do it? | 00:27 |
th1a | Oh, perhaps we should branch the book? | 00:27 |
replaceafill | branch the book? | 00:27 |
th1a | Probably our instructions should be in book format. | 00:27 |
th1a | But not in the main book of course. | 00:27 |
replaceafill | ah, i thought about that | 00:27 |
replaceafill | ok | 00:28 |
replaceafill | i'll create an /ark branch for the book too | 00:28 |
th1a | OK. Cool. | 00:28 |
replaceafill | and i can freely add the instructions there :) | 00:28 |
th1a | Yes. | 00:28 |
replaceafill | do you want me to upload it to schooltool.org? | 00:28 |
th1a | Oh, yes, I guess so. | 00:29 |
replaceafill | cool, will do | 00:30 |
*** nedosa has joined #schooltool | 00:44 | |
*** nedosa has left #schooltool | 00:50 | |
*** th1a has quit IRC | 01:36 | |
*** replaceafill has quit IRC | 01:39 | |
*** Zamm_ has joined #schooltool | 03:09 | |
Zamm_ | Hi is anyone around? | 03:10 |
*** Zamm_ has quit IRC | 03:30 | |
*** menesis has quit IRC | 05:25 | |
*** th1a has joined #schooltool | 12:07 | |
*** replaceafill has joined #schooltool | 12:55 | |
replaceafill | hey th1a | 12:55 |
th1a | hi replaceafill. | 13:04 |
th1a | Glad you gto up early. | 13:04 |
replaceafill | hey th1a | 13:05 |
replaceafill | i was writing you the status email | 13:05 |
replaceafill | yeah, 4 am here :) | 13:05 |
replaceafill | ok | 13:05 |
th1a | Or did you stay up late? | 13:05 |
replaceafill | yes | 13:05 |
replaceafill | ok, i decided to punt two things: | 13:05 |
replaceafill | dashboard packaging and the multi-school report | 13:05 |
replaceafill | the dashboard works now with debs | 13:05 |
replaceafill | it has a few rough edges | 13:06 |
replaceafill | like the redirect to the local instance is too fast | 13:06 |
replaceafill | and the instance take a while to load | 13:06 |
th1a | Ah, yes. | 13:06 |
th1a | You need that pause. | 13:06 |
th1a | OK. | 13:06 |
replaceafill | so you get redirected to nothing | 13:06 |
replaceafill | i mean | 13:06 |
replaceafill | not found page | 13:06 |
th1a | Yes. | 13:06 |
th1a | Maybe we'll just need some javascript there? | 13:06 |
replaceafill | i was thinking asking supervisor for the status of the services before continuing the redirect | 13:07 |
th1a | Right. OK. | 13:07 |
replaceafill | ok, on the multi-school report | 13:07 |
replaceafill | getting the list of people is pretty simple | 13:07 |
replaceafill | but i haven't done anything on the style of the pdf | 13:07 |
replaceafill | i mean, to match the ST style | 13:07 |
th1a | Is the unstyled report in there? | 13:08 |
th1a | I'd like to make it clear that the hard part works. | 13:08 |
th1a | Not "Oh, we can't get the report to work yet." | 13:08 |
replaceafill | i can add an unstyled page | 13:08 |
th1a | I'd much rather have the rough report in there than not. | 13:09 |
replaceafill | cool | 13:09 |
replaceafill | so, ppa:sielibre/ark has the packages now | 13:10 |
replaceafill | people will need to: | 13:10 |
th1a | Yes, they work for me. | 13:10 |
replaceafill | i prefer to speak here than writing this s..t | 13:10 |
replaceafill | :) | 13:10 |
replaceafill | sudo apt-get install schooltool python-zc.zrs | 13:10 |
replaceafill | after the apt-get update | 13:10 |
replaceafill | the tricky part of the configuration is the several files people need to edit | 13:12 |
replaceafill | mainly the zeo and schooltool configuration files | 13:12 |
replaceafill | for both of these there are three variants: _local.conf, _zrs_primary.conf, _zrs_secondary.conf | 13:13 |
replaceafill | the dashboard uses _local and _zrs_secondary for changing the configurations | 13:13 |
replaceafill | schools will only need to copy _zrs_primary as the main file | 13:14 |
replaceafill | and, in order to make the server accesible to others, the zeo host has to be 0.0.0.0 | 13:15 |
replaceafill | similar to paste.ini | 13:15 |
replaceafill | ah, the dashboard is currently at lp:~replaceafill/+junk/dashboard | 13:16 |
th1a | zeo host? | 13:16 |
replaceafill | do you have the packages installed? | 13:16 |
replaceafill | /etc/schooltool/zeo.conf | 13:16 |
th1a | OK. | 13:17 |
replaceafill | there's a <zeo> directive | 13:17 |
replaceafill | then check /etc/schooltool/zeo_zrs_primary.conf | 13:17 |
replaceafill | you'll see 127.0.0.1:7081 as the default address | 13:17 |
replaceafill | it's the same security change we advise in the book | 13:18 |
replaceafill | for paste.ini | 13:18 |
th1a | Next to server, under zeoclient? | 13:18 |
replaceafill | no, zeoclient is in schooltool.conf | 13:19 |
th1a | I think you might have to get some sleep and then write this for real. | 13:20 |
replaceafill | i was expecting you to write it! | 13:20 |
replaceafill | ;) | 13:20 |
th1a | What you're saying doesn't look like what I see. | 13:20 |
replaceafill | http://pastebin.com/AVTjkk38 | 13:22 |
replaceafill | this is the zeo_zrs_primary.conf file | 13:22 |
th1a | Oh, I was looking at schooltool_zrs_primary.conf | 13:23 |
th1a | When you say "zeo host needs to be" you mean "change <zeo>address ..." correct? | 13:24 |
replaceafill | yes | 13:24 |
th1a | OK... | 13:25 |
th1a | This is only going to work if you just tell me which lines in which files need to be changed. | 13:25 |
th1a | Without describing them using different words. | 13:25 |
th1a | I don't need to know why anything is happening or what it means. | 13:26 |
replaceafill | i started writing it, but i can't explain it | 13:26 |
replaceafill | it's that complicated :( | 13:26 |
th1a | Well... | 13:27 |
th1a | can you send me the diffs maybe | 13:27 |
replaceafill | ah | 13:27 |
replaceafill | i'll send you my instances configurations | 13:28 |
replaceafill | i have three virtualbox vms | 13:28 |
replaceafill | 2 simulating schools | 13:28 |
replaceafill | and 1 simulating the warehouse | 13:28 |
replaceafill | let me zip them | 13:28 |
th1a | Oh... here's a bug. | 13:31 |
th1a | If you try to migrate an existing instance you get LocationError: (<schooltool.group.group.GroupContainer object at 0xb394522c>, 'substitute_teachers') when you try to open School. | 13:32 |
replaceafill | well | 13:33 |
replaceafill | you won't have a few things | 13:33 |
replaceafill | demographics | 13:33 |
replaceafill | peas-manager | 13:33 |
replaceafill | i think demographics is on a startup | 13:33 |
th1a | OK, so basically we need to say you currently have to start fresh. | 13:33 |
replaceafill | so you may get it | 13:33 |
replaceafill | i thought that was the idea | 13:33 |
th1a | Well, not in the long run. | 13:34 |
replaceafill | we'd need evolution | 13:34 |
th1a | It should work for them in practice, but they need to be warned when they test it. | 13:34 |
th1a | It is fine. | 13:34 |
replaceafill | ok th1a | 13:37 |
replaceafill | configs sent | 13:37 |
replaceafill | three directories in the file | 13:37 |
replaceafill | "standard" and "abc" | 13:37 |
replaceafill | are the schools | 13:37 |
replaceafill | so, they use _zrs_primary.conf files | 13:38 |
replaceafill | warehouse has the _zrs_secondary.conf equivalent | 13:38 |
replaceafill | also, the two directories in warehouse have _local.conf files, used by the dashboard | 13:38 |
th1a | replaceafill: Please, you need to be explicit. | 13:38 |
th1a | You can't leave off the beginning of the filename before _ | 13:39 |
replaceafill | ah sorry | 13:39 |
th1a | I know you're tired... | 13:39 |
replaceafill | it's because we have two of them | 13:39 |
replaceafill | so i really mean, zeo_local.conf AND schooltool_local.conf | 13:39 |
th1a | Well, that helps to know! | 13:40 |
replaceafill | and we have zeo_zrs_primary.conf AND schooltool_zrs_primary.conf (used by the schools) | 13:40 |
replaceafill | see that's so complicated... | 13:40 |
replaceafill | i wish i (we) had the power to set up this stuff on install... | 13:41 |
replaceafill | but anyway | 13:41 |
th1a | Look... | 13:41 |
th1a | Let's stop for a second. | 13:41 |
th1a | Is what we are talking about adding a few IP addresses in a bunch of places? | 13:41 |
replaceafill | yeah, basically | 13:42 |
*** khildin has joined #schooltool | 13:42 | |
replaceafill | well, changing IP addresses | 13:42 |
replaceafill | instead of adding | 13:42 |
th1a | Right. | 13:42 |
th1a | Can't we just add inline comments to the configuration files that they can search for and follow. | 13:42 |
replaceafill | if you can write the comments, i'll add them | 13:43 |
th1a | <-- ARK: add the central server IP below --> | 13:43 |
th1a | Then they can just open the files we say and search for ARK? | 13:43 |
th1a | Or can we just script it? | 13:44 |
th1a | Edit the variables at the beginning of this python script and runit? | 13:44 |
replaceafill | afaik there are services to do that | 13:45 |
replaceafill | i mean, system services | 13:45 |
replaceafill | but we don't even use that for the default admin password yet | 13:45 |
replaceafill | comments would be easier imho | 13:45 |
th1a | ok | 13:45 |
th1a | I'm leaning toward telling you to go to bed. | 13:46 |
replaceafill | also the dashboard will need at least two files | 13:47 |
th1a | Assuming you're ready to fall over, I don't think we should do this now. | 13:48 |
replaceafill | yeah, i can use some sleep | 13:48 |
th1a | OK. Go to bed. | 13:49 |
th1a | I think we'll still get paid. | 13:49 |
th1a | OK, so the dashboard code is in Launchpad? | 13:49 |
replaceafill | yes | 13:50 |
replaceafill | lp:~replaceafill/+junk/dashboard | 13:50 |
th1a | And the rough report is or isn't? | 13:50 |
replaceafill | no | 13:50 |
replaceafill | i have to add that | 13:50 |
th1a | Can you punch that in? | 13:50 |
replaceafill | ok, give me a moment | 13:50 |
th1a | Also where does the ark book upload to so I can point them to it? | 13:51 |
replaceafill | ark-book.schooltool.org | 13:53 |
th1a | OK. | 13:53 |
*** menesis has joined #schooltool | 14:00 | |
replaceafill | th1a, i had thought of listing the Students group | 14:01 |
replaceafill | or do you want just People? | 14:02 |
th1a | I was thinking students. | 14:02 |
th1a | Either would work. | 14:02 |
replaceafill | kk | 14:02 |
replaceafill | i list people | 14:02 |
th1a | Do you want to work with me on the config docs tonight or Sunday? | 14:05 |
th1a | Or Monday. | 14:05 |
th1a | replaceafill? | 14:12 |
replaceafill | assuming we keep the 2 million files, i can try writing something today | 14:12 |
replaceafill | maybe after some sleep it'll be easier | 14:13 |
th1a | Keep the two million files? | 14:13 |
replaceafill | lame joke | 14:13 |
th1a | You mean mainly use in-line comments? | 14:13 |
replaceafill | let me finish the report first | 14:14 |
th1a | OK. | 14:14 |
replaceafill | unless you have to leave? | 14:14 |
th1a | No. | 14:15 |
th1a | I have to go for a while in two hours. | 14:15 |
replaceafill | ok | 14:15 |
th1a | So I'll be sending everything off then. | 14:15 |
*** khildin has quit IRC | 15:05 | |
th1a | What are you doing, replaceafill? | 15:06 |
replaceafill | i have the basic report | 15:06 |
replaceafill | i'm styling it | 15:06 |
th1a | OK. | 15:07 |
th1a | replaceafill: You should go to bed soon... | 15:34 |
replaceafill | dont worry th1a, this is entertaining :) | 15:35 |
replaceafill | i mean, using ST stuff in bottle | 15:35 |
th1a | I'm about ready to upload the docs. | 15:35 |
replaceafill | if they ask for more mult-school reports | 15:35 |
replaceafill | this will help | 15:35 |
replaceafill | ok | 15:36 |
replaceafill | i'm almost done | 15:36 |
th1a | replaceafill: http://ark-book.schooltool.org/ark-toc.html | 15:42 |
replaceafill | looks great th1a | 15:44 |
th1a | Realistically, when do you want to do the server docs? | 15:47 |
replaceafill | ok | 15:47 |
replaceafill | let's say monday | 15:47 |
th1a | What about Sunday? | 15:47 |
replaceafill | ah sure | 15:47 |
replaceafill | that works | 15:47 |
replaceafill | your evening? | 15:47 |
th1a | I mean, Monday is kind of bad because you're 8 hours behind. | 15:47 |
th1a | So it is really Tuesday otherwise. | 15:48 |
replaceafill | sure | 15:48 |
th1a | Yes, Sunday evening. | 15:48 |
th1a | Regular meeting time? | 15:48 |
replaceafill | sure | 15:48 |
replaceafill | any time is good for me | 15:48 |
th1a | Regular evening meeting time (8:00 for me). | 15:49 |
th1a | Have you uploaded your dashboard changes? | 15:49 |
replaceafill | not yet | 15:50 |
th1a | OK, I'm going to start on my email. | 15:50 |
replaceafill | th1a, just sent you the sample report | 15:57 |
replaceafill | it's the closest i can get for the moment :( | 15:57 |
replaceafill | i mean, layout style | 15:57 |
replaceafill | oops | 15:57 |
replaceafill | teacher absences by day :D | 15:57 |
th1a | That's fine. | 15:58 |
th1a | ? | 15:58 |
replaceafill | top bar | 15:58 |
replaceafill | i forgot to change that title | 15:58 |
th1a | Oop. | 15:58 |
replaceafill | a better title for the report th1a ? | 16:00 |
th1a | Just People by school is probably better. | 16:02 |
th1a | OK, I'm going to need to go see Vivian in a school assembly, replaceafill. | 16:07 |
replaceafill | ok, dashboard changes are up | 16:08 |
th1a | OK replaceafill, great work. | 16:09 |
th1a | I'm happy. | 16:09 |
th1a | Are you happy? | 16:09 |
replaceafill | i'm sleepy ;) | 16:09 |
replaceafill | and satisfied | 16:10 |
th1a | OK, email sent. | 16:10 |
replaceafill | cool | 16:10 |
replaceafill | so i'll see you sunday th1a | 16:10 |
replaceafill | wow, milestone | 16:11 |
replaceafill | strong word :D | 16:11 |
* replaceafill is happy with th1a's email | 16:12 | |
th1a | Heh. | 16:14 |
th1a | Well, I'm happy with everything else. | 16:14 |
th1a | OK, I have to go to this assembly now. | 16:14 |
replaceafill | ok | 16:14 |
replaceafill | see u th1a | 16:14 |
th1a | Thanks again replaceafill! | 16:14 |
* replaceafill goes to sleep | 16:14 | |
*** replaceafill has quit IRC | 16:14 | |
*** yvl has quit IRC | 16:20 | |
*** replaceafill has joined #schooltool | 22:18 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!