IRC logs for #buildstream for Monday, 2017-12-04

gitlab-br-botbuildstream: merge request (jjardon/cmake_build->master: buildstream/plugins/elements/cmake.yaml: Always create build folder) #173 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/17300:03
gitlab-br-botbuildstream: merge request (jjardon/cmake_build->master: buildstream/plugins/elements/cmake.yaml: Always create build folder) #173 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/17300:10
*** tristan has joined #buildstream03:09
*** mcatanzaro has quit IRC04:29
*** tristan has quit IRC05:01
*** tristan has joined #buildstream05:03
gitlab-br-botbuildstream: merge request (issue-159->master: update install instructions for Debian (fix #159)) #172 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/17207:26
*** tiago has quit IRC09:43
*** bethw has joined #buildstream09:55
*** tpollard has joined #buildstream09:55
*** ssam2 has joined #buildstream10:10
*** WSalmon has joined #buildstream10:27
*** bochecha has joined #buildstream12:32
*** mcatanzaro has joined #buildstream12:46
*** tiago has joined #buildstream12:56
*** cs_shadow has joined #buildstream13:28
gitlab-br-botbuildstream: merge request (jjardon/cmake_build->master: buildstream/plugins/elements/cmake.yaml: Always create build folder) #173 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/17313:31
gitlab-br-botbuildstream: merge request (jjardon/cmake_build->master: buildstream/plugins/elements/cmake.yaml: Always create build folder) #173 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/17315:00
*** bochecha has quit IRC15:50
*** bochecha has joined #buildstream15:54
*** bochecha has quit IRC15:57
gitlab-br-botbuildstream: issue #159 (""BuildStream on your host" docs not accurate") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/15916:11
gitlab-br-botbuildstream: issue #159 (""BuildStream on your host" docs not accurate") changed state ("closed") https://gitlab.com/BuildStream/buildstream/issues/15916:12
gitlab-br-botbuildstream: merge request (issue-159->master: update install instructions for Debian (fix #159)) #172 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/17216:12
gitlab-br-botbuildstream: merge request (jjardon/cmake_build->master: buildstream/plugins/elements/cmake.yaml: Always create build folder) #173 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/17316:13
*** jude has quit IRC16:24
*** bethw has quit IRC16:35
ssam2i think i've figured out the hang i was seeing in the tests16:59
ssam2was 2 things, first that I was reporting issues with the logging API, but logging wasn't set up yet as we're still in early init17:00
ssam2and then also seemingly something going wrong with returning results through the queue, meaning it blocked there forever17:00
ssam2this makes me want to implement early logging before we merge multiple caches though17:00
ssam2the alternative is we abort if there's a problem with any cache, rather than just warning17:01
ssam2that would be a regression i suppose since it's what we do now17:01
ssam2would probably get annoying with multiple caches involved though17:01
*** bethw has joined #buildstream17:06
juergbissam2: that may make sense, assuming it can be implemented relatively quickly. although i don't like the increasing stack of interdependent merge requests (logging <- multi-cache <- recursive-pipelines)17:10
ssam2me neither17:10
ssam2i'll try just raising an exception if any cache fails17:10
nexusI think it would be better to update fix for https://gitlab.com/BuildStream/buildstream/issues/159 to be more like the solution i was discussing with ssam2, as i feel it would be better not to use backports if they arent needed17:15
ssam2what's the issue with backports ? surely it's easier than making people build ostree themselves17:17
jjardon[m]nexus: what is that solution? Do you have a WIP: MR available somewhere so we can have a look?17:17
ssam2which seems to go wrong every time somebody attempts it :-)17:17
gitlab-br-botbuildstream: merge request (invoking_page_changes->master: WIP: Separated :show-nested: into individual calls) #157 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/15717:19
juergbigiven that backports allow installation of individual packages and thus, shouldn't risk the stability of the rest of the system, i also don't see a real issue with them17:19
nexusjjardon[m]: that's my latest17:19
juergbihowever, either solution sounds reasonable to me17:20
juergbihaving ostree build instructions in the documentation may be useful in any case17:20
nexushmm17:21
nexusodd17:21
tlaterKeep both, linking to a page that describes the process if you don't want to mess with compilation/where debian fetches your software from?17:21
tlaterWe'd only have to decide on a 'default' then17:21
nexusif we want to have both thats fine with me17:24
jjardon[m]nexus: to be honest, I'd add the ostree compilation instruction here: https://ostree.readthedocs.io/en/latest/ (then we can link to that page if someone prefer to compile ostree instead use the package from backports)17:25
* ssam2 doesn't really want to have both as it adds to the maintenance burden17:25
ssam2we already let the instructions for Debian stable become out of date, for example17:25
ssam2what we want is distros to package us, of course17:26
ssam2but supplying a "fat binary" style package that can be installed and perhaps contans an embedded version of ostree might be a decent stopgap solution too17:26
tlaterThat's kind of what bst-here is for, isn't it?17:27
ssam2yes17:27
ssam2but clearly not everyone wants to use that17:27
ssam2although some definitely do17:27
ssam2(e.g. MacOS X people :-)17:27
nexus)17:27
nexushmm, so whats the call then?17:28
ssam2whatever is easiest ... so i would vote backports17:28
ssam2unrelatedly, we should also send a patch for https://ostree.readthedocs.io/en/latest/ to note that BuildStream uses it17:29
* tlater likes the idea of trying to improve ostree's build docs, if that's what the issue is17:29
tlaterOtherwise, backports seems simplest.17:29
nexusssam2: which versions are we using to develop? is there concern that they may introduce something not available in a backport that could cause problems?17:29
ssam2yeah. i don't like to duplicate them17:29
ssam2nexus, yes there's a chance of that17:30
* nexus is just thinking it could be advantagous to have the latest version available17:30
ssam2but still, https://ostree.readthedocs.io/en/latest/#building would be better than duplicating it ourselves17:31
ssam2*improving that17:31
ssam2those docs gloss over the use case where your distro packages ostree but too old a version17:31
nexusDoes this way of building apply to more than our specific use case then? enough to make it standard for ostree17:32
ssam2yes, there's nothing special about how I've suggested building it17:32
nexuskk17:32
tlaterAny project that needs an up to-date-ostree will need this to work on debian :)17:32
nexusso just send a patch to ostree with lines 104->111 then?17:33
nexusand link the doc17:33
ssam2lines 104 -> 111 of what ?17:33
nexusmy patch17:33
nexusbasically the instructions for building ostree17:34
ssam2where's that ?17:34
ssam2ah right17:34
nexushttps://gitlab.com/BuildStream/buildstream/commit/23791eca71b0dc8e5e63285c5beb099875a339ea17:34
nexusoh and 118+11917:34
ssam2more or less ... might need a bit of rewording to fit in with the existing ostree docs17:35
ssam2we need to explain what the problem is with their current docs17:35
ssam2perhaps they'll be happy with a change that recommends installing into a prefix like we suggest17:35
ssam2but yes, start off by sending them a PR with an explanation of why we want the change17:36
ssam2https://github.com/ostreedev/ostree/pull/1360 :-)17:40
tlater\o/17:42
nexus\o/17:42
*** cs_shadow has quit IRC17:42
jjardon[m]Hi, do we have something like post-install-commands in the bst format? OR do I have to override install-commands?17:49
ssam2you append to the install-commands with the (>) operator17:49
ssam2something like17:49
ssam2config:17:49
ssam2  install-commands:17:49
ssam2    (>):17:50
ssam2        - this will be run after the default install-commands17:50
jjardon[m]uh, nice; thanks!17:50
ssam2its obviously a bit of a yaml hack, but very convenient :)17:51
ssam2(it's not standard yaml, it's buildstream adding special meaning to certain dictionary keys)17:51
tlaterIt's prettier than post-x commands, and also prettier in code :317:51
* tlater is a big fan of this notation17:52
gitlab-br-botbuildstream: issue #168 ("Initialize logging early and use it in the frontend") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/16817:57
juergbissam2: regarding early logging, it could make sense to do it in two steps, first the timed activity part and only later the removal of the tickers17:59
juergbithis might reduce branch conflicts17:59
ssam2maybe so17:59
ssam2i think my multiple cache branch can avoid depending on it if we allow it to write warnings directly to stderr18:00
juergbiunless splitting would significantly increase the effort18:00
ssam2as a temporary workaround for lack of logging18:00
juergbiwould also be an option18:00
ssam2i've found that we can avoid the hang in the tests by waking up from queue.get() every now and again to see if all the subprocesses are already dead18:01
ssam2still not sure why they're not correctly reporting exceptions, but that should be more straightforward to debug now18:02
*** ssam2 has quit IRC18:03
*** bethw has quit IRC18:15
gitlab-br-botbuildstream: merge request (jjardon/cmake_build->master: buildstream/plugins/elements/cmake.yaml: Always create build folder) #173 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/17318:24
*** jude has joined #buildstream20:33
*** bochecha has joined #buildstream21:13
*** jude has quit IRC22:57
*** jude has joined #buildstream23:00
*** jude has quit IRC23:23

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