[06:06] davidcalle, 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? [08:03] dholbach: good idea, yeah, thanks, trying today [08:04] * dholbach hugs davidcalle [08:25] dholbach: do you see: Could not find a version that satisfies the requirement cmsplugin-zinnia==0.8.1 ? [08:28] let me try to set up env from scratch [08:31] dholbach: hmpf http://paste.ubuntu.com/16373333/ [08:31] (yolk gives you available versions of a pip package) [08:33] it wfm [08:34] Hmm [08:34] *lightbulb* maybe my office network blocks pip so it only looks for what's available locally? /me vpns [08:35] daniel@daydream:/tmp$ virtualenv env [08:35] Running virtualenv with interpreter /usr/bin/python2 [08:35] New python executable in /tmp/env/bin/python2 [08:35] Also creating executable in /tmp/env/bin/python [08:35] Installing setuptools, pkg_resources, pip, wheel...done. [08:35] daniel@daydream:/tmp$ ./env/bin/pip install cmsplugin-zinnia==0.8.1 [08:35] Collecting cmsplugin-zinnia==0.8.1 [08:35] Installing collected packages: cmsplugin-zinnia [08:35] Successfully installed cmsplugin-zinnia-0.8.1 [08:35] daniel@daydream:/tmp$ [08:38] hmm [08:41] * davidcalle updates-pip-cache [08:49] ALright, deploying [08:50] * dholbach crosses fingers [08:51] davidcalle, I was banging my head at the extension logic the entire afternoon yesterday and morning today, but I'm getting closer :)= [08:51] dholbach: yay :D [08:58] dholbach: why the head banging by the way? Still dropping data? [08:58] yeah... for some reason it didn't copy over data from the page draft object to the page public object [08:59] but 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] MultipleObjectsReturned: get() returned more than one VersionedURL -- it returned 2! [08:59] :) [08:59] o_O [09:00] yeah [09:00] The deployment is stalling, retrying [09:05] davidcalle, problem solved [09:05] next step: playing around with it locally and extending the template [09:10] Good work :) On my end, I'm relaunching the deployment, there were duplicates in requirements.txt and it makes the deployment crash [09:14] Hah, relaunching because it still needs python-msgpack to be added manually to the cache [09:15] ouch... [09:53] Gas leak alert in the building, had to evacuate [09:54] ouch [09:54] did they find the leakage? [09:55] Well, since I'm back at my desk, I'd say it was a false alarm [09:55] (or, I'm a canary, eek :p) [09:57] * dholbach hugs davidcalle [09:57] we'll have to check up on you every couple of minutes, just to be sure [09:58] No, I'll make sure I type "Aaarg" [09:59] and keel over before you manage to hit the enter button [10:00] :) [10:32] davidcalle, https://code.launchpad.net/~dholbach/developer-ubuntu-com/importer-versioning/+merge/294202 is not pretty, but it wfm :) [10:32] <3 [10:46] all right... I'll run the test suite locally again, just to be sure and I'm out for lunch [10:50] Wrapping my head over your branch, will continue after lunch as well, see you ;) [12:28] dholbach: fixing the gadget store to catch the new board [12:28] (it's a case of s/oem/gadget, but we probably will need two calls: one for gadget one for oem [12:59] dholbach: https://code.launchpad.net/~davidc3/developer-ubuntu-com/get-gadget-snaps/+merge/294502 [13:05] davidcalle, the branch looks great - I'm just wondering if we should split up the results [13:10] dholbach: I think old oem types are the new gadgets [13:14] AFAIUI oem types are 15.04 gadgets 16.04? [13:19] wow, I get this error: [13:19] django.db.utils.IntegrityError: NOT NULL constraint failed: store_data_gadgetsnap.icon_url [13:19] dholbach: I've asked beuno to clarify it for me. [13:19] dholbach: I have no idea what this error means [13:19] just add this: [13:19] print(snap_type, packages['_embedded']['clickindex:package']) [13:19] line 28 [13:19] it looks like oem is 15.04 and gadget 16.04 [13:20] so there's a snap with no icon set [13:20] I need to change the db schema for that [13:21] dholbach: we should provide a fallback [13:21] ah yes, nice one [13:21] dholbach: I'll add it to the branch [13:21] we have a board image for that, right? [13:21] dholbach: we can make one :) [13:23] maybe we just do this for now: [13:23] - 'icon_url': entry['icon_url'], [13:23] + 'icon_url': entry.get('icon_url', ''), [13:24] dholbach: let me see how it looks in practice [13:24] it doesn't :) [13:25] maybe just point it to static/img/boards/noboard-0.png [13:25] +1 [13:26] mh, for some reason that fails too [13:26] Oh wait, it should already create fallback, the template check for icon existence and pick a noboard image at random [13:27] (oh, fingers are angry with the letter 's' today) [13:27] that's strange in the schema definition we have: [13:27] store_data/migrations/0001_initial.py: ('icon_url', models.URLField(blank=True)), [13:30] hmm [13:33] davidcalle, https://code.launchpad.net/~dholbach/developer-ubuntu-com/gadget-snap-fix/+merge/294507 [13:35] sorry, forgot to commit [13:35] dholbach: I've just updated my branch, I think we hav the same fix :) [13:36] probably :-) [13:36] maybe we can change the template to cycle over the individual releases? [13:39] dholbach: I see your point, but is it worth the effort with all the steam (and the doc) being on snappy 16? [13:43] dholbach: 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:45] dholbach: branch changed to lp:~developer-ubuntu-com-dev/developer-ubuntu-com/get-gadget-snaps [13:45] It also contains a migration we forgot about from a previous branch [13:49] dholbach: oh, once the error is out, I see *completely* your point [13:49] A bunch of duplicated boards :) [14:12] ok :) [14:19] and it'll avoid confusion if you believe your board is supported [14:19] only to find out it's just supported on the old release :) [14:20] dholbach: maybe we can just mention it on the board card? Supported releases: n, n2 [14:20] that'd be nice too [14:21] dholbach: I'm trying a few things, also +1 on your branch afaict, pushing on staging in a bit, works for you? [14:21] which one? the versioning? [14:21] versioning [14:21] maybe not quite yet [14:22] I'm not sure if you've looked at how the article page is looking :) [14:22] Alright, It was just in case you wanted to do some live testing :) [14:22] Only read the code for now :) [14:22] pushed to https://code.launchpad.net/~developer-ubuntu-com-dev/developer-ubuntu-com/importer-versioning/+merge/294517 now [14:24] and reviewed your code too [14:36] dholbach: thanks, I'm doing a few more changes to deduplicate between channels and things like that. [14:36] * dholbach hugs davidcalle