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