dholbach | good morning | 07:34 |
---|---|---|
davidcalle | Morning o/ | 08:41 |
dholbach | salut davidcalle | 09:05 |
dholbach | how's the deployment situation? :-) | 09:05 |
davidcalle | dholbach: I'm testing db migrations on staging | 09:05 |
davidcalle | :) | 09:05 |
davidcalle | dholbach: I don't remember how to set up postgre locally for d.u.c, do you still have that doc somewhere? | 09:06 |
davidcalle | (because, currently, it's exploding here and there :) ) | 09:07 |
davidcalle | dholbach: btw, since you have more experience that I do with django migrations, if I pass you the dbdump file, do you think you can give it a try? | 09:13 |
dholbach | hum... yes - I can try | 09:18 |
dholbach | http://pad.ubuntu.com/zdvmD4Ekb6 | 09:20 |
davidcalle | dholbach: thanks, I'm getting the db file from the server, it's taking some time | 09:36 |
dholbach | sure, thanks! | 09:37 |
dholbach | davidcalle, I started with lp:developer-ubuntu-com/production | 10:24 |
dholbach | is that what's on prod? | 10:24 |
davidcalle | dholbach: on prod, due to issues when using several branches (bzr doesn't want to merge cleanly) we have staging/162, hopefully this will get back in line after the next prod deployment | 10:25 |
dholbach | ok | 10:25 |
* dholbach starts over | 10:26 | |
davidcalle | the update will be (for now at least) to r164 (which is the big upgrade without post-deployment-fixes). | 10:27 |
dholbach | ok | 10:33 |
dpm | dholbach, davidcalle, victorp was pinging me about adding installation instructions for the snappy image of intel's thincanyon. But as far as I can see, they're live already, right? https://developer.ubuntu.com/en/snappy/start/ | 10:38 |
dholbach | intel nuc? | 10:38 |
dpm | I thought they were the same thing | 10:39 |
dholbach | I have no idea | 10:40 |
dholbach | thibautr and didrocks published the docs | 10:40 |
dholbach | let me ask | 10:40 |
dpm | looking at the history of the page, davidcalle did the changes | 10:40 |
dholbach | oh ok... I thought it was thibaut and didier in the beginning | 10:40 |
dpm | ah wait, no perhaps didrocks | 10:40 |
dpm | misread the history | 10:41 |
dholbach | ^W^W^W^W^Wa team of French people | 10:41 |
dpm | :) | 10:44 |
dholbach | davidcalle, so I updated http://pad.ubuntu.com/zdvmD4Ekb6 and tried to explain how I went about things - I'm still in the process of figuring out the migrations story | 10:44 |
dholbach | meanwhile didrocks wants a call, so I'll brb | 10:45 |
davidcalle | dholbach: thanks! | 11:18 |
davidcalle | dpm, dholbach, tell me when you know if the nuc page is the one you were looking for. I'll prettify it. | 11:19 |
dpm | davidcalle, that's the one, yes | 11:29 |
dholbach | davidcalle, I'm not quite sure what the question about it was.... | 11:29 |
davidcalle | dpm, dholbach, thanks, the question is somehow irrelevant to me, the page is screaming for a fix :) | 11:29 |
dholbach | go go go! | 11:30 |
davidcalle | dholbach: I'm giving your doc a try. Huge thanks for writing it. | 11:58 |
dholbach | davidcalle, I'm not done yet :) | 12:00 |
dholbach | the tricky part is coming up now | 12:00 |
dholbach | and I'll do it after lunch | 12:01 |
dholbach | davidcalle, can you try to replay http://pad.ubuntu.com/zdvmD4Ekb6 locally? | 13:47 |
dholbach | I'll do it as well | 13:47 |
davidcalle | dholbach: on it | 14:04 |
dholbach | maybe we can talk with Mike later on when he's back | 14:04 |
dholbach | and see if there's anything we can do to the migrations process | 14:04 |
davidcalle | dholbach: pip-cache timed out :D | 14:17 |
dholbach | wow | 14:18 |
dholbach | that has never happened to me | 14:18 |
dholbach | I guess if you want to work around it, just ./env/bin/pip install -r requirements.txt --upgrade | 14:18 |
davidcalle | it was probably my vpn acting up, seems to work fine now | 14:22 |
dholbach | <3 | 14:25 |
* davidcalle hugs dholbach | 14:27 | |
* dholbach hugs davidcalle back | 14:27 | |
dholbach | davidcalle, I'd like to be sure we covered everything with the migrations which are faked or really run | 14:28 |
davidcalle | dholbach: it WORKS, great work ! | 14:28 |
dholbach | watching it break is not so nice :) | 14:28 |
dholbach | but I haven't found a way to work around it | 14:28 |
dholbach | mhall119, can you take a look at http://pad.ubuntu.com/zdvmD4Ekb6 too? | 14:28 |
dholbach | ... and see if it's OK and how you'd expect it? | 14:29 |
davidcalle | dholbach: what we need to make sure is to have a way to answer "yes" to deletion of the stale migrations. The juju way of doing it doesn't work well with interactive prompts and "migrate --noinput" just ignores the question. Maybe something like http://stackoverflow.com/questions/18869414/can-stale-content-types-be-automatically-deleted-in-django | 14:42 |
dholbach | good point | 14:43 |
mhall119 | dholbach: why are we editing settings.py? | 14:54 |
mhall119 | actually, let's go back further, what is all this for? | 14:55 |
davidcalle | mhall119: local upgrade testing with postgre | 14:59 |
mhall119 | oh, I see | 15:01 |
davidcalle | mhall119: I wanted Daniel's help for his expertise on migrations | 15:02 |
mhall119 | is rev 163 or 164 when the upgrade happened? | 15:04 |
davidcalle | mhall119: 163 | 15:13 |
davidcalle | 164 is a fix that was missing to adapt to newer swift | 15:14 |
mhall119 | ok | 15:24 |
mhall119 | it looks reasonable, has it been tested? | 15:26 |
mhall119 | davidcalle: on line 19 you install django, but shouldn't that be installed by pip so we get a specific version? | 15:27 |
davidcalle | dholbach: ^ | 15:28 |
mhall119 | my only other concern would be a difference in postgresql versions between your localhost and staging/prod, but that's less likely to cause problems than Django | 15:28 |
dholbach | mhall119, I copied it from README | 15:42 |
mhall119 | right, that's probably old and unnecessary now | 16:11 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!