IRC logs for #buildstream for Friday, 2017-08-04

*** bochecha has joined #buildstream00:20
*** bochecha has quit IRC00:52
*** bochecha has joined #buildstream01:30
*** bochecha has quit IRC02:02
*** bochecha has joined #buildstream02:21
*** bochecha has quit IRC02:53
*** bochecha has joined #buildstream03:01
*** bochecha has quit IRC03:52
*** bochecha has joined #buildstream04:03
*** bochecha has quit IRC05:20
*** palasso has joined #buildstream05:23
*** bochecha has joined #buildstream05:40
*** bochecha has quit IRC06:12
*** bochecha has joined #buildstream06:20
*** juergbi has quit IRC06:51
*** juergbi has joined #buildstream06:51
*** tristan has quit IRC07:15
*** tristan has joined #buildstream08:59
*** ChanServ sets mode: +o tristan08:59
bochechahi, I'm still trying to produce an ostree repo out of my buildstream build pipeline: a repo that contains a tree with the installed built artifacts, and which could be checked out and deployed on a server09:18
bochechatristan, juergbi: I was told yesterday that one of you might be able to help? :)09:18
juergbihi bochecha, we don't yet support output to a user-specified ostree. we definitely want this, though, will be useful for flatpak, among other things09:28
juergbiright now you have to manually/separately checkout the result with 'bst checkout' and then commit this to an ostree repo09:28
bochechaalright, I can do that for now :)09:29
juergbiwe will likely add support for tar export (like git archive) to buildstream core. ostree export support might then be built on top of tar stream export (ostree has tar import support) or directly as a plugin09:30
tristanWe were talking about having a tarball option to `bst checkout`, and since ostree has a way to read a tar stream (I think ?) this should be good enough to just pipe into an ostree commit command09:30
tristanright09:30
juergbi:)09:30
bochechaI'm investigating BuildStream for Libraries Without Borders, we'd like to move away from building a big Debian package (with all the dependencies inside) to building an OSTree repo, so that clients can have static-deltas and other nice OSTree features09:30
bochechaat the same time, the artifacts caching of BuildStream makes me ♥_♥09:31
juergbibochecha: have you considered flatpak?09:32
bochechajuergbi: I have09:33
bochechajuergbi: but we're doing web apps09:33
juergbiah ok09:33
bochechaI talked with alex about it, and that's not a use-case he wants to support in Flatpak (at least not in the short to medium term)09:33
juergbiyes, don't know how easily flatpak could be generalized09:33
juergbiit could be interesting to support flatpak for more than just desktop apps09:34
bochechawhich makes sense of course, flatpak is great at what it does specifically because it has a tight focus on desktop apps :)09:34
juergbiyes, if it added too much complexity, it would be better to keep it focused and possibly develop a separate tool for other use cases09:34
bochechafor now, after playing with it for a few days, I'm starting to feel confident that BuildStream could really help us09:35
juergbigreat09:36
bochechawe might have to develop some small tooling around it for our specific use-cases (that remains to be seen, I'd need to manage to build a complete thing), but that could just be wrapper to make things nicer, BuildStream seems to provide the fundamentals already :)09:36
tristanI dont know how you want to deploy but I expect it will be fairly simple to writeup a docker deployment element, was hoping to cook one up last week but ran out of time09:37
tristan(that and, I just dont know enough about docker myself)09:37
tristanbochecha, you might also be interested in looking at https://gitlab.com/BuildStream/debootstrap-ostree/... which is basically just a silly little script which will turn debian into a revisioned ostree base runtime09:39
bochechatristan: I have looked at it :)09:39
bochechaI'm doing the same but with a Fedora 26 base (because Python 3.6)09:40
*** tlater has joined #buildstream09:42
tristanbochecha, I'll be away for 2 weeks vacation (but will stop into irc at least a few times a week I expect) and juergbi will be around in that time; just let us know if you need a hand figuring anything out :)09:44
tristanAnd if you just so happen to writeup a docker deployment element (hint: could be a derivative of ScriptElement), then we want one ! :D09:45
tristanbut one will probably appear soon anyway :)09:46
bochechatristan: we want use docker09:46
bochechasorry09:46
bochechaI mean we **won't** use docker09:46
tristanAh sure, so you want to deploy a bootable system image ?09:47
tristanThose are a bit more tricky09:47
tristancause anyway, bootloader and image partitioning and such09:47
bochechano, not a bootable system image09:48
bochechajust an ostree repo, with a checkout on the server09:48
bochechaand then bubblewrap to run the thing09:48
tristanAh so something fairly custom :)09:48
tristanSure09:48
bochechayeah, we deploy on some very low-performance ARM boards, and last time we had tested Docker had more overhead than Bubblewrap09:49
bochechaOSTree also allows downloading less stuff than Docker's layer systems, which is a very desirable property for us (some boxes have extremely bad Internet access, we deploy in refugee camps and war zones)09:50
gitlab-br-botpush on buildstream@cross_platform (by Tristan Maat): 1 commit (last: platform.py: Fix typo) https://gitlab.com/BuildStream/buildstream/commit/37f2c84945d35b8b7e6e683334d0d7f829a2316e09:57
gitlab-br-botpush on buildstream@cross_platform (by Tristan Maat): 1 commit (last: _sandboxchroot.py: Fix platform) https://gitlab.com/BuildStream/buildstream/commit/8b37644ac9cddaabe65aa7ec7c7ac0c9d1f27b3e10:09
gitlab-br-botpush on buildstream@cross_platform (by Tristan Maat): 1 commit (last: _sandboxbwrap: Make psutil not a strict dependency) https://gitlab.com/BuildStream/buildstream/commit/0940710cf44954c646cbc30b6bcc58009d00a09a11:15
gitlab-br-botpush on buildstream@cross_platform (by Tristan Maat): 1 commit (last: _sandboxbwrap: Make psutil not a strict dependency) https://gitlab.com/BuildStream/buildstream/commit/f309fadac4686e4fd6b1c420290131974d6c547d11:18
gitlab-br-botpush on buildstream@cross_platform (by Tristan Maat): 1 commit (last: _sandboxbwrap: Make psutil not a strict dependency) https://gitlab.com/BuildStream/buildstream/commit/fde68af8cbcfa8960d276852ffa292331aea093911:21
*** tlater has quit IRC11:31
bochechacould BuildStream automatically add ".bst" to the CLI arguments representing targets?11:51
bochechaI keep forgetting to type it ^_^11:51
juergbimay be worth considering. at the very least we should create a bash completion helper12:00
*** tlater has joined #buildstream12:03
bochechayeah, bash completion would be great, but it probably won't work when installing buildstream from git with `pip --user`12:07
tlaterIt's possible according to the bash-completion FAQ12:33
tlaterThough I'm not sure if it would actually load12:33
bochechayeah, I guess you'd have to explicitly load the completion file where it is installed, from your bashrc12:34
tlaterIt *should*, if you install to the directory specified by `pkg-config --variable=completionsdir bash-completion`12:35
tlaterBut user installs are an edge case for which that probably isn't actually something sensible12:35
bochechaexactly12:36
bochechaI'm happy to wait for bash-completion until BuildStream gets to the point where distro packages start making sense :)12:36
*** igor has quit IRC12:41
*** anahuelamo_ has quit IRC12:50
*** anahuelamo has joined #buildstream12:52
gitlab-br-botpush on buildstream@cross_platform (by Tristan Maat): 2 commits (last: Add platform.switch function) https://gitlab.com/BuildStream/buildstream/commit/3f5ff2433350f06ec7822a9ecd6fc15de3d16ff213:54
*** tlater has left #buildstream14:19
gitlab-br-botbuildstream: issue #59 ("`bst source-bundle` doesn't work") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/5915:32
gitlab-br-botbuildstream: issue #60 ("Status message when doing cache network operations") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/6015:40
gitlab-br-botbuildstream: issue #61 ("Add `all` value to depends `type`") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/6115:45
*** tristan has quit IRC16:00
gitlab-br-botbuildstream: issue #62 ("Extend the `tar` source plugin to include `etag` support") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/6216:01
*** tristan has joined #buildstream16:29
*** bochecha has quit IRC16:58
*** tristan has quit IRC17:06
*** tiagogomes has quit IRC17:55
*** tristan has joined #buildstream21:04
*** palasso has quit IRC21:12
*** palasso has joined #buildstream21:50
*** palasso has quit IRC22:23

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