/srv/irclogs.ubuntu.com/2011/06/16/#ubuntu-website.txt

=== yaili_ is now known as yaili
czajkowskiyay adding CC to a bug gets me my theme sorted for the LC blog!16:03
cjohnstonso i need to add the cc to get the naming convention done16:05
czajkowskino the naming has nothing to do with them16:09
czajkowskiit's being changed under a policy16:09
cjohnstonthe theme had nothing to do with them16:09
czajkowskithere are 2 distinctions cjohnston 1) the pretty name on the LD and 2) in general16:10
nigelbNot pretty.16:10
nigelbIEasy to find names.16:10
nigelbThis was based on proper feedback at UDS.16:10
cjohnstonin general the list looks like crap.. so its general.. so the cc can handle it16:11
czajkowskiyeah adn we're working on it16:11
czajkowskicjohnston: what is your problem, we're getting teams to change it16:11
czajkowskisorry it's not happening over night16:11
czajkowskibut you're kinda getting bogged down on one area we look after16:11
nigelbthat's the one area we want help :)16:12
czajkowskiwell we;re helping and all I'm getting is grief16:12
YoBoYcan't we try a country list instead of a team names list? easier to find the right team that way, every one is used to country lists in the commercial websites to find the right localised site.16:39
nigelbmars: ping. Do you have a few free minutes today or would you prefer tomorrow?16:49
marsnigelb, I have a few minutes now.  What's up?16:49
nigelbmars: I was planning on setting up tests slowly for summit.16:50
nigelbDo I use the unittest module or nose, which one would you suggest?16:50
marsnigelb, for the code?16:51
marsnigelb, or as a testrunner?16:51
nigelbmars: okay, I don't know what's the difference between the two :)16:52
marsnigelb, nose is most often used as a testrunner on the command line.  But since this is a Django project, you will probably want to use the 'manage.py test' command16:54
marsnigelb, here is how I run the tests:16:55
marspython summit/manage.py test summit.schedule16:55
nigelbah16:55
nigelbI was a bit confused where to star16:56
nigelb*start16:56
marsnigelb, here, let me push my changes, you can try them out.  The commands are simple.16:56
marsnigelb, do you use ubuntu for your dev work?16:56
nigelbmars: yeah, lucid16:57
marsok16:57
nigelbheh, I use ubuntu for everything I guess ;)16:57
marsnigelb, take a look at this branch, it is my changes and tests: https://code.launchpad.net/~mars/summit/reschedule-command-tests17:07
nigelbmars: looking, thanks :-)17:08
marsnigelb, I use virtualenv for the development work and 'python summit/manage.py test summit.schedule' to run the suite17:08
nigelbmars: okay, I'll test this out right away17:08
marsnigelb, you will need to install 'model-mommy' (check the requirements.txt) to run the tests.  Saves a bunch of boilerplate test code - very nice.17:09
nigelboooh!17:10
marsnigelb, I need to go to lunch now.  I should be back in an hour or so. I can talk more then17:10
nigelbmars: Cool, I'll play with this in the meantime :)17:10
nigelbzomg17:25
nigelbWe have factory.17:25
nigelbThis is so comfortable.17:26
nigelbIts like workign with launchpad code17:26
nigelbmars: I love it. It reminds me of writing tests for launchpad code.17:38
marsnigelb, cool, I'm glad you like it18:36
nigelbmars: This is painful for the first time, but I think it gives lots of changes, like setting up jenkins.18:37
nigelb*chances18:38
=== daker is now known as daker_
marsnigelb, what did you find painful about it?18:39
nigelbmars: making sure at least 60% code has coverage bit :)18:39
nigelbI'll probably be writing tests for the next few weeks :)18:40
marsnigelb, that is a good goal18:44
marsI started with trying to write a test for the new reschedule command functionality18:45
marsthe bug was that meetings were rescheduled for past days.  I figured a good test was to write a test for the bugfix18:45
nigelb:)18:46
nigelbwill all our tests be in this one file now?18:46
nigelbis it wise to create a tests folder as a module?18:46
marsnigelb, probably not.  Once the file hits 1000-2000 lines you will probably want to make it into a package.18:46
nigelb:)18:47
marsnigelb, did you get the tests to run successfully?  Or get a virtualenv set up?18:48
nigelbmars: yes and yes :)18:49
marscool18:49
marsnigelb, I can submit a merge proposal for this branch if you would like.  I don't think it has any impact on the production code.18:54
nigelbmars: please do :)18:55
nigelbmars: I saw a conflict when I tried to merge. Could you rebase to make sure your branch is clean?19:01
nigelbideally, I just want to use tarmac :)19:01
marsnigelb, sure, I'll update from trunk before submitting19:02
nigelb\o/19:02
dakermhall119, cjohnston nigelb Ronnie can we merge this https://code.launchpad.net/~daker/loco-directory/fix.708995/+merge/63308 ?22:57
cjohnstonnigelb: I know your not asleep.. now that I added a commit message will https://code.launchpad.net/~daker/loco-directory/fix.708995/+merge/63308 work?23:04
dakercjohnston, yes just added a commit message + status to Approved23:06
cjohnstondaker: hopefully it will work now then23:06

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