IRC log of #schooltool for Saturday, 2008-02-09

*** ccarey has joined #schooltool00:06
ccareyhi ignas00:07
ignashi00:07
ignassorry that I missed wednesday meeting00:07
ignashas a very hectic week :(00:07
ccareythat's alright00:08
ignasso - did you manage to get commit access for cando ?00:08
ccareyi got a password from jinty, but i still can't commit the cando buildout00:08
ccareystill not authorized00:09
ignashmm, strange00:09
ccareyi mean, he said i should have write access now00:09
ignascould you svn add the files that i have mentioned and send me the patch then?00:09
ignasi'd like to have the working changes commited before continuing the work00:09
ccareyok00:09
ccareyi svn added the files00:10
ccareyhow should i send the patch?00:10
ignassvn diff > some-file00:10
ignasand attach that file to an email00:10
ccareyok00:10
ccareyi'll go ahead and do that now00:10
ccareyalright it's sent00:15
ignasgot it00:16
ignaslet me run the tests ;)00:19
ccareyok00:19
ignashmm, try svn revert -r on your changes00:27
ignasremove the files that you have added00:27
ignasand svn up00:27
ccareyalright00:27
ignassvn isn't too good at detecting conflicts in added files00:28
ccareytests pass00:31
ignascool00:32
ignasnow let me remove the bin directory00:32
ignasto do that (just so you'd know)00:32
ignasit's an svn externals directory00:32
ignasso you do svn proplist00:32
ignasget a list of properties on "."00:33
ignassvn propget svn:externals00:33
ignasgives you the value of the externals property00:33
ignasthen you: svn pdel svn:externals00:33
ignasand commit the thing00:33
ignaswhich should remove the bin directory from svn externals00:34
ignastry svn up00:35
ccareyi see the change00:35
ignasnow "rm -rf bin"00:36
ignasand "make bootstrap"00:36
ignasand then "make buildout"00:36
ignasand now we'll add a "make run" part00:38
ccareyok00:38
ignasrun bin/make-schooltool-instance00:38
ignasor rather bin/make-schooltool-instance instance00:39
ignashmm00:39
ignasit's still using cando make-instance script00:39
ignasrm -rf instance00:40
ignasand open setup.py00:40
ignasin there you will see registrations of entry points00:40
ignasremove the entry point that registers make-instance and start-instance scripts00:40
ignasand the app factory entry point00:40
ignasand the template ;)00:40
ignasand add"00:41
ignas[schooltool.instance_type]00:41
ignascando2007 = cando.cando200700:41
ignasand run bin/buildout00:42
ccareyok i did that00:43
ignashmm, now the make-schooltool-instance script should be gone :/00:44
ignasyou should edit the [scripts] section and add schooltool in there00:44
ignasand run bin/buildout again00:44
ccareywhat do you mean?00:46
ignasin buildout.cfg00:46
ignasthere is a section [scripts]00:47
ccareyoh ok00:47
ccareyso the scripts were generated00:48
ignasgood00:49
ignasnow bin/make-schooltool-instance instance -t cando.cando200700:49
ignasbin/start-schooltool-instance instance00:49
ignasand check it out ;)00:50
ccareyLookupError: Template by name 'cando.cando2007' not found00:50
ccareyshould i paste the whole message?00:50
ignashmm00:50
ignastry not passing -t cando.cando200700:51
ignasand see the list of available templates00:51
ccareycando.cando2007 is listed00:52
ignasmaybe -t wants the shord id00:52
ignastry "-t cando2007"00:52
ccareycando2007?00:52
ccareyyeah00:52
ignasyes00:52
ccareyit didn't take that either...00:53
ignasinteresting00:53
ignasoh00:54
ignaslame me00:54
ignasbin/make-schooltool-instance instance_type=cando.cando200700:55
ignaswell and "instance" as the first argument00:55
ignas(the directory to create instance in)00:55
ccareythere we go00:56
ignasdid it start up? ;)00:56
ccareyyes00:58
ignasis it CanDo ?00:58
ccareyyou mean with the CanDo skin?00:58
ignasi mean - if you did "make run" in the old can do00:59
ignaswould you see the same thing00:59
ccareyoh00:59
ccareyyeah00:59
ignashttp://codebrowse.launchpad.net/~ignas/schooltool/lyceum-buildout/annotate/ignas%40pov.lt-20080116145348-0z4hh5tf8b7bttt5?file_id=makefile-20070830145752-cbswb7fo8rzjmuqe-101:00
ignasis a Makefile01:00
ignasthat has both - the run01:00
ignasand make-instance parts01:00
ignasyou might want to copy + modify them01:00
ignasto suit cando01:00
ignasand add them to the Makefile01:00
ccareyshould "build-schooltool-instance" change to "make-instance"?01:02
ccareyor is it fine that way?01:02
ignasyou should change it i guess01:03
ccareythen it would be make make-instance01:05
ignasyou won't run it anyway ;)01:06
ignasit's a dependency for "make run"01:06
ccareyi'm getting "missing separator" on the line01:10
ccarey    bin/start-schooltool-instance instance01:10
ccareyin the Makefile01:10
ignastabs vs spaces?01:10
ignasin makefile the space before bin/start ... should be "tab"01:11
ccareyyeah that's it01:12
ccareyalright, make run works01:12
ignasrm -rf instance01:13
ignasand make run then01:13
ccareyooh01:14
ccareyOSError: File '/home/chris/cando-buildout-integration/instance/schooltool.ini' not found01:14
ccareyi'll paste the whole thing01:14
ignasemm no need to01:14
ignasi think you forgot to make ".PHONY run"01:14
ignasdepend on make-instance01:15
ignaslook at the Makefile i have linked to01:15
ccareywhere is that in the linked Makefile?01:17
ignas"run: build"01:18
ignasadds dependency on build to the step run01:18
ignas        test -d instance || $(MAKE) build-schooltool-instance01:18
ignascreates the instance during the build step01:18
ccareyi see01:20
ccareygot it running this time01:20
ignascool01:20
ignassvn diff > some-patch01:21
ignasand mail it to me01:21
ccareysent01:24
ignascommited01:26
ignasnow - 2 things01:26
ignasremoving of all the unnecessary stuff from the top level directory01:26
ignasand "find-links = http://ftp.schooltool.org/schooltool/releases/nightly/"01:26
ignasin [cando-buildout-integration]01:27
ignasand [scripts]01:27
ignasblocks01:27
ignaswe need find-links to make buildbot pass01:28
ignasoh and svn up01:31
ccareyso the necessary top level files are01:31
ccareyMakefile, buildout.cfg, bootstrap.py01:31
ccareysetup.py01:32
ignasREADME.txt01:32
ignasINSTALL.txt01:32
ignasGPL.txt01:32
ignasthe rest seems extra01:32
ccareyright01:32
ignasversion.txt.in01:32
ignasins needed to01:32
ignasand sleep ;)01:33
ignasI need some sleep ;)01:33
ccarey=)01:33
ccareyok01:33
ignasso we'll continue next time01:33
ignastry resolving svn issues01:34
ccareythat's fine01:34
ignasbye01:34
ccareybye ignas01:34
*** ignas has quit IRC01:34
*** ccarey has quit IRC01:38
*** didymo has joined #schooltool02:00
*** pcardune_away has quit IRC03:50
*** pcardune has joined #schooltool05:58
*** th1a_ has quit IRC06:36
*** pcardune has quit IRC07:13
*** didymo has quit IRC12:14
*** lisppaste5 has quit IRC14:40
*** lisppaste5 has joined #schooltool14:54
*** nitromaster101 has joined #schooltool17:43
*** nitromaster101 is now known as nitromaster17:43
*** pcardune has joined #schooltool18:26
*** pcardune has quit IRC19:06
*** pcardune has joined #schooltool21:56
*** didymo has joined #schooltool23:23

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!