*** menesis has joined #schooltool | 00:59 | |
*** replaceafill has quit IRC | 01:59 | |
*** menesis has quit IRC | 03:44 | |
*** replaceafill has joined #schooltool | 05:19 | |
*** th1a has quit IRC | 05:22 | |
*** aks has joined #schooltool | 05:28 | |
*** aks has quit IRC | 05:28 | |
*** aks has joined #schooltool | 05:28 | |
*** replaceafill has quit IRC | 06:18 | |
*** replaceafill has joined #schooltool | 07:59 | |
*** aks has quit IRC | 08:41 | |
*** replaceafill has quit IRC | 09:02 | |
*** aks has joined #schooltool | 09:08 | |
*** yvl_ has joined #schooltool | 09:29 | |
*** yvl_ has quit IRC | 10:01 | |
*** menesis has joined #schooltool | 10:33 | |
*** alga has joined #schooltool | 12:19 | |
*** ignas has joined #schooltool | 13:44 | |
*** menesis has quit IRC | 14:17 | |
*** menesis has joined #schooltool | 15:05 | |
*** th1a has joined #schooltool | 15:18 | |
*** replaceafill has joined #schooltool | 16:13 | |
*** aks has quit IRC | 17:27 | |
*** jelkner has joined #schooltool | 17:46 | |
*** ignas has quit IRC | 18:04 | |
*** jelkner has quit IRC | 18:31 | |
th1a | replaceafill: Ah... I see. I guess the first time I tried to export a test case I hadn't actually selected one, or something. | 19:22 |
---|---|---|
th1a | Because it came out blank. | 19:23 |
th1a | Now this makes more sense. | 19:23 |
replaceafill | you selected python output? | 19:24 |
th1a | Yes. I think I hadn't actually clicked on a specific case the first time. | 19:24 |
th1a | Or something. | 19:24 |
replaceafill | ah | 19:24 |
replaceafill | so, you're converting the old selenium tests for the book to python code? | 19:25 |
th1a | Now that I can export them, yes. | 19:25 |
th1a | I think I'm just going to cut and paste into a bunch of functions. | 19:26 |
replaceafill | :) | 19:26 |
replaceafill | i went to the "document driven development" talk in pycon and ask the guy about my dream of merging ftests and user docs | 19:27 |
replaceafill | he told me "keep them separated" :( | 19:27 |
th1a | lol | 19:27 |
replaceafill | me: "but how do i keep them sync'ed" | 19:28 |
replaceafill | him: "make the commitment..." | 19:28 |
th1a | Probably correct. | 19:28 |
replaceafill | me: ¬¬ | 19:28 |
*** fsufitch has joined #schooltool | 20:50 | |
fsufitch | aelkner: ping! | 20:50 |
aelkner | hey fsufitch! | 20:51 |
aelkner | since you and david are physically together, why don't we start with a status check | 20:52 |
aelkner | does he have anything he wants to point out | 20:53 |
aelkner | oh, and tell him i'm available to sprint, but the when should be the start of your summer, right? | 20:53 |
fsufitch | yes | 20:54 |
aelkner | when's that? | 20:54 |
fsufitch | i talked to him already, he would like us to use today to figure out what progress i can make before the sprint | 20:54 |
fsufitch | 3rd weekend of may, iirc | 20:54 |
fsufitch | let me check for sure | 20:55 |
fsufitch | the weekend of the 27th of may | 20:55 |
fsufitch | wait no | 20:56 |
fsufitch | 20-22 | 20:56 |
fsufitch | as per dave's email | 20:56 |
fsufitch | yeah, that's it | 20:57 |
aelkner | so starting may 20, you will be 40 hrs/week? | 20:58 |
fsufitch | yes | 20:58 |
fsufitch | brb, moving location so losing internet | 20:59 |
*** fsufitch1 has joined #schooltool | 21:02 | |
fsufitch1 | aelkner: back | 21:02 |
*** fsufitch has quit IRC | 21:04 | |
*** fsufitch1 has left #schooltool | 21:04 | |
*** fsufitch1 has joined #schooltool | 21:04 | |
fsufitch1 | aelkner: can you read this? | 21:04 |
fsufitch1 | connectivity problems... | 21:04 |
aelkner | i can see that :) | 21:05 |
fsufitch1 | great :) | 21:05 |
fsufitch1 | okay so... we were talking about sprint and summer work times | 21:05 |
aelkner | yeah, so i can agree to come down may 20 | 21:06 |
aelkner | and until then there is stuff that we can do to get you started | 21:06 |
fsufitch1 | yes | 21:06 |
aelkner | it's important that we set you up with a branch of your own that you push to | 21:06 |
aelkner | i'll be able to monitor your progress by looking at your commits | 21:07 |
fsufitch1 | yup | 21:07 |
aelkner | also, it will generally be productive for you to send me an email when you make a commit | 21:07 |
aelkner | unless it's just a trivial change, of course | 21:08 |
aelkner | but if you send me an email saying, 'i commited changes to do X' | 21:08 |
fsufitch1 | alright | 21:08 |
aelkner | i can look and give you feedback in a timely way | 21:08 |
aelkner | to avoid that you go down any wrong paths and all | 21:08 |
fsufitch1 | sounds good | 21:08 |
aelkner | so you have the code in a sandbox, right? | 21:09 |
fsufitch1 | yes i do | 21:09 |
aelkner | you ran make and make run and everything works? | 21:09 |
aelkner | i know it doesn't do anything yet | 21:09 |
aelkner | but it's important to get the development environment set up | 21:09 |
fsufitch1 | oh i had already made some changes since last time i started working | 21:09 |
fsufitch1 | but yes the dev environment works | 21:10 |
aelkner | what kind of changes? | 21:10 |
*** menesis has quit IRC | 21:10 | |
fsufitch1 | i started writing schooltool.courseinfo.browser | 21:10 |
fsufitch1 | i... forget how extensive they were | 21:10 |
fsufitch1 | hang on | 21:10 |
aelkner | ok, so i want to make sure we remember to keep commits as small as possible | 21:11 |
aelkner | so if working on the browser means many steps | 21:11 |
aelkner | and it does | 21:11 |
aelkner | then do the simplest steps first and get them commited | 21:11 |
fsufitch1 | heh, this is already too many steps i have in this diff :) | 21:11 |
fsufitch1 | i think im just going to save the diff and revert | 21:12 |
fsufitch1 | just so i dont lose my work, but so i can start from a clean slate | 21:12 |
aelkner | ok, good idea | 21:12 |
aelkner | you can always extract code from the diff later | 21:12 |
aelkner | ok, another thing | 21:13 |
fsufitch1 | yup | 21:13 |
aelkner | i have a good example for you to follow for overall package design | 21:13 |
aelkner | i've been cleaning up schooltool.intervention in a big way lately | 21:14 |
aelkner | and it has many similarities to schooltool.courseinfo | 21:14 |
aelkner | it has it's own content that hangs off of application root in its own folder | 21:14 |
aelkner | and i've broken out the code into separate files and zcml to make it simpler to follow | 21:15 |
fsufitch1 | do you have a branch for me to look at? | 21:15 |
aelkner | you will be able to do the same with yours | 21:15 |
aelkner | yes | 21:15 |
aelkner | so create a new samdbox to keep it separate | 21:15 |
fsufitch1 | yup | 21:15 |
aelkner | and bzr branch lp:~aelkner/schooltool.intervention/test_coverage schooltool.intervention | 21:16 |
aelkner | cd schooltool.intervention | 21:16 |
aelkner | make | 21:16 |
aelkner | make run | 21:16 |
aelkner | get that going while we discuss other things | 21:16 |
fsufitch1 | ok | 21:16 |
fsufitch1 | er... | 21:17 |
fsufitch1 | fsufitch@callisto:~$ bzr branch lp:~aelkner/schooltool.intervention/test_coverage schooltool.intervention | 21:17 |
fsufitch1 | bzr: ERROR: Invalid http response for https://xmlrpc.launchpad.net/bazaar/: Bad status line received | 21:17 |
aelkner | could be a connectivity problem, i don't know | 21:17 |
aelkner | could you try again? | 21:18 |
fsufitch1 | keeps happening | 21:18 |
fsufitch1 | might be the restrictive network of arlington public schools | 21:18 |
aelkner | could you try bzr branch lp:schooltool.intervention (which is trunk) | 21:19 |
fsufitch1 | im checking it out to my webserver, then i'll pull it from there into my computer | 21:19 |
fsufitch1 | no, it's just lp:* that doesn't work | 21:20 |
fsufitch1 | i'm going to get it via my webserver via bzr+ssh | 21:20 |
aelkner | but it works on your webserver? | 21:20 |
fsufitch1 | yes | 21:20 |
fsufitch1 | it's the stupid network here :-/ | 21:20 |
aelkner | i'll say it's stupid :) | 21:20 |
aelkner | but schools have many needs to block content, so... | 21:21 |
aelkner | are you within earshot of jelkner? | 21:22 |
fsufitch1 | launchpad's bazaar branches are clearly a risk to the school system | 21:22 |
fsufitch1 | no, i am not | 21:22 |
aelkner | because you could ask him to try the same command and see if he can't help you | 21:23 |
aelkner | maybe he can push some buttons with people who administer the network | 21:23 |
fsufitch1 | one sec, i think i got this working | 21:23 |
aelkner | what did you do? | 21:23 |
fsufitch1 | via my webserver :) | 21:24 |
aelkner | stunnel? | 21:24 |
fsufitch1 | no, for some reason it's not tunneling stuff that my terminals do | 21:24 |
aelkner | ideally, you want an envoronment where you have the code locally | 21:25 |
fsufitch1 | i got it locally | 21:25 |
fsufitch1 | there is a copy of the branch residing in /home/fsufitch/schooltool.intervention on my webserver | 21:25 |
fsufitch1 | which i can access directly via my VPN | 21:25 |
fsufitch1 | via SSH | 21:25 |
aelkner | ok, sounds good | 21:26 |
aelkner | so you've branched it? | 21:26 |
aelkner | are you running make, make run | 21:26 |
fsufitch1 | it's still fetching the files | 21:26 |
aelkner | ok, another thing | 21:26 |
fsufitch1 | ok, make is running | 21:26 |
aelkner | in the meantime, what dd you branch to get schooltool.courseinfo | 21:27 |
aelkner | bzr info | 21:27 |
fsufitch1 | parent branch: http://bazaar.launchpad.net/~fsufitch/schooltool/schooltool.courseinfo | 21:27 |
fsufitch1 | hm. | 21:27 |
aelkner | ok, great, so i see you already have a branch that you pushed commits to | 21:31 |
aelkner | both are for make and build issues | 21:31 |
fsufitch1 | yes | 21:31 |
fsufitch1 | i made sure to commit whatever i did to make it work :) | 21:31 |
aelkner | one thing, you replaced a line that now says Niepa | 21:31 |
aelkner | http://bazaar.launchpad.net/~fsufitch/schooltool/schooltool.courseinfo/revision/8 | 21:32 |
aelkner | you should change that back to courseifo | 21:32 |
fsufitch1 | okay | 21:32 |
aelkner | but otherwise, yes, good work | 21:32 |
aelkner | always commit things that make things work :) | 21:32 |
aelkner | yeah, i remember you needed to change to the updated environment | 21:33 |
fsufitch1 | oh actually that says Niepa because i copied a different setup.py | 21:33 |
aelkner | yeah, i know | 21:33 |
aelkner | i can't believe it's almost a year since my sprint with Dave's brother | 21:33 |
aelkner | and my last commit | 21:33 |
fsufitch1 | time passes quickly | 21:34 |
aelkner | too quickly | 21:34 |
fsufitch1 | indeed | 21:35 |
aelkner | so there's two levels that you should operate on | 21:35 |
aelkner | the unit level and the functional level | 21:35 |
fsufitch1 | right | 21:35 |
fsufitch1 | you have much of the unit level already | 21:35 |
aelkner | so far, that is all we really did | 21:36 |
aelkner | i think it wouldn't be a bad idea to revisit it | 21:36 |
fsufitch1 | i have looked at it, and it looks fine | 21:36 |
aelkner | and looking at my new schooltool.intervetnion branch, you can see the separation the code has | 21:36 |
aelkner | it can help you get started with a better app design paradigm then i knew to do originally | 21:37 |
fsufitch1 | what i had started working on last time was an adapter to adapt ICourseInfoSchoolYear to ISchoolYear | 21:37 |
aelkner | for instance | 21:37 |
aelkner | the configure.zaml includes other zcml files that split out the concepts a bit | 21:37 |
aelkner | intervention.zcml corresponds to intervention.py | 21:38 |
aelkner | that's where all the content objects are defined | 21:38 |
aelkner | i split out the adapters into adapters.py and adapters.zcml | 21:38 |
aelkner | those, as you know, are important conceptually | 21:38 |
fsufitch1 | i see | 21:38 |
fsufitch1 | those sound like good ideas | 21:39 |
aelkner | the adapters allow you to go easily from one object to another using IThisInterface(that_object) | 21:39 |
fsufitch1 | yup | 21:39 |
aelkner | and you can see various types of adapters there | 21:39 |
aelkner | like the AppInit one that creates the root folder | 21:39 |
aelkner | the adapter that takes you from app to the root folder | 21:40 |
aelkner | you'll have CourseInfoSchooYear objects | 21:40 |
aelkner | you should adapt from IShoolYear to them | 21:40 |
fsufitch1 | shouldnt there be two adapters, for adapting to and from ISchoolYear to ICourseInfoSchoolYear? | 21:42 |
aelkner | yes, good idea | 21:43 |
aelkner | start with small commits | 21:43 |
aelkner | i'd make the change to create adapters.py/adapters.zcml | 21:43 |
aelkner | moving everything that already exists there | 21:44 |
aelkner | also create courseinfo.zcml and move context registration there | 21:44 |
aelkner | configure.zcml should get a lot smaller then | 21:44 |
aelkner | that would be a small enough commit | 21:44 |
fsufitch1 | ok | 21:44 |
aelkner | it won't mix reorg with adding new features | 21:44 |
fsufitch1 | anyway, so, before i get started actually editing code, we should get to the today's objective of sorts | 21:45 |
fsufitch1 | it being, jeff and dave want to know how much could get done before the sprint | 21:45 |
aelkner | it depends on how much time you have | 21:46 |
fsufitch1 | i have this 2-7 time on wednesdays, and maybe a bit of time on weekends | 21:47 |
aelkner | right, so at most 10 hrs/week | 21:47 |
aelkner | so four weeks is like what a month will bring in the summer, but a little less | 21:48 |
fsufitch1 | you mean what a week will bring in the summer | 21:49 |
fsufitch1 | this feels a bit futile... | 21:49 |
aelkner | right | 21:49 |
aelkner | i just realized that | 21:49 |
aelkner | what's futile? | 21:49 |
fsufitch1 | doing a week's worth of work in 4-5 weeks | 21:51 |
fsufitch1 | but hey, if it helps the sprint get started more easily, im all for it | 21:51 |
aelkner | definitely helps | 21:51 |
aelkner | getting you up and running with the environment | 21:51 |
aelkner | making small commits | 21:51 |
fsufitch1 | yup | 21:51 |
aelkner | it will definitely help us start faster at the sprint | 21:52 |
aelkner | also, i'm going to have you start organizing the package after schooltool.intervention | 21:52 |
aelkner | doin so over the next two onths will get you reading a lot of code | 21:52 |
fsufitch1 | that sounds good :) | 21:52 |
aelkner | and modeling the package to accept the code that you will write | 21:52 |
fsufitch1 | yup | 21:53 |
aelkner | you need to get used to how we write nit tests in more ways than just README.txt | 21:53 |
aelkner | i tend to think of README.txt as the place where the most basic things are sown | 21:54 |
aelkner | shown | 21:54 |
aelkner | context objects and some adapters can be proven there | 21:54 |
fsufitch1 | um, sidenote, 'make' failed on schooltool.intervention because of some problem when easy_install was installing mechanize | 21:54 |
aelkner | replaceafill just sent a note to the developer's list about that | 21:54 |
aelkner | btw, are you on the developer's list? | 21:55 |
fsufitch1 | let me check | 21:55 |
fsufitch1 | i should be | 21:55 |
aelkner | i don't think you are, but i definitely think you should be | 21:56 |
fsufitch1 | i'm part of schooltoolers | 21:56 |
fsufitch1 | is there another group i should be part of? | 21:57 |
replaceafill | fsufitch1, add: | 21:57 |
replaceafill | allow-hosts = | 21:57 |
replaceafill | *.python.org | 21:57 |
replaceafill | *.schooltool.org | 21:57 |
aelkner | schooltool-developers@lists.launchpad.ne | 21:57 |
replaceafill | to your [buildout] section in buildout.cfg | 21:57 |
fsufitch1 | ok | 21:57 |
aelkner | replaceafill, is that something that we are going to have to do for all packages? | 21:57 |
replaceafill | aelkner, yest to all of them! | 21:58 |
replaceafill | aelkner, kidding... | 21:58 |
aelkner | but fsufitch1 is having a problem building my branch | 21:58 |
aelkner | and your'e suggesting that he change buildout.cfg? | 21:58 |
aelkner | that would suggest that all our branches would need such a change, no? | 21:58 |
replaceafill | only if he wants to build his instance | 21:59 |
replaceafill | aelkner, nope | 21:59 |
replaceafill | aelkner, it's a problem with the sourceforge servers | 21:59 |
aelkner | so it's temporary? | 21:59 |
fsufitch1 | yeah, it was getting some weird Content-Length | 21:59 |
replaceafill | + setuptools | 21:59 |
replaceafill | the day one of the two gets fixed, we're good :) | 21:59 |
*** fsufitch1 is now known as fsufitch | 21:59 | |
fsufitch | aelkner: alright, 'make' worked, running 'make run' now | 22:01 |
fsufitch | aelkner: so i think an appropriate goal for my work until the sprint would be to restructure the code already in place, and to add basic web interface for adding/editing CourseInfo objects | 22:02 |
fsufitch | as in to make the frontend work on top of the backend that's there | 22:02 |
aelkner | all sounds good | 22:03 |
aelkner | you need to write up some small steps before you do studd | 22:04 |
aelkner | stuff | 22:04 |
aelkner | rather than just diving in and coding | 22:04 |
aelkner | in order to have small commits, you need a plan | 22:04 |
fsufitch | well first it's the code restructuring | 22:05 |
aelkner | right | 22:05 |
fsufitch | then some adapters? | 22:05 |
aelkner | right | 22:05 |
aelkner | even the restucturing can be broken up | 22:05 |
aelkner | if you move code and create zcml file, that's a small commit | 22:05 |
aelkner | if you create a tests directory and ove tests to it, that's one | 22:06 |
fsufitch | i see, so small commits for each zcml | 22:06 |
fsufitch | right | 22:06 |
aelkner | if you create ftests directory in the browser package and move tests to it, that's another one | 22:06 |
aelkner | just try to keep concepts in separate commits | 22:06 |
fsufitch | i dont think there are ftests yet | 22:06 |
aelkner | no browser/README.txt? | 22:07 |
fsufitch | yup | 22:07 |
fsufitch | oh yeah there is | 22:07 |
aelkner | remember to follow my branch as a guide | 22:07 |
fsufitch | there already is a browser/tests/ though, even though the README.txt isn't in it | 22:07 |
*** menesis has joined #schooltool | 22:07 | |
aelkner | but you get the idea with the small tasks/commits | 22:08 |
fsufitch | yup | 22:08 |
fsufitch | also i should avoid breaking the branch with commits, right? | 22:08 |
aelkner | right | 22:08 |
aelkner | small commits usually are safe commits | 22:08 |
fsufitch | yup | 22:09 |
aelkner | once in a while, very rarely, i break someting with a commit | 22:09 |
aelkner | for instance | 22:09 |
aelkner | when i refactored some attributes recently in my branch | 22:09 |
aelkner | i changed the unit level and made sure bin/test -u worked | 22:09 |
aelkner | and committed it even though bin/test -f still failed | 22:10 |
aelkner | it was a large enough set of changes that i felt it was better to break up the commit | 22:10 |
aelkner | but you won't need to do that very often | 22:10 |
aelkner | because you will be careful to make small changes to the model at a time | 22:11 |
fsufitch | yup | 22:11 |
aelkner | usually, you will be adding comething to the model that isn't used in browser yet | 22:11 |
aelkner | so you won't have that problem of breaking functional tests with model changes | 22:11 |
aelkner | you'll see, it will work out fine | 22:11 |
fsufitch | alright | 22:12 |
aelkner | so i'd say continue the reorg, getting to know the intervention branch for conepts | 22:12 |
aelkner | if you're curious about something in the intervention branch, put a pdb trace in it | 22:13 |
fsufitch | okay :) | 22:13 |
aelkner | also, you can add manager.serve() to functional tests to play around with the UI | 22:13 |
fsufitch | oh right, there's that option | 22:13 |
aelkner | i use manger for the browser instance in this case, of course, that varies | 22:14 |
fsufitch | im on the Schooltool Dev list now | 22:14 |
aelkner | great | 22:14 |
fsufitch | alright, so i've got longterm and shortterm plans, and the intervention code for inspiration | 22:14 |
fsufitch | anything else needing doing? | 22:15 |
aelkner | i think that should do it | 22:15 |
fsufitch | i'm itching to go get myself some food, i'm a bit ravenous :) | 22:15 |
aelkner | considering we only have you for 10 hrs, that should hold you until next week at this time | 22:15 |
fsufitch | yup | 22:15 |
aelkner | remember to email me once in a while when you push code | 22:15 |
fsufitch | okay | 22:16 |
aelkner | you don't have to after every commit, but form time to time | 22:16 |
aelkner | just to keep me in the loop | 22:16 |
fsufitch | yup | 22:16 |
fsufitch | sorry for sort of dropping out last time | 22:16 |
aelkner | i'm not sure what you mean, last time | 22:17 |
fsufitch | last time i started getting to work on schooltool.courseinfo | 22:17 |
fsufitch | i got carried away by pybookbuilder | 22:17 |
aelkner | that was my brother's fault, wasn't it? :) | 22:17 |
fsufitch | a bit :-P | 22:18 |
fsufitch | also web2py is more exciting than Zope | 22:18 |
aelkner | yeah, well | 22:18 |
aelkner | i can't argue with that, but the hard stuff is what pays :) | 22:18 |
fsufitch | true 'nuff | 22:19 |
fsufitch | anyway, i really need to go get food | 22:19 |
aelkner | go for it | 22:19 |
fsufitch | i'll be back in a bit | 22:19 |
aelkner | i think our work is done for today | 22:19 |
aelkner | you have lots to look at/reorg | 22:19 |
fsufitch | yup | 22:19 |
fsufitch | thanks! | 22:19 |
aelkner | np | 22:20 |
fsufitch | ttyl | 22:20 |
aelkner | cya | 22:20 |
Lumiere | hi fsufitch | 22:29 |
Lumiere | how goes? | 22:29 |
fsufitch | Lumiere: ohai | 23:09 |
fsufitch | was out getting food | 23:09 |
*** menesis has quit IRC | 23:11 | |
replaceafill | aelkner, zyt? | 23:27 |
aelkner | replaceafill, yes | 23:38 |
replaceafill | hey aelkner, quick question | 23:38 |
replaceafill | how difficult would it be to use the custom fields work you did on "random" objects | 23:39 |
replaceafill | like a school year for example | 23:39 |
replaceafill | as far as i understand, they work on person groups and resource types, correct? | 23:39 |
aelkner | so far, yes | 23:40 |
aelkner | expanding custom fields for all objects is on my table | 23:40 |
replaceafill | i could use it now :P | 23:41 |
aelkner | it depends on when th1a wants me to do it | 23:41 |
replaceafill | ok, i'll discuss it with yvl first | 23:41 |
aelkner | perhaps he will push it up hig on the list | 23:41 |
replaceafill | just wanted to know how difficult it would be | 23:41 |
aelkner | i would have to discuss it with yvl myself to determine that | 23:42 |
replaceafill | cool | 23:42 |
replaceafill | thanks | 23:42 |
aelkner | but i don't think it is too big a project | 23:43 |
aelkner | just depends on how yvl would want me to design it | 23:43 |
replaceafill | ok | 23:43 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!