IRC logs for #buildstream for Tuesday, 2019-06-11

*** persia has quit IRC05:51
*** persia has joined #buildstream05:52
*** tristan has quit IRC06:01
*** tristan has joined #buildstream06:23
gitlab-br-bottristanvb opened MR !1389 (tristan/exit-on-nonblock-terminal-1.2->bst-1.2: _frontend/cli.py: Exit with error if output streams are set to nonblocking) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/138907:29
*** bochecha has joined #buildstream07:43
benschubertHey tristan , would you have time to look at https://gitlab.com/BuildStream/buildstream/merge_requests/1388 ?08:11
*** ChanServ sets mode: +o tristan08:44
tristanAh thanks08:44
*** jonathanmaw has joined #buildstream09:06
*** raoul has joined #buildstream09:21
*** tristan has quit IRC09:26
jjardonhi jonathanmaw ; would it be possble to tag another release of bst-external when you have a second, please?10:03
*** tristan has joined #buildstream10:22
*** bochecha_ has joined #buildstream10:56
*** bochecha has quit IRC10:57
*** bochecha has joined #buildstream10:57
*** bochecha_ has quit IRC10:59
jonathanmawokie doke11:17
jonathanmawjjardon: tag pushed https://gitlab.com/BuildStream/bst-external/tree/0.14.011:47
laurenceis the website https://docs.buildstream.build/ relevant to 1.2 stable? or master?11:49
*** ChanServ sets mode: +o tristan11:52
tristanlaurence, 1.211:52
tristanlaurence, except we noticed that we never backported some of the adjustments we made to the docs at the time of creating the website11:53
tristanso oddly, the install guide now appears twice (once on the website where we moved it to, and again in the buildstream docs themselves)11:54
tristanlaurence, we were discussing that it might be time to revisit https://gitlab.com/BuildStream/buildstream/issues/17811:54
laurencei was thinking of a quick patch to master to explicitly mention the docs reference an unstable version - but actually i've not seen them, they might mention it11:57
laurencewhat's the url for master docs?11:57
tpollardI don't like that the install from source will default to bst master on https://docs.buildstream.build/11:59
tristanlaurence, master docs are still at https://buildstream.gitlab.io/buildstream/12:08
tristantpollard, Do they ? I think they clearly indicate that you should choose the right tag12:08
tristanat least I recall making sure they mentioned that12:08
tristanwe even have the badges which indicate the latest release tag12:08
tristantpollard, https://buildstream.build/source_install.html#install_git "Before installing..."12:09
tpollardI was referring to https://docs.buildstream.build/12:10
tristantpollard, that's not supposed to have any install instructions12:11
tristan<tristan> so oddly, the install guide now appears twice (once on the website where we moved it to, and again in the buildstream docs themselves)12:11
laurenceright, so we need to fix that, remove it from 1.212:12
tristantpollard, the changes we made to master docs at the time of creating the website need to be backported to the branch so that the website displays what we intended12:12
laurencei may be a little ignorant here, but: 1.2 is now frozen in time, and should just generate the stable docs that the website shows, so we just backport to the 1.2 branch12:12
tristanlaurence, That is more or less correct yes: The docs published on docs.buildstream.build are published from the bst-1.2 branch, and yes as I said, need to backport those specific changes to the website12:15
tristanlaurence, I recall quite specifically that we did not care about backporting website/docs related things after releasing 1.212:15
tristanbecause we published all of that from master, and since we were never going to break API, it was going to be more or less fine (we'd just see new APIs appear with "Since: 1.4" and know that that is still not available)12:16
laurencei see what you're saying....i think, ha12:18
laurencedo we have a firm list of the backports ? seems like a nice low hanging fruit if we do12:19
laurenceand i think that a note at the top of the master docs to say they are master / unstable and anyone looking for stable 1.2 should go to <insert url>12:20
tpollardI think it'd be nice to have everything under one url, with master under something like 'latest' and then specific versions under their own etc12:21
tristanlaurence, found it12:24
tristanhttps://gitlab.com/BuildStream/buildstream/merge_requests/87212:24
tristan3738dd06eeb59b8d275f59890dc812e00d274ff012:24
tristanThat's precisely the point in time where we finished migrating the install guide to the website and out of the repo12:25
tristantpollard, that is https://gitlab.com/BuildStream/buildstream/issues/178, indeed12:25
tristantpollard, for the documentation itself, it should have a link to every stable version + master ideally, and you should be able to choose12:25
laurencewhy do we not want master to have an install guide though? it'd be different to stable (no ostree, etc) but master still needs to have an install guide, no?12:25
tristansigh12:26
tristansecond round of same conversation for me today12:26
laurencetristan, sorry, just point me to it12:26
tristanlaurence, there are two sides of this... one is: The install guide is not the installation documentation, although they are currently the same12:26
tristanlaurence, on the phone12:26
tpollardtristan: thanks for that link12:26
tristanlaurence, I mean.. the conversation happened on the phone, I'm not on the phone right now :)12:27
laurencetristan, ha, got that :)12:27
tristanSo... the install guide is intended for the innocent newcommer who needs to get off the ground, ideally it should just say "use apt-get install buildstream"12:27
tristanAnd, at the time, we didnt expect so much churn, so we figured it would be fine to keep the install from source at that location too12:28
tristanlaurence, Point being, the instructions to install 1.4 were not really going to be different from 1.2 or 1.012:28
tristanNow at this stage, since things are diverging, it might make sense to have advanced instructions about installing in the repo, separated by version12:29
tristani.e. with master you now need cython and compilers depending on your install scenario12:29
tristanlaurence, However, the principle remains that: The website should give you an easy guide, for people who just want to use it right now - and deep(er) in the source code you should be able to find out how to hack your way through getting the thing built and installed from upstream source code12:30
tristanthat is mostly for hackers like us, not for end users12:30
laurencealright, yes this is clear12:31
tristantraditionally that goes into a text file called INSTALL, but meh, it's 2019 and we don't mind having it in rst and rendered in pretty ways I guess12:31
laurenceok, seems time for a solution to https://gitlab.com/BuildStream/buildstream/issues/17812:33
tristanlaurence, at this point, actually solving it seems like less effort than re-discussing it every few months :)12:39
laurencetristan, surely it's solved problem already, somewhere12:41
laurence(and don't call me Shirley!)12:41
tristanWe can work around it in some way12:43
tristanlaurence, https://gitlab.com/BuildStream/docs-website12:43
tristanThat is a repo which we use to publish the docs on docs.buildstream.build12:44
tristanlaurence, it currently yanks the built documentation from the latest built artifacts of bst-1.2 and shoves them into docs.buildstream.build12:44
tristanperhaps it could yank *both* and shove them *both* there, while generating a toplevel selection page12:44
tristana choose your poison page which lets you choose which docs to view12:45
SotKis there a reason we're self-hosting the docs rather than just using readthedocs?12:46
SotK(readthedocs handles versioning for you)12:46
tristanAnother conversation I think we had many months ago12:51
tpollardI'm looking at the subproccesing of stream entry points into the scheduler, has anyone used the python deco package before?12:51
tristanSotK, I think readthedocs wants to build it for us, and/or impose constraints on the docs you publish12:52
tristanI don't recall exactly what it was12:52
tristanI was never fond of the idea of publishing our docs there though12:52
tristanSotK, https://gitlab.com/BuildStream/buildstream/issues/178#note_58726525 ... looks like it doesnt let you run custom build commands12:54
tristanlike running BuildStream to collect the output and render them in the docs as we do12:54
tristanit wants to be in control12:54
SotKah, I didn't realise that you need to be able to run buildstream to build the docs, ignore that suggestion then :)12:59
laurenceirc monthly team meeting starting in 3 minutes13:58
laurenceover on #buildstream-meetings13:58
gitlab-br-botmarge-bot123 closed issue #1045 (Overnigth tests are failing: "No matching distribution found for setuptools>=36.6.0") on buildstream https://gitlab.com/BuildStream/buildstream/issues/104514:13
gitlab-br-botmarge-bot123 merged MR !1388 (bschubert/fix-overnight->master: tests: Build wheel before installing BuildStream in overnight tests) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/138814:13
jjardonjonathanmaw: thanks!!14:52
*** tristan has quit IRC14:58
laurenceAh, i notice the upstream bug in marge bot has been closed earlier today  - https://github.com/smarkets/marge-bot/issues/18815:02
*** bochecha has quit IRC15:04
tpollardlaurence: nice!15:09
*** shash has joined #buildstream15:20
*** tristan has joined #buildstream15:28
jonathanmawhmm, I think I've painted myself into a corner while trying to define what state the frontend should have access to. I've ended up creating a `State` class that holds all this state, and can have callbacks assigned that will report changes to this State, but I've come to the conclusion that the function calls to State to change its data would end up sending the exact same data to the frontend by calling the callbacks, too16:02
jonathanmawso now I'm having trouble seeing any benefit to this plan that I originally made16:02
jonathanmawi.e. at the moment I could manage just as well by either not actually holding any information in State, or giving the frontend direct access to the State object16:03
jonathanmaw(with process separation, the equivalent would be giving State shared memory and locks16:04
jonathanmaw)16:04
WSalmonjuergbi, not buildbox related but enbeded realated, if i want the sand box to alwasy run as spesific uuid, can i set it in my element?16:20
juergbiWSalmon: you can specify the uid, yes: https://buildstream.gitlab.io/buildstream/format_declaring.html#sandbox16:22
WSalmonthanks16:22
juergbiyou can set the default in a project and you can override it per element16:22
WSalmonthanks16:22
gitlab-br-bottpollard opened MR !1392 (tpollard/shellbuildtree->master: _frontend/cli.py: Tweak non-interactive bst shell buildtree handling) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/139216:40
*** jonathanmaw has quit IRC17:07
*** raoul has quit IRC17:37
*** bochecha has joined #buildstream18:54
*** slaf_ has joined #buildstream19:01
*** slaf_ has joined #buildstream19:01
*** slaf has quit IRC19:03
*** slaf_ is now known as slaf19:03
*** shash has quit IRC20:47
*** bochecha has quit IRC22:40

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