IRC logs for #buildstream for Friday, 2020-07-10

*** tristan has quit IRC03:08
*** mohan43u has joined #buildstream03:50
*** mohan43u has quit IRC03:54
*** tristan has joined #buildstream04:02
*** ChanServ sets mode: +o tristan04:02
*** mohan43u has joined #buildstream04:05
*** tristan has quit IRC04:59
*** phildawson has joined #buildstream08:24
*** santi has joined #buildstream08:32
douglaswinshipSo.... buildstream 2 won't checkout files into a directory with a "." in its name?08:46
douglaswinshipI'm looking at some freedesktop-sdk CI jobs, and on master (using bst 1.4.3), it was checking out files in a directory called 'checkout/x86_64/vm/boot/virt.bst'08:48
douglaswinshipBut running the same job on the buildstream 2 branch, the files are ending up in 'checkout/aarch64/vm/minimal/virt' (without the '.bst' on the end).08:49
douglaswinshipEven though "bst artifact checkout" was given the same directory name (with the '.bst')08:49
douglaswinshipIs that supposed to happen for some reason? Or is it a bug?08:50
juergbidouglaswinship: bst shouldn't mangle the destination directory path. sounds like a bug08:52
douglaswinshipYup, that's what I thought.08:53
douglaswinshipOut of interest, how do we handle bugs, in regards to dev tags like "bst-1.93.4". Do we ever backport and update the tag? Or do they stand as they are, warts and all?08:55
juergbiversioned tags should never be updated/replaced. this holds for both stable releases and dev snapshots08:59
douglaswinshipThat's what I thought.09:00
juergbithe bug is fixed in the corresponding branch(es)09:00
juergbiif a backport were necessary, we could create a branch from bst-1.93.4 and create a bst-1.93.4.1 tag09:00
juergbihowever, for dev snapshots there shouldn't be a reason for this09:00
douglaswinshipYeah.09:00
douglaswinshipThat makes sense. I just asked because We have a branch of freedesktop-sdk that's specifically targetted at 1.93.4, and this bug means we'll have to change something if we want it to pass CI.09:02
douglaswinshipMight be a good reason to drop that branch09:03
douglaswinshipInteresting... from some quick testing, it only seems to happen to ".bst" in the filename09:04
douglaswinshipand only if it's at the very end.09:04
juergbithere is code to strip .bst in certain cases but that's meant for elements, not for user-specified directories09:10
douglaswinshipI tried it with other arguments, like "-o target_arch x86_64.bst". Got an error (as expected). So it's not happening to everything on the command line. I think it's just the directories.09:14
douglaswinshipWill file an issue.09:14
*** tristan has joined #buildstream09:54
*** ChanServ sets mode: +o tristan09:54
Frazerhi, i noticed that docstrings for classes and methods in BuildStream seem to be inconsistency, some being #\n#\n class, and some being class:\n"""<docstring>""". is this an issue that needs addressing, """""" docstrings seem to be more desired, espically as programs like vs code can read that and format is for the user in the ide10:34
coldtomFrazer, it's intentional https://docs.buildstream.build/master/hacking/coding_guidelines.html#documenting-symbols10:35
coldtomhttps://gitlab.com/BuildStream/buildstream/-/issues/1321 is probably also relevant10:36
Frazerare "internal" classes and methods private methods and classes, i.e. "_<classname|methodname>"?10:38
coldtomfrom a comment on that issue: "Private API: at least one of the parts begins with an _. For example, _foo.bar, foo._bar, foo.baz._foobaz(), etc"10:42
coldtomso it's anything with a leading underscore or in a module with a leading underscore10:42
Frazeroh right, just that i think ive come across a few public methods and classes that dont use the  """""" docstrings10:43
douglaswinshipThe artifact checkout bug is documented now: https://gitlab.com/BuildStream/buildstream/-/issues/136111:29
WSalmondouglaswinship, that is probly because when we dont supply a --directory the file is just the element name without the ".bst" should be a really easy fix, i will mark it as newcomer11:58
WSalmoni presume the logic is just being applied in the wrong order.. i seem to rember it being a bit of a faff tho as some of the code is in cli and some is in stream12:03
douglaswinshipi'll have a look after I grab some lunch12:48
douglaswinshipWSalmon: finally got to it. You were right, that was easy.15:11
douglaswinshipI think i spent 5 times longer finding the code, than i did fixing it.15:11
douglaswinshiphttps://gitlab.com/BuildStream/buildstream/-/merge_requests/199215:11
WSalmondouglaswinship, can you do a more descriptive description15:13
WSalmonyour issue dose a very good job of describing what is wrong but the MR should say what change you maid to fix it15:14
douglaswinshipSure :)15:15
douglaswinshipdone15:18
*** ash has joined #buildstream15:51
ashHi all, I'm trying to setup fsdk toolchains and i'm having this error. Any idea how to resolve it15:54
ashError loading user configuration: /home/user/.local/lib/python3.7/site-packages/buildstream/data/userconfig.yaml: Severely malformed YAML:15:54
ash'NoneType' object is not callable15:54
WSalmonhi ash, it looks like your having a install issue, its one that some times happens with bst-master but freedesktop generally support bst1.415:56
ashwill the reinstalling solve the problem?15:57
WSalmoni would highly recommend joining #freedesktop-sdk on freenode15:58
ashheh sure ll give it a try, thank you very much WSalmon15:58
WSalmonbut if your using the master branch of FD master or any of the stable branches then you will need bst-1.4 not bst-master, they are not compatible16:00
*** mohan43u has quit IRC16:59
*** mohan43u has joined #buildstream17:00
*** nanonyme has joined #buildstream18:22
nanonymeHi, is there plan to have another bst 1.93.x (or whatnot) tag soon?18:24
nanonymeIt would be helpful in helping freedesktop-sdk on the way towards bst 218:26
*** santi has quit IRC18:39
*** phildawson has quit IRC22:17
dftxbs3e_hello! is it possible to have multiple conditions inside one? Like: - arch == "i686" || arch == "ppc64le":23:42
*** dftxbs3e_ is now known as dftxbs3e23:42

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