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