IRC logs for #buildstream for Saturday, 2019-08-31

*** rdale has joined #buildstream08:10
*** slaf has quit IRC08:22
*** tristan has quit IRC08:24
*** slaf has joined #buildstream08:38
*** slaf has quit IRC09:13
*** slaf has joined #buildstream09:14
*** slaf has joined #buildstream09:15
*** tristan has joined #buildstream09:43
*** ChanServ sets mode: +o tristan10:17
tristanError instantiating artifact cache: Did not find 'buildbox-casd' in PATH: /codethink/GNOME/buildstream/.tox/py37/bin:/home/tristan/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/tristan/.local/bin10:17
tristanHmmm10:17
tristanSo how does one run tests with tox now10:17
tristanCONTRIBUTING.rst seems to still say I only need gcc and python3-dev10:19
tristanPrebuilt docker images containing casd ?10:23
tristan275d3f62c56de8a8ae3fc8156a70c656bd28052d10:23
tristanjuergbi, any update on the developer story here ? I guess for the time being I need a local build of buildbox-casd ?10:24
jjardonNice! Good catch tristan10:32
tristanUmmm10:39
tristanAnd what debian package provides FindgRPC.cmake ?10:39
tristanBuilding buildbox-common, which one does when blindly trying to build buildbox-casd without any INSTALL.md file, complains that that file doesnt exist :-/10:40
tristanI could download these random files on the internet https://github.com/IvanSafonov/grpc-cmake-example/tree/master/cmake10:43
tristanbut I doubt that I am meant to manually download some dude's example project things and place them manually into some CMake module directory10:43
tristansounds a bit brute force10:43
tristanjjardon, yeah so I was just hoping to tidy up the branch at https://gitlab.com/BuildStream/buildstream/merge_requests/1542, and backport this to bst-1 before rolling 1.410:45
tristanonly problem is that master has changed in such a way that we must somehow provide buildbox-casd...10:46
tristanturns out what I need is gRPCConfig.cmake, libgrpc-dev seems like the right package to provide that...10:59
tristanhttps://github.com/grpc/grpc/issues/11378 seems to imply the problem was fixed 2 years ago upstream11:00
*** tristan has quit IRC11:02
*** tristan has joined #buildstream11:02
*** ChanServ sets mode: +o tristan11:02
juergbitristan: https://buildstream.build/buildbox_install.html11:10
juergbithere are instructions how to install the dependencies and there is also a link to a prebuilt static binary11:11
gitlab-br-bottristanvb opened issue #1115 (No instructions to use BuildStream from master) on buildstream https://gitlab.com/BuildStream/buildstream/issues/111511:22
tristanjuergbi, Ah thanks !11:22
tristanjuergbi, I think we still want to amend the existing docs which explain how everything is gonna be fine when you just type `tox` after installing `gcc` and `python3-dev`11:23
tristanand link to that11:23
juergbitristan: I've added a link to these buildbox instructions to the install page, with a remark only for master as we don't have different install pages for different versions11:24
juergbihttps://buildstream.build/source_install.html#installing_dependencies11:25
juergbithe instructions in CONTRIBUTING.md seem to be incomplete anyway, aren't they?11:25
juergbiI don't think we should have separate install instructions for CONTRIBUTING.md, except possibly extra dependencies for testing (but those are pretty much all installed by tox)11:26
tristanjuergbi, I think that before casd, tox installs everything basically so long as you have python, tox and venv11:30
juergbiI think we still need bubblewrap, fuse, possibly pygobject11:30
juergbias they aren't in pip11:30
juergbithe https://buildstream.build/source_install.html#installing_dependencies lists instructions for a few distros11:30
tristanTrue bubblewrap, pygobject we worked around and comes through pip as I understand11:30
tristanjuergbi, I don't think that the dependencies listed on the *website* however are related to experimental master11:31
juergbithere was a discussion before the website update was merged where we essentially concluded that we should have per-version install pages11:32
tristanas a separate issue, we're going to need to split that up yeah11:32
juergbibut I didn't want to block casd migration for this11:32
tristanthose should probably be a part of the actual docs11:32
juergbiso for now I added it to the shared website11:32
juergbiwith a remark11:32
juergbiI'm surprised that bubblewrap and co. are automatically installed via pip, have to give this a try11:34
juergbithere was also some discussion about automatically installing buildbox-casd via a wheel11:34
tristanjuergbi, not bubblewrap; pygobject11:34
juergbiah ok11:35
tristanthere was an ugly trick for that years ago which I couldnt get work, I think it was cs-shadow who got it working11:35
juergbiin any case, it seems the CONTRIBUTING.md instructions are incomplete. we should fix this up but I don't think we should duplicate the instructions11:36
juergbibut different instructions for master and 1.x branches definitely sounds sensible11:36
tristanSure, I do think that looking for an INSTALL or in the CONTRIBUTING as a developer is the first place to look11:40
tristanI think if we're going to have an explanation of how to run tests, build docs, etc etc... we should be linking to the right instructions from there if that's not where they go11:41
tristanNow just have to make this raise an error when the user explicitly sets `strict` to False... I wonder if I can give `None` as the default return to ScalarNode.get_bool()11:43
juergbitristan: I don't think that works. might have to handle it with a separate check before get_bool, i.e., if 'strict' in node11:48
tristanLet's see11:51
* tristan writing test case at this point anyway11:51
tristanGah11:51
tristanyou're right11:51
tristanjuergbi, I'm going to put the "Make explicit strict = False assignments trigger an error" part a separate patch (plus test case) at the end of the branch also for added clarity (as I split out the change of recursive element names for weak cache keys to the beginning as you suggested)11:57
tristanjuergbi, Sounds good for you ?11:57
juergbisounds good11:57
tristanjuergbi, new branch is up fwiw12:11
gitlab-br-botjuergbi approved MR !1542 (tristan/strict-rebuild->master: Support strict build dependencies) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/154212:22
gitlab-br-bottristanvb opened MR !1574 (tristan/bst-1/strict-rebuild->bst-1: Support strict build dependencies (bst 1)) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/157413:11
gitlab-br-botmarge-bot123 closed issue #254 (Strict rebuild needs to be a dependency semantic) on buildstream https://gitlab.com/BuildStream/buildstream/issues/25413:18
gitlab-br-botmarge-bot123 merged MR !1542 (tristan/strict-rebuild->master: Support strict build dependencies) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/154213:18
gitlab-br-botLaurenceUrhegyi opened issue #1116 (Split up the CONTRIBUTING doc) on buildstream https://gitlab.com/BuildStream/buildstream/issues/111613:24
*** tristan has quit IRC13:55
*** phoenix has joined #buildstream20:01
*** phoenix has quit IRC20:15
*** rdale has quit IRC21:17
*** tristan has joined #buildstream22:48
*** tristan has quit IRC23:37

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