mhall119 | daker: ping | 22:24 |
---|---|---|
daker | mhall119: pong | 22:24 |
mhall119 | I'm looking over https://code.launchpad.net/~daker/summit/fix.611294/+merge/146535 | 22:24 |
daker | :) | 22:24 |
mhall119 | we currently have claimed ids in the production database that use launchpad.net urls, will this update them to be ubuntu.com urls? | 22:24 |
daker | mhall119: let's do it step by step | 22:25 |
daker | mhall119: stay with me | 22:26 |
* mhall119 will do his best | 22:26 | |
daker | now if you run manage.py update-openids | 22:27 |
daker | https://bazaar.launchpad.net/~summit-hackers/summit/trunk/view/head:/summit/schedule/management/commands/update-openids.py | 22:27 |
daker | againt all the users | 22:27 |
daker | it will call the set_user_openid for each one | 22:27 |
mhall119 | ok | 22:28 |
daker | https://bazaar.launchpad.net/~daker/summit/fix.611294/view/head:/summit/common/launchpad.py | 22:29 |
daker | this is the launchpad file from my fix | 22:29 |
daker | look at the set_user_openid func | 22:30 |
daker | this openids = UserOpenID.objects.filter(user=user) | 22:30 |
daker | will return 1 or 0 record | 22:30 |
daker | right ? | 22:30 |
daker | but for all the summit users they have 1 record each | 22:31 |
daker | and force is True | 22:32 |
mhall119 | ok, so we'll need IS to run update_openids after deploying, but otherwise it looks god | 22:33 |
mhall119 | thanks daker | 22:33 |
daker | :) | 22:33 |
mhall119 | daker: cjohnston: approved | 22:34 |
daker | thanks | 22:35 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!