/srv/irclogs.ubuntu.com/2016/05/12/#ubuntu-website.txt

dholbachdavidcalle, I merged trunk into https://code.launchpad.net/~developer-ubuntu-com-dev/developer-ubuntu-com/update-components/+merge/289937 - maybe we can try to land it at some stage again?06:06
davidcalledholbach: good idea, yeah, thanks, trying today08:03
* dholbach hugs davidcalle 08:04
davidcalledholbach: do you see: Could not find a version that satisfies the requirement cmsplugin-zinnia==0.8.1 ?08:25
dholbachlet me try to set up env from scratch08:28
davidcalledholbach: hmpf http://paste.ubuntu.com/16373333/08:31
davidcalle(yolk gives you available versions of a pip package)08:31
dholbachit wfm08:33
davidcalleHmm08:34
davidcalle*lightbulb* maybe my office network blocks pip so it only looks for what's available locally? /me vpns08:34
dholbachdaniel@daydream:/tmp$ virtualenv env08:35
dholbachRunning virtualenv with interpreter /usr/bin/python208:35
dholbachNew python executable in /tmp/env/bin/python208:35
dholbachAlso creating executable in /tmp/env/bin/python08:35
dholbachInstalling setuptools, pkg_resources, pip, wheel...done.08:35
dholbachdaniel@daydream:/tmp$ ./env/bin/pip install cmsplugin-zinnia==0.8.108:35
dholbachCollecting cmsplugin-zinnia==0.8.108:35
dholbachInstalling collected packages: cmsplugin-zinnia08:35
dholbachSuccessfully installed cmsplugin-zinnia-0.8.108:35
dholbachdaniel@daydream:/tmp$08:35
davidcallehmm08:38
* davidcalle updates-pip-cache08:41
davidcalleALright, deploying08:49
* dholbach crosses fingers08:50
dholbachdavidcalle, I was banging my head at the extension logic the entire afternoon yesterday and morning today, but I'm getting closer :)=08:51
davidcalledholbach: yay :D08:51
davidcalledholbach: why the head banging by the way? Still dropping data?08:58
dholbachyeah... for some reason it didn't copy over data from the page draft object to the page public object08:58
dholbachbut that's resolved now... I'm looking at another issue now where there's duplicate entries or something - I haven't quite understood it yet :-)08:59
dholbachMultipleObjectsReturned: get() returned more than one VersionedURL -- it returned 2!08:59
dholbach:)08:59
davidcalleo_O08:59
dholbachyeah09:00
davidcalleThe deployment is stalling, retrying09:00
dholbachdavidcalle, problem solved09:05
dholbachnext step: playing around with it locally and extending the template09:05
davidcalleGood work :) On my end, I'm relaunching the deployment, there were duplicates in requirements.txt and it makes the deployment crash09:10
davidcalleHah, relaunching because it still needs python-msgpack to be added manually to the cache09:14
dholbachouch...09:15
davidcalleGas leak alert in the building, had to evacuate09:53
dholbachouch09:54
dholbachdid they find the leakage?09:54
davidcalleWell, since I'm back at my desk, I'd say it was a false alarm09:55
davidcalle(or, I'm a canary, eek :p)09:55
* dholbach hugs davidcalle 09:57
dholbachwe'll have to check up on you every couple of minutes, just to be sure09:57
davidcalleNo, I'll make sure I type "Aaarg"09:58
dholbachand keel over before you manage to hit the enter button09:59
davidcalle:)10:00
dholbachdavidcalle, https://code.launchpad.net/~dholbach/developer-ubuntu-com/importer-versioning/+merge/294202 is not pretty, but it wfm :)10:32
dholbach<310:32
dholbachall right... I'll run the test suite locally again, just to be sure and I'm out for lunch10:46
davidcalleWrapping my head over your branch, will continue after lunch as well, see you ;)10:50
davidcalledholbach: fixing the gadget store to catch the new board12:28
davidcalle(it's a case of s/oem/gadget, but we probably will need two calls: one for gadget one for oem12:28
davidcalledholbach: https://code.launchpad.net/~davidc3/developer-ubuntu-com/get-gadget-snaps/+merge/29450212:59
dholbachdavidcalle, the branch looks great - I'm just wondering if we should split up the results13:05
davidcalledholbach: I think old oem types are the new gadgets13:10
dholbachAFAIUI oem types are 15.04 gadgets 16.04?13:14
dholbachwow, I get this error:13:19
dholbachdjango.db.utils.IntegrityError: NOT NULL constraint failed: store_data_gadgetsnap.icon_url13:19
davidcalledholbach: I've asked beuno to clarify it for me.13:19
davidcalledholbach: I have no idea what this error means13:19
dholbachjust add this:13:19
dholbachprint(snap_type, packages['_embedded']['clickindex:package'])13:19
dholbachline 2813:19
dholbachit looks like oem is 15.04 and gadget 16.0413:19
dholbachso there's a snap with no icon set13:20
dholbachI need to change the db schema for that13:20
davidcalledholbach: we should provide a fallback13:21
dholbachah yes, nice one13:21
davidcalledholbach: I'll add it to the branch13:21
dholbachwe have a board image for that, right?13:21
davidcalledholbach: we can make one :)13:21
dholbachmaybe we just do this for now:13:23
dholbach-                'icon_url': entry['icon_url'],13:23
dholbach+                'icon_url': entry.get('icon_url', ''),13:23
davidcalledholbach: let me see how it looks in practice13:24
dholbachit doesn't :)13:24
dholbachmaybe just point it to static/img/boards/noboard-0.png13:25
davidcalle+113:25
dholbachmh, for some reason that fails too13:26
davidcalleOh wait, it should already create fallback, the template check for icon existence and pick a noboard image at random13:26
davidcalle(oh, fingers are angry with the letter 's' today)13:27
dholbachthat's strange in the schema definition we have:13:27
dholbachstore_data/migrations/0001_initial.py:                ('icon_url', models.URLField(blank=True)),13:27
davidcallehmm13:30
dholbachdavidcalle, https://code.launchpad.net/~dholbach/developer-ubuntu-com/gadget-snap-fix/+merge/29450713:33
dholbachsorry, forgot to commit13:35
davidcalledholbach: I've just updated my branch, I think we hav the same fix :)13:35
dholbachprobably :-)13:36
dholbachmaybe we can change the template to cycle over the individual releases?13:36
davidcalledholbach: I see your point, but is it worth the effort with all the steam (and the doc) being on snappy 16?13:39
davidcalledholbach: well, maybe not "the effort", but adding a level of hierarchy on this page seems too much, otoh if you feel it's important I won't mind :)13:43
davidcalledholbach: branch changed to lp:~developer-ubuntu-com-dev/developer-ubuntu-com/get-gadget-snaps13:45
davidcalleIt also contains a migration we forgot about from a previous branch13:45
davidcalledholbach: oh, once the error is out, I see *completely* your point13:49
davidcalleA bunch of duplicated boards :)13:49
dholbachok :)14:12
dholbachand it'll avoid confusion if you believe your board is supported14:19
dholbachonly to find out it's just supported on the old release :)14:19
davidcalledholbach: maybe we can just mention it on the board card? Supported releases: n, n214:20
dholbachthat'd be nice too14:20
davidcalledholbach: I'm trying a few things, also +1 on your branch afaict, pushing on staging in a bit, works for you?14:21
dholbachwhich one? the versioning?14:21
davidcalleversioning14:21
dholbachmaybe not quite yet14:21
dholbachI'm not sure if you've looked at how the article page is looking :)14:22
davidcalleAlright, It was just in case you wanted to do some live testing :)14:22
davidcalleOnly read the code for now :)14:22
dholbachpushed to https://code.launchpad.net/~developer-ubuntu-com-dev/developer-ubuntu-com/importer-versioning/+merge/294517 now14:22
dholbachand reviewed your code too14:24
davidcalledholbach: thanks, I'm doing a few more changes to deduplicate between channels and things like that.14:36
* dholbach hugs davidcalle 14:36

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