[07:36] good morning [08:39] Morning o/ [08:39] dholbach, I've started a new deployment from scratch on staging, will tell you how it goes [08:40] dholbach, also, I've set up a way to get a full traceback [08:40] davidcalle, awesome, thanks a lot [08:40] dholbach, also, hi :) [08:40] davidcalle, maybe just using 'migrate' will make it work? :) [08:41] dholbach, well, it's not the django upgrade porcess that goes worng, just the standard deployment of the tarball [08:41] oh ok [08:41] is the dependencies branch fully updated? [08:44] dholbach, it is [08:44] ah yes, I can see it now [08:44] thanks - I must have done something wrong earlier :) [08:45] dholbach, which browser are you using? [08:45] chromium [08:45] dholbach, do you see all the text on this page in bold? http://community.ubuntu.com/google-code-in/ [08:45] yes [08:46] https://bugs.launchpad.net/ubuntu-community-website/+bug/1504182 [08:46] dholbach, Firefox renders it fine, no idea where it's coming from [08:46] I told the webteam, but they can't seem to reproduce it [08:46] dholbach, hah [08:47] maybe you can click "affects me too" ;-) [08:48] dholbach, done and confirmed it happens in Chrome as well :) [08:50] I could help Daniele from Django CMS yesterday to get past his postgres-on-mac-os issues, so I hope that he'll be able to help us out [08:50] now I'm working on reworking the importer and I'm making good progress [08:51] I added functionality to let us run commands after checking out (to convert a manpage to html for example) [08:51] and to make the import more flexible (ie allow importer from places outside ./docs, like ./README.md in the case of snapcraft) [08:52] and to allow us to hook into the importer more easily for testing purposes [08:52] so slow, but progress :) [08:56] dholbach, nice! [08:59] dholbach, it's complaining about a missing dep: python-keystoneclient, do you remember why it was removed? [09:00] no... I can't quite remember - I thought something said that it could be removed - let's quickly readd it - sorry [09:00] I initially put this branch together weeks ago - my memory doesn't go that far back anymore :) [09:01] dholbach, no worries, it's a big upgrade and this trial and error is to be expected [09:02] davidcalle, pushed [09:02] shall I update the pip cache too? [09:03] dholbach, yep (I can't pip from the server, it's blocked) [09:04] davidcalle, I updated trunk, production and am now running the pip cache update [09:04] somewhere I need to update a revno? [09:04] sorry, I'm not quite firm with the update procedure [09:05] dholbach, yep, process is push to trunk -> update pip cache -> commit and push revno to trunk -> merge trunk on prod [09:05] ok [09:11] davidcalle, done [09:11] ... I hope [09:12] dholbach, lgtm :) [09:13] * davidcalle restarts everything from scratch [09:17] * dholbach puts on everybody's seatbelts and crosses fingers [09:23] dholbach, can you remind me what the command is to create migrations? [09:23] manage.py makemigrations [09:24] you don't need to use 0002 - django does that itself [09:24] I think it comes with a --dry-run command too if you want to experiment [09:24] be sure to bzr add the migration afterwards :) [09:25] dholbach, ty :) [09:35] dholbach, so... everything works, in terms of standard deployment migrations. But there is an issue while connecting to swift. [09:36] dholbach, I'm still going to try the upgrade, but I wouldn't hold my breath for it to work with the swift issue (which I'm going to look into after this) [09:36] I have no idea about swift :-( [09:38] davidcalle, https://stackoverflow.com/questions/22304681/python-pip-broken-after-update? [09:38] maybe just a missing "http://" somewhere? [09:48] dholbach, http://i.imgur.com/Kx0iMOU.png [09:48] wowowowowow [09:48] champagne [09:48] my work is done [09:48] :D [09:48] see you by the pool! [09:49] dholbach, I can publish pages, but that's probably the swift issue. Thing is: it deploys :D [09:50] it could be that mhall119 is going to be a bit busy later on [09:50] dholbach, it required a few changes to the makefile, I've removed pip and every --fake commands, and replaced "./env/bin/python" with "@python" [09:50] maybe he can quickly help us out with the swift bits [09:50] davidcalle, no worries [09:50] thanks a lot for that [09:50] dholbach, I'll push these in a moment. My pleasure :D [09:52] dholbach, on https://developer.staging.ubuntu.com/en/?edit , do you see my draft (the screenshot above)? [09:52] yes [09:52] dholbach, ok [09:53] davidcalle, do you know if the db is fully migrated? [09:54] dholbach, no specific errors on this front, just the warnings you can see in the pastebin I sent you [10:15] davidcalle, the last option is probably to downgrade the swiftstorage and swiftclient bits in the requirements.txt [10:15] dholbach, trying it [10:16] davidcalle, I guess the API changed somewhat [10:18] dholbach, that's a possibility [10:18] I didn't find anything concrete by searching the net yet [10:22] Me neither, I'm trying to downgrade locally keystoneclient and swiftclient [10:29] No apparent errors /me upgrades pip cache, etc. [10:33] * dholbach crosses fingers [10:39] dholbach, something to note: I've just noticed that the dependencies branch keeps all previous versions, which means you don't have to upgrade the revno when you downgrade stuff, since the branch already contains what you need. [10:39] ah ok [10:39] I'm happy to weed out a few bits [10:39] dholbach, please have a look at https://code.launchpad.net/~davidc3/developer-ubuntu-com/upgrade-django-on-all-envs/+merge/277965 [10:39] always 2 steps ahead [10:40] ah no, that's the one for the swift downgrade [10:40] dholbach, does the make command looks ok to you [10:41] I know that @python works, and that's this command that worked on staging, but since you know more about the upgrade process... [10:41] just migrate would be fine [10:41] dholbach, ok [10:41] apart from that good work [10:44] dholbach, ok, pushing and deploying... [10:46] * davidcalle presses button, runs [10:46] (away) [10:49] :) [11:04] dholbach, on an unrelated note, when you add classes to admin.py, what's needed to have them appear in the admin panel? [11:05] dholbach, nvm :) [11:05] ok good :) [11:05] I had an issue recently too where something didn't show up in the admin as well [11:06] after trying everything I fixed it by recreating the database O:-) [12:33] dholbach, how did the conversation with django-cms upstream go? [12:46] Morning === davidcalle_ is now known as davidcalle [13:02] davidcalle, do we need to set up this test db from scratch again? [13:02] davidcalle, or do we need to fake any of the migrations? [13:02] in which state was the db when you started this round? [13:02] dpm, I helped him set up postgres on his mac-os, he can run the thing now and is looking at it [13:03] ah cool [13:03] dpm, last time we talked was this morning at 10 [13:04] davidcalle, is this db re-used from the last try? if yes, you can fake all migrations [13:05] dholbach, this is a db I've flushed, and again, this is the initial syncdb command here, I haven't been able to try the upgrade [13:06] syncdb does all the migrations [13:09] dholbach, oh, then when I requested you to add a specific make command to run the upgrade, it was silly [13:14] let's remove it with one of the next commits then :) [13:32] popey, so let's sync on GCI. How was the soccer match? [13:33] balloons, hey, Sams team won, despite it pissing down with rain :) [13:34] aloha [13:34] balloons, spoke to will, he has some tasks for desktop team, didrocks is coming back to me today with his thoughts [13:36] dholbach, I'm skipping the doc meeting, I'm going to focus on fixing staging [13:37] davidcalle, yep, that makes perfect sense [13:37] let me know if I can help with anything [13:38] dholbach, thanks :) (especially since the doc meeting was supposed to to be about trying to break staging with a rough QA -> Our work is done here :D ) [13:38] popey, ack. And will there be mentors for these tasks? [13:38] yeah, I didn't feel like I hadn't contributed doc-wise ;-) [13:39] popey, nice! :) [13:39] balloons, I asked didrocks to be one, yes. [13:39] willcooke, ^ [13:39] willcooke, Not sure if we specifically talked about mentors, mostly tasks. [13:39] willcooke, _if_ didrocks has time and can contribute perhaps he could mentor on behalf of desktop tasks? [13:41] popey, is the the Google Code thing? [13:41] yup yup [13:41] sure, I have a meeting with him shortly, so I will ask [13:41] popey, did you see my ping yesterday about some tasks we might have [13:42] i did, but was afk at the time and you were offline when I got back [13:42] so that's great news :D [13:42] If we can find someone with Gtk themeing knowledge, or someone who is keen [13:42] to learn [13:42] popey, so I'm working to add all the sample tasks to the site, so we have something. It does require we add a mentor for each one though [13:42] then we have a load of niggly little fixes that I haven't really got time to fix [13:42] Oh, each task has to explicitly have a mentor? [13:43] popey, yes. I just doublechecked [13:43] willcooke, the niggle little things, which could take a few hours, would be ideal candidates [13:43] yes, something like 4-5 hours work [13:44] I have two right now, I can find more [13:44] More would be awesome. [13:45] https://bugs.launchpad.net/ubuntu-themes/+bug/762349 [13:45] https://bugs.launchpad.net/ubuntu/+source/ubuntu-themes/+bug/721786 [13:45] I bet John Lea has a few design tweaks too. I'll have a look through LP [13:45] If you have bugs which are already marked as bitesize or papercut, might be worth checking if they're still valid, and nominating those too [13:45] as if they're tagged as such, someone already did the first step [13:46] willcooke, to give you an idea, we need 75 total (minimum) to kick start this thing [13:46] That's spread across all the categories. [13:46] I'll do what I can [13:46] So not 75 on desktop (although I'm sure you could probably find that many) ;) [13:56] morning balloons - could you have a look at the header on http://community.ubuntu.com? I think it'd be best to put Google Code In under Contribute, so that it the header does not overflow [14:05] dpm, hey. It wasn't you who put it in the main header? [14:06] balloons, no, you pinged us yesterday about the new google code in page [14:06] dpm, right, and I didn't add it to the main header. Nor did davidcalle. Weird [14:07] I thought it was you who did it, so I left it alone. Anyways, yes, I agree [14:08] balloons, I think everything on the first level goes on the header, that's why I suggested putting it under Contribute [14:08] ohh.. lol, it all makes sense now [14:08] :) [14:09] dpm, the only issue with that is it changes the permalink [14:11] and I've already spammed that link out :-( [14:15] balloons, can't we set up a redirect? [14:15] presumably so, I'm looking at doing that now [14:25] davidcalle, mhall119, do you know how to add a redirect for a page you want to move inside of wordpress? This seems so obvious and basic, yet I don't see a way to do it [14:27] all I can find is the possibility to use a plugin to do it [14:28] balloons, redreict from where to where? [14:28] redirect, sorry [14:28] dholbach, I moved the page so the parent wasn't the main site. So it went from https://community.ubuntu.com/contribute/google-code-in/ to https://community.ubuntu.com/google-code-in/ [14:29] no idea how to do that in WP [14:29] you would think the platform would sanely redirect any old links to the new page, but it doesn't [14:29] which is mind-boggling honestly. If I tweak my site layout using wordpress, I destroy my links [14:29] balloons, without plugins, I don't knw [14:30] * balloons suddenly finds himself liking django more [14:30] balloons, hmm, I have an idea, let me try something crazy :) [14:30] davidcalle, :-) [14:30] Stand back, he's going in! [14:31] and also, did I manage to break the css again? [14:31] balloons, you broke the CSS! :) [14:31] https://bugs.launchpad.net/ubuntu-community-website/+bug/1504182? [14:32] :) [14:32] If only I knew how I managed to do such a thing [14:34] davidcalle, can I help in any way? [14:34] honestly, I guess thr redirect isn't a big deal if we don't have magic. I updated the wiki so it will point to the proper spot [14:44] balloons, oh, theme files are read only... My idea was to add a check for the current url in the wp header and if it was matching the page, redirect the user to the new one [14:44] interesting. I appreciate the effort [14:44] dholbach, not really, it's basically learning about migrations and waiting for deployments to happen [14:45] davidcalle, did you find out about migrate --list already? [14:47] dholbach, yes, using it [14:47] if there's anything I can do to test or anything, let me know === dpm is now known as dpm-afk [15:33] davidcalle, https://code.launchpad.net/~ya-bo-ng/ubuntu-community-website/responsive/+merge/278018 seems to fix the issue :) [15:35] dholbach, indeed :) [15:35] davidcalle, not sure if you want to follow up on the MP=? [15:36] +1-ed [15:41] awesome :-) [15:42] I love how these problems solve themselves :) [16:56] all right... I call it a day - have a good one and see you tomorrow! [19:34] balloons, did you know the Code In post on reddit 404s? [19:34] willcooke, bah.. that's right [19:34] we had to move it and wp doesn't redirect [19:34] hmm [19:34] ah [19:34] create a page with a meta-refresh header? [19:35] or just delete the reddit post and start a new one? [19:36] willcooke, I think a mod should be able to fix; perhaps not [19:37] I posted a comment giving the proper page. Thanks for pointing it out. I should have put it in the proper location to start with, but we struggled trying to get a redirect going this morning [19:37] that kind of thing should be built-in to a CMS system.. seems crazy to me [20:19] marcoceppi: my calendar says we have membership board stuff today? [20:37] jcastro: your calendar is wrong