*** ccarey has joined #schooltool | 00:06 | |
ccarey | hi ignas | 00:07 |
---|---|---|
ignas | hi | 00:07 |
ignas | sorry that I missed wednesday meeting | 00:07 |
ignas | has a very hectic week :( | 00:07 |
ccarey | that's alright | 00:08 |
ignas | so - did you manage to get commit access for cando ? | 00:08 |
ccarey | i got a password from jinty, but i still can't commit the cando buildout | 00:08 |
ccarey | still not authorized | 00:09 |
ignas | hmm, strange | 00:09 |
ccarey | i mean, he said i should have write access now | 00:09 |
ignas | could you svn add the files that i have mentioned and send me the patch then? | 00:09 |
ignas | i'd like to have the working changes commited before continuing the work | 00:09 |
ccarey | ok | 00:09 |
ccarey | i svn added the files | 00:10 |
ccarey | how should i send the patch? | 00:10 |
ignas | svn diff > some-file | 00:10 |
ignas | and attach that file to an email | 00:10 |
ccarey | ok | 00:10 |
ccarey | i'll go ahead and do that now | 00:10 |
ccarey | alright it's sent | 00:15 |
ignas | got it | 00:16 |
ignas | let me run the tests ;) | 00:19 |
ccarey | ok | 00:19 |
ignas | hmm, try svn revert -r on your changes | 00:27 |
ignas | remove the files that you have added | 00:27 |
ignas | and svn up | 00:27 |
ccarey | alright | 00:27 |
ignas | svn isn't too good at detecting conflicts in added files | 00:28 |
ccarey | tests pass | 00:31 |
ignas | cool | 00:32 |
ignas | now let me remove the bin directory | 00:32 |
ignas | to do that (just so you'd know) | 00:32 |
ignas | it's an svn externals directory | 00:32 |
ignas | so you do svn proplist | 00:32 |
ignas | get a list of properties on "." | 00:33 |
ignas | svn propget svn:externals | 00:33 |
ignas | gives you the value of the externals property | 00:33 |
ignas | then you: svn pdel svn:externals | 00:33 |
ignas | and commit the thing | 00:33 |
ignas | which should remove the bin directory from svn externals | 00:34 |
ignas | try svn up | 00:35 |
ccarey | i see the change | 00:35 |
ignas | now "rm -rf bin" | 00:36 |
ignas | and "make bootstrap" | 00:36 |
ignas | and then "make buildout" | 00:36 |
ignas | and now we'll add a "make run" part | 00:38 |
ccarey | ok | 00:38 |
ignas | run bin/make-schooltool-instance | 00:38 |
ignas | or rather bin/make-schooltool-instance instance | 00:39 |
ignas | hmm | 00:39 |
ignas | it's still using cando make-instance script | 00:39 |
ignas | rm -rf instance | 00:40 |
ignas | and open setup.py | 00:40 |
ignas | in there you will see registrations of entry points | 00:40 |
ignas | remove the entry point that registers make-instance and start-instance scripts | 00:40 |
ignas | and the app factory entry point | 00:40 |
ignas | and the template ;) | 00:40 |
ignas | and add" | 00:41 |
ignas | [schooltool.instance_type] | 00:41 |
ignas | cando2007 = cando.cando2007 | 00:41 |
ignas | and run bin/buildout | 00:42 |
ccarey | ok i did that | 00:43 |
ignas | hmm, now the make-schooltool-instance script should be gone :/ | 00:44 |
ignas | you should edit the [scripts] section and add schooltool in there | 00:44 |
ignas | and run bin/buildout again | 00:44 |
ccarey | what do you mean? | 00:46 |
ignas | in buildout.cfg | 00:46 |
ignas | there is a section [scripts] | 00:47 |
ccarey | oh ok | 00:47 |
ccarey | so the scripts were generated | 00:48 |
ignas | good | 00:49 |
ignas | now bin/make-schooltool-instance instance -t cando.cando2007 | 00:49 |
ignas | bin/start-schooltool-instance instance | 00:49 |
ignas | and check it out ;) | 00:50 |
ccarey | LookupError: Template by name 'cando.cando2007' not found | 00:50 |
ccarey | should i paste the whole message? | 00:50 |
ignas | hmm | 00:50 |
ignas | try not passing -t cando.cando2007 | 00:51 |
ignas | and see the list of available templates | 00:51 |
ccarey | cando.cando2007 is listed | 00:52 |
ignas | maybe -t wants the shord id | 00:52 |
ignas | try "-t cando2007" | 00:52 |
ccarey | cando2007? | 00:52 |
ccarey | yeah | 00:52 |
ignas | yes | 00:52 |
ccarey | it didn't take that either... | 00:53 |
ignas | interesting | 00:53 |
ignas | oh | 00:54 |
ignas | lame me | 00:54 |
ignas | bin/make-schooltool-instance instance_type=cando.cando2007 | 00:55 |
ignas | well and "instance" as the first argument | 00:55 |
ignas | (the directory to create instance in) | 00:55 |
ccarey | there we go | 00:56 |
ignas | did it start up? ;) | 00:56 |
ccarey | yes | 00:58 |
ignas | is it CanDo ? | 00:58 |
ccarey | you mean with the CanDo skin? | 00:58 |
ignas | i mean - if you did "make run" in the old can do | 00:59 |
ignas | would you see the same thing | 00:59 |
ccarey | oh | 00:59 |
ccarey | yeah | 00:59 |
ignas | http://codebrowse.launchpad.net/~ignas/schooltool/lyceum-buildout/annotate/ignas%40pov.lt-20080116145348-0z4hh5tf8b7bttt5?file_id=makefile-20070830145752-cbswb7fo8rzjmuqe-1 | 01:00 |
ignas | is a Makefile | 01:00 |
ignas | that has both - the run | 01:00 |
ignas | and make-instance parts | 01:00 |
ignas | you might want to copy + modify them | 01:00 |
ignas | to suit cando | 01:00 |
ignas | and add them to the Makefile | 01:00 |
ccarey | should "build-schooltool-instance" change to "make-instance"? | 01:02 |
ccarey | or is it fine that way? | 01:02 |
ignas | you should change it i guess | 01:03 |
ccarey | then it would be make make-instance | 01:05 |
ignas | you won't run it anyway ;) | 01:06 |
ignas | it's a dependency for "make run" | 01:06 |
ccarey | i'm getting "missing separator" on the line | 01:10 |
ccarey | bin/start-schooltool-instance instance | 01:10 |
ccarey | in the Makefile | 01:10 |
ignas | tabs vs spaces? | 01:10 |
ignas | in makefile the space before bin/start ... should be "tab" | 01:11 |
ccarey | yeah that's it | 01:12 |
ccarey | alright, make run works | 01:12 |
ignas | rm -rf instance | 01:13 |
ignas | and make run then | 01:13 |
ccarey | ooh | 01:14 |
ccarey | OSError: File '/home/chris/cando-buildout-integration/instance/schooltool.ini' not found | 01:14 |
ccarey | i'll paste the whole thing | 01:14 |
ignas | emm no need to | 01:14 |
ignas | i think you forgot to make ".PHONY run" | 01:14 |
ignas | depend on make-instance | 01:15 |
ignas | look at the Makefile i have linked to | 01:15 |
ccarey | where is that in the linked Makefile? | 01:17 |
ignas | "run: build" | 01:18 |
ignas | adds dependency on build to the step run | 01:18 |
ignas | test -d instance || $(MAKE) build-schooltool-instance | 01:18 |
ignas | creates the instance during the build step | 01:18 |
ccarey | i see | 01:20 |
ccarey | got it running this time | 01:20 |
ignas | cool | 01:20 |
ignas | svn diff > some-patch | 01:21 |
ignas | and mail it to me | 01:21 |
ccarey | sent | 01:24 |
ignas | commited | 01:26 |
ignas | now - 2 things | 01:26 |
ignas | removing of all the unnecessary stuff from the top level directory | 01:26 |
ignas | and "find-links = http://ftp.schooltool.org/schooltool/releases/nightly/" | 01:26 |
ignas | in [cando-buildout-integration] | 01:27 |
ignas | and [scripts] | 01:27 |
ignas | blocks | 01:27 |
ignas | we need find-links to make buildbot pass | 01:28 |
ignas | oh and svn up | 01:31 |
ccarey | so the necessary top level files are | 01:31 |
ccarey | Makefile, buildout.cfg, bootstrap.py | 01:31 |
ccarey | setup.py | 01:32 |
ignas | README.txt | 01:32 |
ignas | INSTALL.txt | 01:32 |
ignas | GPL.txt | 01:32 |
ignas | the rest seems extra | 01:32 |
ccarey | right | 01:32 |
ignas | version.txt.in | 01:32 |
ignas | ins needed to | 01:32 |
ignas | and sleep ;) | 01:33 |
ignas | I need some sleep ;) | 01:33 |
ccarey | =) | 01:33 |
ccarey | ok | 01:33 |
ignas | so we'll continue next time | 01:33 |
ignas | try resolving svn issues | 01:34 |
ccarey | that's fine | 01:34 |
ignas | bye | 01:34 |
ccarey | bye ignas | 01:34 |
*** ignas has quit IRC | 01:34 | |
*** ccarey has quit IRC | 01:38 | |
*** didymo has joined #schooltool | 02:00 | |
*** pcardune_away has quit IRC | 03:50 | |
*** pcardune has joined #schooltool | 05:58 | |
*** th1a_ has quit IRC | 06:36 | |
*** pcardune has quit IRC | 07:13 | |
*** didymo has quit IRC | 12:14 | |
*** lisppaste5 has quit IRC | 14:40 | |
*** lisppaste5 has joined #schooltool | 14:54 | |
*** nitromaster101 has joined #schooltool | 17:43 | |
*** nitromaster101 is now known as nitromaster | 17:43 | |
*** pcardune has joined #schooltool | 18:26 | |
*** pcardune has quit IRC | 19:06 | |
*** pcardune has joined #schooltool | 21:56 | |
*** didymo has joined #schooltool | 23:23 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!