IRC logs for #buildstream for Thursday, 2018-09-13

*** alatiera_ has quit IRC00:50
*** tristan has quit IRC01:02
*** xjuan has quit IRC01:04
*** bochecha has joined #buildstream06:11
*** bochecha_ has joined #buildstream06:11
*** bochecha has quit IRC06:11
*** bochecha_ is now known as bochecha06:11
*** toscalix has joined #buildstream07:39
gitlab-br-botbuildstream: merge request (jjardon/pip_dependency->master: source/install_source.rst: pip plugin depends on host pip) #791 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/79107:40
jjardonCan I have a review of this ^ trivial change?07:43
gitlab-br-botbuildstream: merge request (jjardon/pip_dependency->master: source/install_source.rst: pip plugin depends on host pip) #791 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/79107:49
gitlab-br-botbuildstream: merge request (jjardon/pip_dependency->master: source/install_source.rst: pip plugin depends on host pip) #791 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/79107:49
gitlab-br-botbuildstream: merge request (jjardon/pip_dependency->master: source/install_source.rst: pip plugin depends on host pip) #791 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/79108:06
qinustyseems fair to me jjardon08:06
*** Lucas2701 has joined #buildstream08:09
Lucas2701Salut08:09
*** enzo has joined #buildstream08:10
Lucas2701salut enzo08:10
enzosalut08:10
gitlab-br-botbuildstream: merge request (jjardon/pip_dependency->master: source/install_source.rst: pip plugin depends on host pip) #791 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/79108:11
*** enzo has quit IRC08:14
*** Lucas2701 has quit IRC08:14
*** jjardon sets mode: +M 08:15
*** rdale has joined #buildstream08:33
valentindqinusty, have you started working on adding the git hashes on the release page?08:49
qinustyNope, I'm currently reviewing an MR from tiagogomes08:50
*** jonathanmaw has joined #buildstream08:56
tiagogomesjjardon that PR should have probably gone to the website repo08:57
tiagogomesThe install instructions will be removed from the buildstream repo08:58
jjardontiagogomes: what page?08:58
jjardonah, https://buildstream.build/source_install.html#installing_dependencies08:59
tiagogomesjjardon nevermind, I thought you were changing the buildstream installation instructions by pip :)09:00
* tiagogomes hasn't had coffee yet!09:00
WSalmondose anyone know anything about `bst source-bundle` it has a seperate code path to what i was looking at so thought i aught to think about it but when i try and run it in the examples in buildstream/doc/examples i get a file not found stack trace even though i can build the element i try to checkout out, dose any one know anything about this before i file a error report/issue in GL09:00
jjardontiagogomes: review, please? https://gitlab.com/BuildStream/website/merge_requests/8009:09
*** tristan has joined #buildstream09:11
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72609:12
tiagogomesmerged jjardon, thanks!09:13
*** abderrahim has quit IRC09:13
*** abderrahim has joined #buildstream09:13
tiagogomeshas tristan been around?09:14
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72609:19
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72609:23
gitlab-br-botbuildstream: issue #651 ("bst source-bundle fail's for the examples.") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/65109:26
*** lachlan has joined #buildstream09:30
*** ChanServ sets mode: +o tristan09:35
tristanoops, tiagogomes yes, I have been leaving at around 8pm though these past couple of days so was less present (or less overlapping) on IRC09:35
tiagogomestristan do you mind if I send a MR to address https://gitlab.gnome.org/GNOME/gnome-build-meta/merge_requests/76/ comments? Or you prefer to do it09:37
tiagogomesfreedesktop sdk is already fixed to not redefine max-jobs https://gitlab.com/freedesktop-sdk/freedesktop-sdk/merge_requests/51309:37
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72609:38
qinustyDoes anyone know what could be happening between strip-commands and caching which isn't timed?09:41
toscalixtiagogomes: qinusty tlater[m] sent a mail to the list summarising what is left to be done on the content side09:42
toscalixlet's try to finish the work this week09:43
toscalixand move on to other topics the next one09:43
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72609:43
toscalixah, valentind is back. Approved the MR09:45
gitlab-br-botbuildstream: merge request (richardmaw/builddir-sockets->master: Fix: While caching build artifact: "Cannot extract [path to socket file] into staging-area. Unsupported type.") #783 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/78309:47
tristantiagogomes, Ah, yes you can feel free please ! I missed the last comment from jjardon09:54
*** alatiera_ has joined #buildstream09:58
tristantiagogomes, as a result of those MRs, I also opened https://gitlab.com/BuildStream/buildstream/issues/64110:00
tiagogomestristan and I left a comment there debating if that issue is an issue :)10:01
qinustyAre we aware that the current overhead on the cache quota isn't 2GB? It's 2e9 bytes which is like 1.8GB (which just seems awkward)10:02
KinnisonIt's 2GB not 2GiB10:03
valentindOnly hard drive manufacturers use GB instead of GiB. Is there a reason we use GB here?10:04
Kinnisonease of typing the constant most likely10:05
qinustyWe don't... We use G to specify it.10:05
qinustySo it isn't clear exactly10:05
Kinnisonqinusty: where is the relevant code?10:05
qinustyartifactcache.py10:05
qinusty_calculate_cache_quota10:06
qinustyIt's just something I noticed while trying to figure out whether I've found an issue.10:06
qinustytiagogomes will have to correct me maybe here. But the idea of cache cleanup is that if I need 500M of space, I go through the oldest artifacts deleting them until I have enough space?10:06
*** ikerperez has joined #buildstream10:07
tiagogomesThe algorithm is correct, but I am not sure if the threshold is 500M10:07
qinustythat isn't a threshold10:07
qinustyit's just my element10:07
qinustyI'm using fallocate to generate arbitary sized artifacts.10:08
*** iker has quit IRC10:08
qinustySo, I disable the overhead (BST_TEST_SUITE=1). Set my quota to 5G. Build an element of size 600M, an element of size 4G and an element of size 500M (in separate builds)10:09
qinustyIn theory. We should delete the 600M artifact and be good to go?10:09
tiagogomesI think it should delete both the 4G and 600M10:10
qinustyWhy though?10:10
qinusty(That is what I'm observing)10:10
tiagogomesAs iirc there's an headroom of 2GB required. So it deletes until there cache size is no bigger than 3GB10:11
qinustyI disabled the headroom10:11
tiagogomesI didn't wrote that code, so my observation is theoretical10:11
qinustyOkay, but say the space is 5G, it shouldn't delete the 4G?10:12
tiagogomesah10:12
qinustyI will create a reproducible project for people10:12
tiagogomesOk, looking at the code10:14
tiagogomesIt cleans until the cache size is no bigger than 2.5 GB in your example10:14
cs-shadowtristan: Hi, I was thinking of finishing off the pypi-related issues. Seems like we only need to get through two MRs so when you find some time, I would appreciate your opinions on https://gitlab.com/BuildStream/buildstream/merge_requests/731 and https://gitlab.com/BuildStream/buildstream/merge_requests/71910:14
tiagogomesIt cleans until the cache size is bigger than cache_lower_threshold, and cache_lower_threshold is set to be half of the quota10:15
qinustyYes indeed it does. Well caught.10:16
valentindThis is strange.10:17
qinustytlater has confirmed this is so we don't have to cleanup after every build. He can't type in #buildstream for some reason10:18
qinustyIncoming message dump10:19
qinusty11:17 <tlater>  Also, as an aside, the 2G thing is specified by the systemd standard10:19
qinusty11:18 <tlater>  We figured it would be a good idea to use an existing format10:19
qinusty11:18 <tlater>  I think a comment in that area of code explains this, as well as the relevant documentation.10:19
qinusty11:18 <tlater>  So everything is working as expected - could you perhaps relay all of this?10:19
tiagogomesHas he identified itself with the NickServer?10:19
qinusty11:20 <tlater> I have! Haha. Not sure what's happening, I'll go figure it out.10:20
valentindWhen is the cleanup scheduled then?10:21
qinustycleanup occurs when we hit the quota during a build10:21
qinustyor pull I assume10:21
qinustytiagogomes, did you intend to leave the DEBUG messages in your MR? They're enabled by default I believe10:22
qinustywhich seems strange to me10:22
tiagogomesYes, there is a separate commit to add debug messages10:23
tiagogomesWhat is strange to me is that artifact clean operations doesn't provide any information at all10:23
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72610:23
tiagogomesThey should tell you which artifacts were removed, at least if debug is enabled10:23
qinustyI agree, but these should probably not be of type DEBUG. As they're enabled by default10:24
qinustyfor some reason10:24
qinustyI can't find any logic which differentiates them10:24
*** lachlan has quit IRC10:24
qinustyAh, only when coming through plugin.py10:24
qinustyWhich context.message doesn't. These are issues which will definitely be addressed in the message api rework.10:25
qinustyWhich I hope to get done next week before I end up back at Uni10:25
*** tlater[m] has left #buildstream10:25
tiagogomesWell if DEBUG messages are enabled by default that sounds a separate issue10:26
*** tlater[m] has joined #buildstream10:26
qinustyThey're not differentiated unless sent by the public api10:28
qinustyso I'll address that in the message API rework10:28
qinustybut other than that tiagogomes, I left a few points. Other than those, it looks good10:29
qinustyA lot of necessary tidy up :D10:29
qinustyIf someone could review https://gitlab.com/BuildStream/buildstream/merge_requests/765 before it falls too far behind on master. It'd be greatly appreciated :D10:30
qinustyvalentind, tiagogomes, tlater[m]. Are you currently working on any of the things toscalix mentioned in his email? If so which parts shall I avoid chipping away at10:31
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72610:32
tiagogomesqinusty I am not10:33
valentindqinusty, No.10:33
qinustyOkay, I'll take a look into the glossary page10:33
* tlater[m] thinks he can speak again10:35
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72610:39
*** lachlan has joined #buildstream10:41
tlater[m]qinusty: I'm not working on BuildStream today, but I'm planning on finishing up the known issues links and CAS write-up tomorrow.10:42
qinustySounds good.10:43
tristancs-shadow, done !10:44
qinustyOnce https://gitlab.com/BuildStream/buildstream/merge_requests/765 is reviewed I plan to finish up the message API work which you started tlater[m], messaging will be much clearer10:44
cs-shadowthanks :)10:44
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72610:44
tlater[m]qinusty: If you don't manage before University I'll clean up after you ;)10:45
qinusty:D That'd be good. The earlier it lands in the 1.4 cycle the better10:45
*** lachlan has quit IRC10:50
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72610:50
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72610:55
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72610:57
gitlab-br-botbuildstream: merge request (chandan/pypi-badge->master: README.rst: Add status badges for PyPI release and Python versions) #719 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/71910:58
gitlab-br-botbuildstream: issue #652 ("workspace builds do not correctly determin that they are not cached") changed state ("opened") https://gitlab.com/BuildStream/buildstream/issues/65211:03
*** lachlan has joined #buildstream11:14
*** lachlan has quit IRC11:19
*** lachlan has joined #buildstream11:19
gitlab-br-botbuildstream: merge request (tpollard/494->master: WIP: Don't pull artifact buildtrees by default) #786 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/78611:22
*** lachlan has quit IRC11:23
*** lachlan has joined #buildstream11:37
*** lachlan has quit IRC11:41
*** lachlan has joined #buildstream11:45
*** bochecha_ has joined #buildstream11:58
*** bochecha has quit IRC11:58
*** bochecha_ is now known as bochecha11:58
*** lachlan has quit IRC12:06
*** WSalmon has quit IRC12:12
gitlab-br-botbuildstream: merge request (tpollard/494->master: WIP: Don't pull artifact buildtrees by default) #786 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/78612:13
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72612:21
*** WSalmon has joined #buildstream12:27
gitlab-br-botbuildstream: merge request (chandan/pypi-badge->master: README.rst: Add status badges for PyPI release and Python versions) #719 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/71912:28
*** jonathanmaw_ has joined #buildstream12:37
*** jonathanmaw has quit IRC12:38
qinustytoscalix, is the intention to use buildstream.build links within feature_page? https://gitlab.com/BuildStream/website/blob/master/content/pages/feature_page.md#L11312:50
qinustyThis does allow for the easy copy and pasting which you mentioned however hinders the links working away from the buildstream.build url e.g. on local machines.12:50
toscalixqinusty: this was probably done by me before tiago pointed to me how to improve the links maintenance12:51
qinustyAlso we're missing the [FAQ] link I believe, I'll get an MR up for that soonish12:51
qinustyOkay, I'll do an MR with those two changes in12:51
toscalixouch, that is my fault probable12:51
toscalixprobably12:51
qinustyI also pushed https://gitlab.com/BuildStream/website/merge_requests/82 for review12:51
qinustyIt provides a slightly improved approach to feature pages going forward to future releases12:52
tristanqinusty, hard coded links to buildstream.build are broken, there are probably some remaining but need to be trivially fixed :)12:52
qinustyAgreed tristan, just wanted to check there wasn't a reason for having them in the reference style links at the bottom of the page12:52
gitlab-br-botbuildstream: merge request (mac_fixes->master: WIP: Implement compatibility fixes for MacOSX and WSL Blocks #411 and #412") #726 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/72612:52
toscalixqinusty: I understand your point but again, I advise against using specific release numbers in the feature and release page for now12:53
tristanqinusty, I think that the consensus was to always use the reference style links at the bottom of the page. I prefer not, but others disagreed enough so I don't mind :)12:53
toscalixexample, we get a nice reference about buildstream in zdnet. The journalist make a nice description of the tool and then links the release announcement and the feature page. If you add the number, in 6 month that reference is not valid since it will be pointed to an old version. Good reference can be a major source of visitors for over a year, depending on when the come from. So you want the12:54
toscalixcurrent release pages to remain with no version reference12:55
toscalixcontrolling that through dns is easy, but since we cannot, we will need to "move the pages", keeping the current version as release announcement and feature page12:55
tiagogomesCan we use conditionals on environment variables?12:56
toscalixso external references, but internal ones too, always work12:56
tristanagreed; there should be both I think, you should be able to link to "release 1.2", or link to "current release"12:56
toscalixI have explained this several times. This is the last one. I will approve whatever you decide is a correct approach12:56
tristantiagogomes, Yes we can12:57
tiagogomesnice12:57
tristantoscalix, I don't think I'm disagreeing, or didn't think so. I'm just saying from a UX perspective, there is a different meaning to link to "release 1.2" and link to "current release"; even if sometimes they point to the same content12:58
tristantoscalix, for example, if I write a blog post and link to the 1.2 release and talk about it; I'd like it to continue to link to that same release in 3 years12:59
toscalixI think my example has a significnatly higher impact13:03
toscalixafter the current release is substitute by a new one13:03
toscalixbuildstream in detail is not release focused13:04
toscalixand has the descriptions of the features13:04
toscalixpointing there could be a good compromise13:05
tristantoscalix, I don't think we should have to choose either one or the other. I see you mentioned something about dns and redirects or something; but there should be some simple technical way to support both links to the same content/page13:07
tristanmaybe it's a different solution ?13:07
tristanfor example, even placing a symbolic link in the repository could achieve this ?13:08
tristani.e. a symbolic "current.html" link which, when read; fetches the content of the "release-1.2.html" that is in the repository13:08
*** lachlan has joined #buildstream13:10
gitlab-br-botbuildstream: merge request (tpollard/494->master: WIP: Don't pull artifact buildtrees by default) #786 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/78613:10
qinustytoscalix the way my MR works. The latest feature page is ALWAYS feature.html. Previous version feature pages are feature-x.y.html. If we get a reference in an article somewhere, they will always direct to the latest but the archived feature pages will still be generated and accessibly.13:19
qinustys/accessibly/accessible13:19
qinustytristan, we could have the feature.html page set to redirect to feature-x.y.html which is the latest version? Meaning that a link to buildstream.build/feature.html will always be latest. But linking to a specific buildstream.build/feature-x.y.html would take you to a version specific feature page.13:22
tristanqinusty, I expect that to be possible indeed13:27
tristaneven, maybe just `ln -s feature-x.y.html current.html` would work ?13:28
tristanor feature.html13:28
qinustypotentially, but that means that every release, we need to perform symlinks rather than changing source13:28
tristanis there a difference ?13:29
qinustyyou're changing source anyway13:29
qinustyperhaps13:29
tristanI mean, you just update the symlink with the release13:29
qinustyWe will need a release procedure with things that need doing13:29
qinustyeither way13:29
qinustySo whatever works I guess13:29
tristanIf anyone writes an article about a specific release and links to that page; they will do it at the time of the release13:29
tristannot later13:29
tristanSo you'd want that link to not break13:30
tristanAt the same time, you also want a way to link to the "latest", they are just different purposes of links13:30
qinustyI know. I'm not sure which we want. What I'm saying is that if we link to {filename}feature.md we should get the LATEST, whether it redirects us to {filename}feature-x.y.html or is up for debate.13:35
toscalixour main target are people unaware of buildstream that, once aware of it, might be willing to try out the tool13:43
qinustyhttps://gitlab.com/BuildStream/website/merge_requests/84 Is a little tidyup toscalix13:47
qinustyBut back to my point with https://gitlab.com/BuildStream/website/merge_requests/82...13:47
*** tristan has quit IRC13:47
qinustyThe aim is that buildstream.build/feature.html will always point to the LATEST version features.13:47
Nexusjuergbi: could you give me some feedback on https://gitlab.com/BuildStream/buildstream/merge_requests/726 please? :)13:48
qinustyBut what I'm saying is that you still want the features of 1.2 when 1.4 comes out. So we have feature-1.2.md which is shown on the website as feature.html. When we release 1.4, feature.html becomes 1.4 relevant and feature-1.2.html becomes a thing13:49
*** alatiera_ has quit IRC13:57
*** alatiera_ has joined #buildstream13:57
* tiagogomes is sad that there's a new pull_tree method which doesn't update the cache size13:58
*** lachlan has quit IRC13:59
*** alatiera_ has quit IRC14:04
*** alatiera_ has joined #buildstream14:12
qinusty:( tiagogomes, happy to review any additional commits/changes you put up14:17
tiagogomesthe MR was already to big…14:17
tiagogomesAnd this is not easy to fix…14:17
* tiagogomes pulls hairs14:17
qinustyah :(14:17
gitlab-br-botbuildstream: merge request (richardmaw/subprocess-PWD->master: Address post-merge review of Ensure PWD is set in process environment) #788 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/78814:26
gitlab-br-botbuildstream: merge request (tpollard/494->master: WIP: Don't pull artifact buildtrees by default) #786 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/78614:26
qinustyDid anyone get any further with https://gitlab.com/BuildStream/buildstream/issues/609? maybe valentind or tiagogomes?14:35
*** lachlan has joined #buildstream14:37
valentindqinusty, I have not managed to reproduce.14:37
qinustyIt seems fairly reproducible for the GNOME guys. What approach do you think is best for filling up the drive? I'm currently hosting a server on my laptop which is also performing the local builds :/14:38
*** lachlan has quit IRC14:42
Nexusis #22 still an existing bug? there's been nothing done on it in over a year :p14:45
Nexushttps://gitlab.com/BuildStream/buildstream/issues/2214:45
qinustyIf anyone feels they can contribute to the glossary, feel free to check out my branch and push a commit https://gitlab.com/BuildStream/website/merge_requests/8514:46
NexusAlso, i've checked thr "bzr plugin" check box of https://gitlab.com/BuildStream/buildstream/issues/53 as !242 was said to resolve this and was merged14:49
NexusAre we still missing ostree from this?14:49
tiagogomesqinusty I didn't do anything for that issue, but didn't Tristan fixed this?14:53
qinustyNot that I am aware of.14:53
qinustyThe issue is open, no comments have been left.14:53
tiagogomesI thought his work on cache cleanup exclusivity was for this14:53
qinustyMight me, I'll verify?14:56
qinustys/me/be14:56
tiagogomesI think tlater[m] was also working on testing this14:59
tlater[m]Yep, we haven't reproduced it yet15:00
tlater[m]But hopefully I'll get there tomorrow15:00
qinustyI assume you're trying to reproduce it on 1.2.0?15:00
tlater[m]I was using master, but I suspect it will affect all versions15:01
qinustyWell tristan's potential fix is merged so15:01
qinustyThe error looks the same on the related client issue which tristan closed with his MR. I think they're the same since they use the same underlying logic15:02
tlater[m]qinusty: They don't, actually15:02
qinustyOh really?15:02
tlater[m]Different code paths entirely15:02
tlater[m]In this case I think we're running into multiple concurrent pushes screwing each other over, since the original algorithm wasn't designed with that in mind on the server end15:03
*** dtf has joined #buildstream15:03
tlater[m](Since we originally didn't have a server process that could manage the cache size properly)15:03
*** dtf has joined #buildstream15:04
*** lachlan has joined #buildstream15:06
WSalmonbig thanks to skullman for explaining some of the finer points of bobble rap to me :D15:13
*** lachlan has quit IRC15:14
valentindWe use grpcio, and in there they have 3rd party library for SSL with a strange clause in the copyright notice.15:18
valentind * The licence and distribution terms for any publically available version or15:18
valentind * derivative of this code cannot be changed.  i.e. this code cannot simply be15:18
valentind * copied and put under another distribution licence15:18
valentind * [including the GNU Public Licence.]15:18
* tlater[m] also enjoys bobble rap15:18
Nexuslol15:19
valentindSo grpcio, which is a derivative, cannot be Apache 2.0? And BuildStream cannot be GPL2.1?15:19
valentindI am not sure what are the implications of this clause.15:19
tlater[m]And autocorrect ;)15:20
persiavalentind: Do you have a link to the entire notice?15:20
valentindI am afraid it is going to be a problem to get grpcio included into distributions.15:20
valentindpersia, in the source tarball: https://files.pythonhosted.org/packages/f7/40/875c30426e2df486dbb032c28478b2d551f6f8531cbc566040507bd7a4e5/grpcio-1.15.0.tar.gz15:20
*** lachlan has joined #buildstream15:20
valentindpersia, file third_party/boringssl/ssl/handshake_server.cc15:21
valentindFor example.15:21
persiaAnything easier to reach?  If not, I'll dig in, but I'm sharing not much bandwidth with lots of folk today15:21
valentindIt is called boringssl.15:21
valentindpersia, https://boringssl.googlesource.com/boringssl/+/master/LICENSE15:21
valentindAh, it is actually license of the SSLeay.15:22
valentindI have never seen that before.15:22
valentindWell, since openssl is on distros, it should not be a problem then.15:23
persiavalentind: My read is that LICENSE is DFSG-free, so I'd feel comfortable suggesting inclusion to a distro if the distro policy approaches DFSG.15:24
persia*but* my read is also that it is incompatible with LGPLv2.1, do cannot be used as linked dependency of BuildStream.15:25
valentindBut I would expect that there are LGPL2.1 libraries linking to openssl.15:26
persiaI also have the unqualified opinion that it should be safe to ship that code alongside Apache 2.0 licensed code, but I would be uncomfortable distributing a binary constructed by integration of that code and anything licensed under Apache 2.0.15:26
persiavalentind: Last I checked, most distros with LGPL or GPL software used gnutls to do ssl for license-compliance reasons.15:27
persiaNote that GNUTLS is itself under a license that makes some uses unsuitable, but for distros that publish all source code anyway, that's not as much of a problem.15:27
valentindpersia, so should we provide a patch to grpcio to optionally link to gnutls?15:29
persiaWhat goal is trying to be accomplished?15:29
valentindI am looking into packaging BuildStream for Debian.15:29
valentindAnd we need to make packages of grpcio, because this is not available on Debian.15:30
persiaAnd you want to be able to link LGPL software against the grpcio package in Debian?15:30
persiaThen, yes, I'd suggest a distro-patch in Debian to use gnutls instead of boringssl, assuming they are compatible.15:31
valentindOK15:31
persiaAlso, I'd very strongly suggest having a chat with an ftp-admin: they are the folk who are qualified to determine if a given licensing chain is considered acceptable to Debian.15:31
*** lachlan has quit IRC15:31
persiaI can suggset things that might be or might not be, but nothing I say will actually mean anything, so better to get a real answer before starting work.15:31
valentindI will probably not patch grpcio yet. I will try to first have something working. Then I can go through licensing issues.15:32
persiaIf you don't have another context to reach one, writing to debian-legal@l.d.o can be a good way to drie a discussion.15:32
persiaThe ftp-admins often take input from d-l discussions to make their decisions.15:33
persiaI very strongly recommend starting the discussion first.  The discussion is likely to take many days and may take weeks,  Packaging two things might only take a few hours, but keeping state on the packaging and reworking it constantly based on input surely takes at least as klong as the discussion + 1 week.15:34
persiaNote that if you want someone other than Debian to distribute or publish the results of your experimentation (say gitlab, because you want to put it in CI), you'll want to make sure they are comfortable with the licensing choice.15:35
valentindI will probably not publish the binaries.15:36
persiaThat makes it safer.  There's lots of different actual rules (and I don't know them all), but if you generally don't mix the codebases (keep different files in different locations), there is a high chance it is acceptable to publish the sources somewhere for consideration and/or review.15:38
*** lachlan has joined #buildstream15:39
*** lachlan has quit IRC15:43
*** ikerperez has quit IRC16:03
gitlab-br-botbuildstream: merge request (issue-642-Invalid_project.conf_seen_as_missing->master: Incorrect error when malformed project.conf) #792 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/79216:05
*** lachlan has joined #buildstream16:07
*** lachlan has quit IRC16:11
gitlab-br-botbuildstream: merge request (issue-642-Invalid_project.conf_seen_as_missing->master: Incorrect error when malformed project.conf) #792 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/79216:12
Nexusadds68: does this resolve #642 for you? https://gitlab.com/BuildStream/buildstream/merge_requests/79216:13
Nexusalso please can someone else review https://gitlab.com/BuildStream/buildstream/merge_requests/792 for me?16:13
adds68Nexus, yes that patch looks sensible to me16:14
gitlab-br-botbuildstream: merge request (issue-642-Invalid_project.conf_seen_as_missing->master: Incorrect error when malformed project.conf) #792 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/79216:14
gitlab-br-botbuildstream: merge request (issue-642-Invalid_project.conf_seen_as_missing->master: Incorrect error when malformed project.conf) #792 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/79216:18
*** lachlan has joined #buildstream16:19
tlater[m]Nexus: What existing error do you match? Do we have a condition for INVALID_PROJECT_CONF somewhere already?16:22
* tlater[m] may have forgotten about such an exception.16:23
Nexustlater[m]: no it's to match MISSING_PROJECT_CONF16:23
tlater[m]It just seems odd that a yaml error needs to change.16:23
Nexusjust so you can tell at a glance, it's purely a readability thing16:23
adds68Nexus, when you reply 'n' you do receive a yaml error16:23
adds68Nexus, so maybe defining a new error is not needed, but i'm not sure16:23
tlater[m]Nexus: I disagree that we need a new error type here.16:24
*** lachlan has quit IRC16:24
tlater[m]It's fundamentally incorrect yaml, and the error already points you to the correct file.16:24
Nexusthat's fine, though the addition of MISSING_PROJECT_CONF is also mute in that case16:24
Nexusi was simply following that pattern16:25
tlater[m]Yep, I think it's a bit pointless. Just re-raise the INVALID_YAML16:25
Nexuskk16:25
Nexuss/mute/moot/16:26
Nexuscan't spell today16:26
tlater[m]It's a nit, of course, but it would be a bit pointless to have a different error thing for every possible exception you can encounter, so let's not start defining things when they aren't necessary :)16:27
gitlab-br-botbuildstream: merge request (issue-642-Invalid_project.conf_seen_as_missing->master: Incorrect error when malformed project.conf) #792 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/79216:29
Nexusthere. done. you happy now??!? *ruining all my fun ;-;*16:30
gitlab-br-botbuildstream: merge request (tiagogomes/issue-573->master: Reduce IO overhead caused by artifact cache size calculation) #671 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/67116:32
*** phildawson has quit IRC16:33
*** phildawson has joined #buildstream16:33
*** toscalix has quit IRC16:36
gitlab-br-botbuildstream: merge request (richardmaw/fix-chroot-sandbox-devices->master: WIP: fix chroot sandbox devices) #781 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/78116:38
gitlab-br-botbuildstream: merge request (richardmaw/fix-chroot-sandbox-devices->master: fix chroot sandbox devices) #781 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/78116:47
gitlab-br-botbuildstream: merge request (richardmaw/element-cache-state-simplify->master: Simplify element state by removing `__cached`) #784 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/78416:50
*** lachlan has joined #buildstream16:56
*** lachlan has quit IRC17:00
*** lachlan has joined #buildstream17:14
gitlab-br-botbuildstream: merge request (richardmaw/element-cache-state-simplify->master: Simplify element state by removing `__cached`) #784 changed state ("merged"): https://gitlab.com/BuildStream/buildstream/merge_requests/78417:14
finnAnyone know what the minimum version of bubblewrap which is supported for buildstream/buildbox?17:15
*** phildawson has quit IRC17:16
finnI'm currently using Debian stretch, with bubblewrap 0.1.717:16
finnI'm getting an error with buildbox which says "Unknown option --die-with-parent"17:16
*** lachlan has quit IRC17:18
finnManaged to build from source, so my problem is solved :)17:28
gitlab-br-botbuildstream: merge request (jonathan/pickle-yaml->master: WIP: Add a cache of parsed and provenanced yaml) #787 changed state ("opened"): https://gitlab.com/BuildStream/buildstream/merge_requests/78717:43
*** jonathanmaw_ has quit IRC18:01
*** cs-shadow has quit IRC18:04
*** alatiera_ has quit IRC18:32
KinnisonI think we recommend bubblewrap from backports18:36
*** tristan has joined #buildstream18:59
*** rdale has quit IRC19:08
*** tristan has quit IRC19:38
*** bochecha has quit IRC20:04
*** finn has quit IRC21:53
*** xjuan has joined #buildstream23:21

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