/srv/irclogs.ubuntu.com/2016/03/11/#ubuntu-website.txt

dholbachgood morning07:34
davidcalleMorning o/08:41
dholbachsalut davidcalle09:05
dholbachhow's the deployment situation? :-)09:05
davidcalledholbach: I'm testing db migrations on staging09:05
davidcalle:)09:05
davidcalledholbach: 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
davidcalledholbach: 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
dholbachhum... yes - I can try09:18
dholbachhttp://pad.ubuntu.com/zdvmD4Ekb609:20
davidcalledholbach: thanks, I'm getting the db file from the server, it's taking some time09:36
dholbachsure, thanks!09:37
dholbachdavidcalle, I started with lp:developer-ubuntu-com/production10:24
dholbachis that what's on prod?10:24
davidcalledholbach: 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 deployment10:25
dholbachok10:25
* dholbach starts over10:26
davidcallethe update will be (for now at least) to r164 (which is the big upgrade without post-deployment-fixes).10:27
dholbachok10:33
dpmdholbach, 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
dholbachintel nuc?10:38
dpmI thought they were the same thing10:39
dholbachI have no idea10:40
dholbachthibautr and didrocks published the docs10:40
dholbachlet me ask10:40
dpmlooking at the history of the page, davidcalle did the changes10:40
dholbachoh ok... I thought it was thibaut and didier in the beginning10:40
dpmah wait, no perhaps didrocks10:40
dpmmisread the history10:41
dholbach^W^W^W^W^Wa team of French people10:41
dpm:)10:44
dholbachdavidcalle, 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 story10:44
dholbachmeanwhile didrocks wants a call, so I'll brb10:45
davidcalledholbach: thanks!11:18
davidcalledpm, dholbach, tell me when you know if the nuc page is the one you were looking for. I'll prettify it.11:19
dpmdavidcalle, that's the one, yes11:29
dholbachdavidcalle, I'm not quite sure what the question about it was....11:29
davidcalledpm, dholbach, thanks, the question is somehow irrelevant to me, the page is screaming for a fix :)11:29
dholbachgo go go!11:30
davidcalledholbach: I'm giving your doc a try. Huge thanks for writing it.11:58
dholbachdavidcalle, I'm not done yet :)12:00
dholbachthe tricky part is coming up now12:00
dholbachand I'll do it after lunch12:01
dholbachdavidcalle, can you try to replay http://pad.ubuntu.com/zdvmD4Ekb6 locally?13:47
dholbachI'll do it as well13:47
davidcalledholbach: on it14:04
dholbachmaybe we can talk with Mike later on when he's back14:04
dholbachand see if there's anything we can do to the migrations process14:04
davidcalledholbach: pip-cache timed out :D14:17
dholbachwow14:18
dholbachthat has never happened to me14:18
dholbachI guess if you want to work around it, just      ./env/bin/pip install -r requirements.txt --upgrade14:18
davidcalleit was probably my vpn acting up, seems to work fine now14:22
dholbach<314:25
* davidcalle hugs dholbach14:27
* dholbach hugs davidcalle back14:27
dholbachdavidcalle, I'd like to be sure we covered everything with the migrations which are faked or really run14:28
davidcalledholbach: it WORKS, great work !14:28
dholbachwatching it break is not so nice :)14:28
dholbachbut I haven't found a way to work around it14:28
dholbachmhall119, 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
davidcalledholbach: 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-django14:42
dholbachgood point14:43
mhall119dholbach: why are we editing settings.py?14:54
mhall119actually, let's go back further, what is all this for?14:55
davidcallemhall119: local upgrade testing with postgre14:59
mhall119oh, I see15:01
davidcallemhall119: I wanted Daniel's help for his expertise on migrations15:02
mhall119is rev 163 or 164 when the upgrade happened?15:04
davidcallemhall119: 16315:13
davidcalle164 is a fix that was missing to adapt to newer swift15:14
mhall119ok15:24
mhall119it looks reasonable, has it been tested?15:26
mhall119davidcalle: on line 19 you install django, but shouldn't that be installed by pip so we get a specific version?15:27
davidcalledholbach: ^15:28
mhall119my 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 Django15:28
dholbachmhall119, I copied it from README15:42
mhall119right, that's probably old and unnecessary now16:11

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