=== daker_ is now known as daker | ||
daker | woo localized URLs https://docs.djangoproject.com/en/dev/topics/i18n/internationalization/#specifying-translation-strings-in-url-patterns | 12:11 |
---|---|---|
mhall119 | oh thank God for launchpad | 15:42 |
mhall119 | I accidentally deleted my loco-feeds branch | 15:43 |
mhall119 | but at least I had it pushed up to LP | 15:43 |
cjohnston | mhall119: ping | 15:58 |
nigelb | mhall119: heh | 16:03 |
mhall119 | cjohnston: pong | 16:15 |
cjohnston | if I get LD ready, can you release it? | 16:16 |
nigelb | cjohnston: How're you finding tarmac so far? | 16:16 |
cjohnston | only thing ive done is fixed the one that was approved | 16:17 |
cjohnston | i like the theory tho | 16:17 |
nigelb | \o/ | 16:17 |
mhall119 | cjohnston: no, I don't have access to LD's directory on cranberry | 16:17 |
mhall119 | you'll still have to file an RT | 16:17 |
mhall119 | nigelb: I like it | 16:18 |
cjohnston | ok | 16:18 |
cjohnston | anything against preparing a release today? | 16:18 |
mhall119 | I'm working on implementing meetings in localtime | 16:19 |
mhall119 | if you want to wait for that | 16:19 |
nigelb | mhall119: I know you already do :-) | 16:20 |
cjohnston | mhall119: how are you doing it? Are we just going to allow picking the default time for the team and the meeting time matches that? | 16:20 |
cjohnston | seems easiest to me | 16:21 |
mhall119 | yes | 16:21 |
cjohnston | cool | 16:21 |
nigelb | okay, time to fix those summit merges | 16:21 |
cjohnston | think you will be done with it today? | 16:21 |
cjohnston | fix summit merges? | 16:21 |
nigelb | yes | 16:23 |
cjohnston | what broke? | 16:23 |
nigelb | cjohnston: I hadn't addressed comments in a few of them | 16:38 |
nigelb | mhall119: Does this merge look alright to you? https://code.launchpad.net/~nigelbabu/summit/777171-percentage-problem/+merge/63247 | 16:38 |
nigelb | cjohnston: you too ^^ | 16:40 |
mhall119 | nigelb: I already commented on it | 16:43 |
mhall119 | needs fixing | 16:43 |
nigelb | Ohhh | 16:43 |
nigelb | right. | 16:43 |
* nigelb needs his eyesight checked | 16:43 | |
nigelb | I didn't understand what you meant till now :) | 16:43 |
nigelb | mhall119: with regard to the last refresh time | 16:46 |
nigelb | 2) We should probably display localtime for in-person participants and UTC for remote participants. | 16:46 |
nigelb | I disagree with this one | 16:47 |
nigelb | when I participated remotely, I liked having everything local since everyone at UDS and on summit was running in summit local | 16:47 |
nigelb | Also, updated merge | 16:50 |
nigelb | https://code.launchpad.net/~nigelbabu/summit/777171-percentage-problem/+merge/63247 | 16:50 |
mhall119 | cjohnston: I could be done with this today | 17:39 |
cjohnston | sweet | 17:45 |
cjohnston | o/ | 17:46 |
doctormo | \o | 17:46 |
cjohnston | where does the code suggest that it sorts the venues by teams | 17:47 |
doctormo | Hang on, hang on! | 17:47 |
doctormo | I deleted all my branches, redownloading :-) | 17:47 |
cjohnston | was just asking again in here since we moved | 17:47 |
cjohnston | for logs | 17:47 |
mhall119 | doctormo: do you perhaps mean the grouped_options_list? | 17:48 |
doctormo | loco_directory/events/forms.py: def grouped_options_list() | 17:48 |
doctormo | "Show the venues which belong the the 'current team' first. then show the other countries" | 17:49 |
cjohnston | my thought would be that if you are in the UK, it would show UK first | 17:49 |
cjohnston | but im not sure... maybe mhall119 has more info | 17:50 |
mhall119 | doctormo: that just groups venues by country | 17:50 |
mhall119 | it doesn't check the venue's teams' countries | 17:50 |
doctormo | I have an IDEA! | 17:50 |
doctormo | team -> events -> venue list :: previous used venues! | 17:51 |
mhall119 | it's possible, but that's a lot of SQL joins | 17:51 |
mhall119 | we'd have to see how it performs | 17:51 |
cjohnston | eww.. nigelb when are you going to start working on caching LD | 17:52 |
nigelb | cjohnston: for now I'm workign on abandoned projects. | 17:53 |
nigelb | ;-) | 17:53 |
cjohnston | what? | 17:53 |
mhall119 | summit | 17:53 |
doctormo | So do you want me to write the code and see how it goes? | 17:53 |
mhall119 | that would be awesome, doctormo | 17:54 |
nigelb | cjohnston: LD already has 4 people and more new people. mhall119 and I had a chat about this, so we decided its better I stick with summit so that slow and steady works goes into it. | 17:54 |
cjohnston | lol | 17:55 |
cjohnston | I want to get a release done, and then just work on what i feel like working on at the time | 17:55 |
nigelb | cjohnston: If we all make it to next UDS, we should have a hackathon for we bprojects | 18:00 |
cjohnston | +1 james_w you too | 18:01 |
nigelb | But mhall119 might hate being locked in a room again :P | 18:02 |
nigelb | I'm sure we can have jcastro or someone from IS get us some space to use from the sessions | 18:02 |
mhall119 | cjohnston: nigelb: https://code.launchpad.net/~mhall119/loco-directory/meeting-in-localtime/+merge/65038 | 18:20 |
cjohnston | sweet | 18:20 |
nigelb | all hail mhall119 | 18:20 |
mhall119 | all test mhall119's code | 18:21 |
* nigelb writes up one more post-it | 18:22 | |
nigelb | mhall119: make the time into a context_processor is unncessarily complicated. | 18:25 |
nigelb | mhall119: datetime.datetime.today() and datetime.datetime.now() have the same output | 18:26 |
nigelb | newz2000: ping. | 18:27 |
mhall119 | nigelb: you sure? | 18:27 |
nigelb | mhall119: just confirmed | 18:27 |
mhall119 | I thought datetime.datetime.today() returned only a date | 18:27 |
nigelb | mhall119: date.date.today() | 18:27 |
koolhead17 | AlanBell: isn`t it a room with same active members? | 18:27 |
nigelb | erm | 18:27 |
nigelb | datetime.date.today() | 18:27 |
koolhead17 | :P | 18:28 |
mhall119 | oh, ok | 18:28 |
cjohnston | koolhead17: there are others here.. but its about having the correct conversations in the correct place | 18:28 |
AlanBell | koolhead17: what is the problem? | 18:29 |
nigelb | mhall119: I hit that confusion a few days back :-) | 18:29 |
koolhead17 | hello all!! I would request if some one could look at https://bugs.launchpad.net/ubuntu-website-content/+bug/792320 and try to fix it as soon possible. Its canonical`s official website and the sooner its rectified better | 18:29 |
ubot4 | koolhead17: Error: Bug #792320 is private. | 18:29 |
nigelb | newz2000: koolhead17 has a bug about canonical.com that you might want to look into. | 18:29 |
koolhead17 | aah this bot is smarter!! nigelb | 18:29 |
cjohnston | koolhead17: what is the bug | 18:29 |
mhall119 | nigelb: use datetime.date.today() and datetime.datetime.now() to avooid that confustion ;) | 18:30 |
koolhead17 | cjohnston: some youtube embeds which does not exist now | 18:30 |
koolhead17 | and also few typos on the page | 18:30 |
cjohnston | can you make it unprivate please | 18:30 |
nigelb | mhall119: hehe | 18:30 |
AlanBell | only needs to be private if it is a security issue | 18:31 |
nigelb | koolhead17: that doesn't really need a privaet bug. | 18:31 |
mhall119 | koolhead17: thanks | 18:31 |
koolhead17 | nigelb: i didn`t file it as private bug though :P | 18:31 |
mhall119 | I made it public | 18:31 |
koolhead17 | mhall119: welcome :D | 18:31 |
koolhead17 | maybe someone else would have made it private | 18:32 |
mhall119 | koolhead17: looks like yaili is already on it | 18:32 |
cjohnston | it will be taken care of as they get used to it | 18:32 |
AlanBell | Inayaili de León (yaili) is the right person | 18:33 |
koolhead17 | cjohnston: mhall119 AlanBell lemme hunt him :D | 18:33 |
koolhead17 | haha | 18:33 |
AlanBell | her | 18:33 |
nigelb | her | 18:33 |
mhall119 | & | 18:33 |
mhall119 | ^^ | 18:33 |
koolhead17 | mhall119: :D | 18:33 |
koolhead17 | haha | 18:33 |
koolhead17 | k | 18:33 |
cjohnston | koolhead17: they will take care of it in time... not everything can be fixed right now | 18:33 |
koolhead17 | cjohnston: i was worried cos its a official page :) | 18:34 |
koolhead17 | anyways it will be taken care as you guys suggested!! | 18:35 |
cjohnston | there are more than 40 bugs.. plus any other work that they have to do | 18:35 |
koolhead17 | cjohnston: understandable :) | 18:36 |
nigelb | mhall119: Do you think there is moer work needed for the time thing? | 18:42 |
mhall119 | nope | 18:42 |
nigelb | \o/ | 18:43 |
nigelb | mhall119: would you be able to ack that today? | 18:43 |
nigelb | and the other one too | 18:43 |
nigelb | I'm wondering if the RC channels one is too much for tonight | 18:43 |
mhall119 | ack what? | 18:44 |
mhall119 | oh, *your* time thing? | 18:44 |
mhall119 | I thought you meant my LD branch for meetings in local time | 18:45 |
nigelb | ahh | 18:45 |
nigelb | sorry | 18:45 |
mhall119 | I'll have to merge and test your summit branches before I approve | 18:45 |
mhall119 | but since I'm done with my LD one, I should have time for that this afternoon | 18:45 |
nigelb | \o/ | 18:46 |
nigelb | I'll try to push in one more branch | 18:46 |
mhall119 | nigelb: cjohnston: do you guys have time today to review my LD branch? | 18:46 |
nigelb | mhall119: yup, as soon as I finish my coding on the summit branches | 18:46 |
nigelb | +1000000 | 18:58 |
nigelb | ""A programmer without public source code examples is a little like a company without a web page." Discuss." | 18:59 |
nigelb | cjohnston, mhall119: ^^ | 18:59 |
nigelb | hv: You should know that summit doesn't support payments yet + we depend a *lot* on LP. | 19:30 |
hv | yes, I see the launchpadlib in there ... | 19:30 |
hv | I'll try to see if I can make it work for us. | 19:30 |
hv | since it is AGPL3, I prefer to use it instead of [mostly crappy] commercial stuff. I did google for conference planning, and got disgusted ... | 19:31 |
nigelb | heh | 19:32 |
nigelb | if you want our help with understandign something, fixing something let us know. | 19:32 |
nigelb | we can't guarantee a fix, but at least we can point you in the right direction | 19:32 |
hv | sure. | 19:32 |
hv | is enabling payment handling something that fits in the summit's (summit the software, that is) future plans? | 19:33 |
nigelb | As of now, no. | 19:34 |
hv | I mean if we add it will it be useful contrib? | 19:34 |
nigelb | Both linaro and Ubuntu who are the stakeholders to the project don't use payment processing. | 19:34 |
hv | I see | 19:35 |
nigelb | Note: summit development was originally done by Canonical employees, now its volunteer-maintained. | 19:35 |
mhall119 | nigelb: depends on the example | 19:46 |
mhall119 | hv: SCaLE had an event registration system that had that | 19:48 |
mhall119 | which was also Django based | 19:48 |
mhall119 | you can probaby tie the two together | 19:48 |
mhall119 | hv: http://code.google.com/p/scalereg/ | 19:49 |
nigelb | mhall119: what's the easy way to debug "NoReverseMatch: Reverse for 'summit.schedule.decorators.inner' with arguments '('',)' and keyword arguments '{}' not found." | 20:02 |
cjohnston | that bug still | 20:02 |
cjohnston | heh | 20:02 |
nigelb | I don't know if its a bug. | 20:03 |
cjohnston | mhall119: I need to do syncdb and migrate before doing the loaddata correct? | 20:03 |
* nigelb deletes his db and tries again | 20:03 | |
cjohnston | nigelb: issue, whatever | 20:03 |
cjohnston | mhall119: is your merge using info from LP? | 20:05 |
nigelb | wtf | 20:05 |
cjohnston | what | 20:05 |
mhall119 | cjohnston: ? | 20:06 |
mhall119 | timezone info? | 20:06 |
mhall119 | no | 20:06 |
cjohnston | ok | 20:06 |
nigelb | cjohnston: It worked fine for me till about 30 mins back . | 20:07 |
cjohnston | nigelb: what did, summit? | 20:07 |
nigelb | yeah | 20:07 |
mhall119 | you broke it again? | 20:11 |
nigelb | mhall119: I don't think I did. | 20:12 |
nigelb | I'm debugging. | 20:12 |
cjohnston | mhall119: I guess I need step by step instructions (i still havent done it yet) on importing that db | 20:12 |
cjohnston | for LD | 20:12 |
* nigelb thinks django version mismatch. | 20:12 | |
nigelb | mhall119: yes, I was right. | 20:15 |
nigelb | (r'^admin/', include(admin.site.urls)), | 20:15 |
nigelb | ^^ this is what's causing the problem | 20:15 |
cjohnston | we need to get them updated | 20:15 |
nigelb | well, lack of it | 20:16 |
cjohnston | mhall119: can you bug them to get them updated | 20:16 |
cjohnston | them being django and django south | 20:16 |
nigelb | mhall119: argh, that didn't fix much. What's a good way to debug these problems? | 20:20 |
mhall119 | cjohnston: you need me to get what updated? | 20:22 |
mhall119 | oh, django and south | 20:22 |
mhall119 | cjohnston: did they ever respond to your email? | 20:23 |
cjohnston | no | 20:23 |
mhall119 | ok | 20:23 |
nigelb | I wonder if I should start learning pdb | 20:23 |
mhall119 | nigelb: you should | 20:23 |
nigelb | mhall119: how do I start? | 20:23 |
mhall119 | add "import pdb; pdb.set_trace()" before the line you're interested in, and it'll break there | 20:24 |
mhall119 | then "help" to get the list of commands | 20:24 |
mhall119 | most common are "n" for next, "s" for step-into, and "l" for list source | 20:24 |
nigelb | hrm | 20:25 |
mhall119 | also "p" for print, as in "p varname" to print the value of "varname" | 20:25 |
nigelb | what about this case where I don't know what I'm interested in per se. | 20:25 |
mhall119 | what's the view you're getting the error on? | 20:25 |
nigelb | ah. | 20:26 |
* nigelb raises fists at cjohnston | 20:26 | |
nigelb | debug = True by default | 20:26 |
nigelb | I keep forgetting that. | 20:26 |
cjohnston | ;-) | 20:26 |
nigelb | mhall119: nevermind. | 20:26 |
nigelb | mhall119: Its a bug I introduced in my local branch. | 20:26 |
cjohnston | set it in local settings nigelb | 20:26 |
mhall119 | nigelb: what summit code do you want me to review? | 20:28 |
nigelb | mhall119: 2 outstanding branches, the percentange and the time | 20:28 |
mhall119 | ok | 20:28 |
mhall119 | did you land mars's code? | 20:28 |
nigelb | yes | 20:28 |
nigelb | it worked, merged cleanly, and looked okay. | 20:28 |
mhall119 | cool | 20:28 |
mhall119 | tests passing? | 20:28 |
nigelb | Yes | 20:28 |
mhall119 | awesome, now i can reject any MP from you that don't contain test cases for the bugs they fix | 20:29 |
cjohnston | lol | 20:29 |
nigelb | mhall119: But you also get to review MPs that are just tests. | 20:29 |
mhall119 | that too | 20:30 |
mhall119 | got any of those? | 20:30 |
nigelb | Not yet | 20:30 |
nigelb | I want to clear up outstandign merges first | 20:30 |
mhall119 | got any tests for these 2 branches? | 20:30 |
nigelb | these are old branches | 20:30 |
mhall119 | so? | 20:30 |
nigelb | so, I never got around to it. | 20:31 |
nigelb | Realy, I'll get tests from my next new merge. | 20:31 |
mhall119 | s/never got around to it/haven't gotten around to it yet/ | 20:31 |
nigelb | Right, that. | 20:31 |
mhall119 | wow, I like seeing all those -D's in my bzr pull of summit | 20:32 |
nigelb | brainstom got nuked | 20:32 |
nigelb | :D | 20:33 |
cjohnston | :-( | 20:33 |
nigelb | mhall119: How do I do a migration for a new field? | 20:34 |
cjohnston | ./manage.py startmigration $app $migration_name --auto | 20:35 |
nigelb | ./mange.py startmigration schedule name_of_migraton | 20:35 |
nigelb | aha | 20:35 |
nigelb | auto | 20:35 |
cjohnston | mhall119: http://paste.ubuntu.com/628566/ <-- im sure its my fault, but i dont know why | 20:37 |
mhall119 | cjohnston: you need to reset your tables before loading the fixture | 20:38 |
mhall119 | that's part of the problem I had | 20:38 |
cjohnston | how do i do that | 20:38 |
mhall119 | it's not a good solution yet, we need to revist it | 20:38 |
cjohnston | I did syncdb, migrate, init-ld, loaddata | 20:38 |
mhall119 | python manage.py reset $app | 20:38 |
nigelb | mhall119: look at the irc channel merge too. I'll create a new field later in the cycle. | 20:38 |
mhall119 | you want to loaddata before you migrate | 20:38 |
cjohnston | ahh | 20:38 |
mhall119 | nigelb: is the "last refresh" time intended to be visible on the screen at UDS? | 20:41 |
mhall119 | it might (likely is) too far down to be shown | 20:41 |
cjohnston | yes it is mhall119 | 20:41 |
cjohnston | maybe top right corner, opposite the day of the week? | 20:42 |
mhall119 | yeah, that's what I was thinking too | 20:42 |
nigelb | Top wwas waaay to crowded. | 20:43 |
mhall119 | not the right side | 20:43 |
nigelb | besides, its hard to get it right in all ther views | 20:43 |
nigelb | (track/room/date) | 20:43 |
cjohnston | its most important on the date page as that is the one displayed.. everywhere else the user has the option to f5 | 20:43 |
mhall119 | you can refactor the layout code if you want | 20:43 |
nigelb | okay | 20:44 |
mhall119 | yeah, I'd even approve it on just the date page | 20:44 |
hv | mhall119: thanks (about scalereg), I am looking into it :) | 20:55 |
mhall119 | cjohnston: nigelb: you guys should follow this: http://micknelson.wordpress.com/2011/05/19/sharing-your-development-environment-across-branches/ | 21:30 |
mhall119 | I've started doing it for all my projects, canonical and community, and it's soooooo much easier this way | 21:30 |
mhall119 | big big props to noodles | 21:30 |
nigelb | mhall119: I've been doing it for a long long time :) | 21:31 |
nigelb | I copied the procedure from ubuntu distributed development guide | 21:31 |
nigelb | ok! bed tiem. | 21:32 |
=== daker is now known as daker_ | ||
mhall119 | at 2am? Bed time was hours ago | 21:33 |
nigelb | mhall119: I have different definitions of bed time ;) | 21:34 |
mhall119 | cjohnston: https://code.launchpad.net/~chrisjohnston/summit/798826/+merge/65059 needs a commit message so it can land | 21:34 |
nigelb | mhall119: Should the committer set it or reviewer? | 21:34 |
mhall119 | committer | 21:34 |
nigelb | ah. | 21:34 |
cjohnston | i thought the reviewer | 21:36 |
cjohnston | i dunno | 21:36 |
cjohnston | is there a way to set the commit msg from the command line when comitting or pushing? | 21:36 |
mhall119 | probably with the lp-propose | 21:37 |
mhall119 | alright, since I've rejected all of nigelb's MP, I'm calling it a day | 21:39 |
cjohnston | lol | 21:40 |
cjohnston | you still have more work to do | 21:40 |
mhall119 | I do? | 21:41 |
mhall119 | on what? | 21:42 |
cjohnston | everyhting | 21:42 |
cjohnston | im sure theres something | 21:42 |
cjohnston | mhall119: if you stick arround for a couple minutes, i think ill have something you will like | 21:48 |
nigelb | cjohnston: yeah, you didn't eeven accept one :( | 21:52 |
nigelb | erm | 21:52 |
cjohnston | which | 21:52 |
nigelb | mhall119: ^^ | 21:52 |
nigelb | mhall119: this one too https://code.launchpad.net/~nigelbabu/summit/irc-channels/+merge/63281 | 21:53 |
cjohnston | nigelb: https://code.launchpad.net/~chrisjohnston/summit/bzr_apps could you see if you can figure out why twidenash isnt working please? | 22:05 |
cjohnston | if you can, then its ready to go | 22:05 |
doctormo | nhandler: https://code.launchpad.net/~doctormo/loco-directory/previous-used-venues/+merge/65071 | 23:31 |
mhall119 | doctormo: why nhandler? | 23:41 |
doctormo | mhall119: I got you confused. n* sorry | 23:41 |
doctormo | nh/mh | 23:42 |
mhall119 | ok | 23:43 |
mhall119 | I'll take a look after dinner, ok? | 23:43 |
* nhandler doesn't think he would be much use in reviewing that ;) | 23:43 | |
cjohnston | mhall119: could you take a look at my bzr_apps branch above and see if you can figure out my issue with twidenash | 23:52 |
cjohnston | please | 23:52 |
doctormo | mhall119: It's no rush, in your own time and at your own bidding. :-D | 23:52 |
cjohnston | doctormo: could you please set a commit msg on LP | 23:55 |
doctormo | cjohnston: I've already set two commit messages when I pushed the branches, no? | 23:55 |
cjohnston | https://code.launchpad.net/~doctormo/loco-directory/previous-used-venues/+merge/65071 the one on <-- | 23:55 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!