*** nimish has joined #buildstream | 02:37 | |
*** kapil___ has joined #buildstream | 04:23 | |
*** tristan has joined #buildstream | 04:53 | |
*** nimish has quit IRC | 05:33 | |
*** nimish has joined #buildstream | 05:59 | |
*** nimish has quit IRC | 06:00 | |
*** nimish has joined #buildstream | 06:00 | |
*** nimish has quit IRC | 06:05 | |
*** nimish has joined #buildstream | 06:06 | |
*** nimish has quit IRC | 06:21 | |
*** nimish has joined #buildstream | 06:21 | |
*** nimish has quit IRC | 06:26 | |
*** nimish has joined #buildstream | 06:26 | |
*** nimish has quit IRC | 06:31 | |
*** nimish has joined #buildstream | 06:32 | |
*** nimish has quit IRC | 06:37 | |
*** nimish has joined #buildstream | 06:37 | |
*** nimish has quit IRC | 06:47 | |
*** nimish has joined #buildstream | 06:47 | |
gitlab-br-bot | tristanvb opened issue #946 (Local source allows inclusion of random/data data) on buildstream https://gitlab.com/BuildStream/buildstream/issues/946 | 06:58 |
---|---|---|
*** ChanServ sets mode: +o tristan | 07:00 | |
tristan | tpollard, Filed that issue we discussed yesterday ^^^ | 07:00 |
tristan | I think some of that is valuable information for https://buildstream.build/faq.html | 07:01 |
*** nimish has quit IRC | 07:04 | |
*** tristan has quit IRC | 07:05 | |
*** nimish has joined #buildstream | 07:23 | |
*** tristan has joined #buildstream | 08:10 | |
*** ChanServ sets mode: +o tristan | 08:10 | |
*** toscalix has joined #buildstream | 08:39 | |
*** kapil___ has quit IRC | 09:03 | |
*** nimish has quit IRC | 09:04 | |
*** nimish has joined #buildstream | 09:25 | |
gitlab-br-bot | tristanvb opened issue #947 (Errors lack context when files are not found) on buildstream https://gitlab.com/BuildStream/buildstream/issues/947 | 09:29 |
*** nimish has quit IRC | 09:30 | |
*** raoul has quit IRC | 09:39 | |
*** raoul has joined #buildstream | 09:45 | |
gitlab-br-bot | tristanvb closed issue #641 (Error out if `%{max-jobs}` is substituted in `Element.node_subst_member()`) on buildstream https://gitlab.com/BuildStream/buildstream/issues/641 | 09:46 |
gitlab-br-bot | juergbi opened issue #948 (Import elements allow build dependencies) on buildstream https://gitlab.com/BuildStream/buildstream/issues/948 | 09:47 |
tristan | Ah that is easy to fix | 09:47 |
juergbi | tristan: read the full description ;) | 09:48 |
tristan | Oh maybe it's untrue though | 09:49 |
tristan | juergbi, Are we certain that it is impossible to need a file to be staged in order to build ? | 09:49 |
tristan | I mean, I know that runtime dependencies are generally relied upon to manually ensure staging order | 09:50 |
juergbi | def stage(self, sandbox): | 09:50 |
juergbi | pass | 09:50 |
tristan | but maybe build dependencies are also required | 09:50 |
*** jonathanmaw has joined #buildstream | 09:50 | |
juergbi | indirect build dependencies shouldn't matter | 09:50 |
juergbi | for staging | 09:50 |
tristan | Oh wait a sec that's right | 09:51 |
tristan | It is meaningful to have a build-only dependency *on* an import element, but not the other way around of course | 09:51 |
*** nimish has joined #buildstream | 09:51 | |
juergbi | meaningful in the sense of possibly different scheduling/pipeline order | 09:51 |
juergbi | but not meaningful in any other way, right? | 09:52 |
tristan | And having an import element declare a runtime-only dependency is enough to ensure that the import is always found "on top" of the other | 09:52 |
juergbi | yes | 09:52 |
tristan | juergbi, It can be meaningful to build-only depend on an import element for probably a variety of reasons, in any case that an element may need some flat data for a build (say a cracklib words database for example) | 09:53 |
tristan | but that anyway is not under discussion here :) | 09:53 |
juergbi | ah, right. I misread your sentence despite your emphasis :-/ | 09:54 |
Kinnison | tristan: How does tracking a source interact with that source being inside a conditional statement? | 09:59 |
tristan | Kinnison, that should work fine and should hopefully be regression tested somewhere | 10:00 |
benschubert | jonathanmaw: could you have a look at https://gitlab.com/BuildStream/bst-external/merge_requests/73 ? | 10:01 |
Kinnison | I'm wondering because the options mutate the node, which afaict would mutate the toplevel and thus prevent things from working. I must be missing a copy somewhere, but given that I don't see how the track would then work | 10:01 |
tristan | Kinnison, the provenance of the ref holding dictionary is saved for this reason (part of the original use cases of provenance) | 10:01 |
tristan | Kinnison, so the ref should be updated in the conditional, and it should even be updated if the source was declared in an included file (the included file should be the one modified) | 10:02 |
juergbi | iirc, if the 'ref' key doesn't exist yet, it might get created outside the conditional | 10:02 |
juergbi | however, it works fine, if it already exists | 10:02 |
tristan | Kinnison, However, as I recall the entire source needs to be conditionalized | 10:02 |
tristan | yeah that too | 10:02 |
tristan | something is inconvenient around those lines | 10:02 |
Kinnison | Hrm, I'm not sure I won't want to change how this happens, but thanks | 10:02 |
Kinnison | If I do, I'll be sure to be at least as useful as now | 10:03 |
tristan | There is precedent, but it may have evaporated by now | 10:03 |
*** phildawson has joined #buildstream | 10:03 | |
tristan | I recall the original gnome-build-meta (pre-freedesktop-sdk) was tracking 4 arches for the base runtime from ostree repos | 10:03 |
tristan | Kinnison, As I recall, the reason is that if the conditional is done *inside* the source dictionary and the ref doesnt exist, then the source is *creating* the ref on the dict, so it would indeed appear outside of the condition | 10:05 |
tristan | kind of a gotcha | 10:05 |
Kinnison | Yeah, I *think* I can fix that | 10:05 |
Kinnison | :D | 10:05 |
*** nimish has quit IRC | 10:15 | |
*** kapil___ has joined #buildstream | 10:19 | |
gitlab-br-bot | marge-bot123 merged MR !1190 (juerg/fast-import->master: Improve import performance) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1190 | 10:27 |
gitlab-br-bot | juergbi opened (was WIP) MR !1192 (juerg/remote-execution-cas->master: Improve remote execution) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1192 | 10:32 |
*** lachlan has joined #buildstream | 10:33 | |
Kinnison | tristan: good news - I *think* with our new proposed data structure we can rewrite the tracking edit/save process to successfully manipulate content from wherever it came :D | 10:39 |
Kinnison | obviously if there was never a ref, it'll go in the containing dict not into a conditional | 10:39 |
Kinnison | but if various edited fields change, they'll be updated in their right places, even if the source was composited partially from various places | 10:40 |
Kinnison | it'll make the track operation slightly more expensive than it currently is, but that's not a pain point IMO | 10:40 |
*** nimish has joined #buildstream | 10:54 | |
lachlan | jonathanmaw: Would you have some time today to review a couple of benchmarking MRs? | 10:57 |
Kinnison | tristan: ChainMap -- do we use it purely as an efficiency to prevent dict copies, or do we expect underlying dicts to be mutated and have that effect show through to things chained on top? | 11:00 |
jonathanmaw | lachlan: can do, which ones are you looking for a review of? | 11:00 |
lachlan | jonathanmaw: The 1st is https://gitlab.com/BuildStream/benchmarks/merge_requests/33 | 11:00 |
lachlan | and I'm currently preparing the second | 11:01 |
gitlab-br-bot | phildawson opened (was WIP) MR !1022 (chandan/base-git-mirror->master: Expose _GitMirror as part of plugin author facing API) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1022 | 11:04 |
lachlan | jonathanmaw, and the second is https://gitlab.com/BuildStream/benchmarks/merge_requests/34 | 11:15 |
juergbi | raoul: ah, the warning happens for elements that don't have any sources, of course | 11:25 |
juergbi | even though there is no issue for those | 11:25 |
raoul | ah, that makes sense, I've been waiting for llvm to build so still haven't got to any sources that show it | 11:26 |
raoul | I'll do something so that it doesn't throw up that warning | 11:26 |
juergbi | raoul: as indicated on gitlab, I'd rather go with an assert in that case, if we consider it a bug for this to happen | 11:27 |
juergbi | or a fatal error, if we say it might happen in certain too-small CAS scenarios, like build dependencies | 11:27 |
juergbi | don't generally want to keep a code path that we don't expect to ever happen (and thus, also never tested) | 11:28 |
raoul | Yeah that's the only scenario I can think it might happen, but required sources should be marked so that they're not deleted and it still shouldn't happen | 11:28 |
raoul | makes sense | 11:28 |
juergbi | (if it was still a valid code path, we should add a test case for it) | 11:28 |
tristan | Kinnison, Purely as a measure of efficiency - we need to modify the "copies" through composition and all that, but we need those modifications to not affect the original copies which we keep around for saving track results | 12:00 |
tristan | Kinnison, I would be unpleasantly surprised if we were reliant on behaviors such as modifying the originals | 12:00 |
*** kapil___ has quit IRC | 12:49 | |
*** phildawson has quit IRC | 12:57 | |
*** phildawson has joined #buildstream | 12:57 | |
*** tristan has quit IRC | 12:59 | |
*** nimish has quit IRC | 12:59 | |
*** phildawson has quit IRC | 13:05 | |
*** phildawson has joined #buildstream | 13:05 | |
Kinnison | tristan: We ran tests and if chainmaps are replaced with full copies then we're safe, so yes it's just an efficiency, thanks for the confirmation though | 13:21 |
*** tristan has joined #buildstream | 13:25 | |
*** nimish has joined #buildstream | 13:25 | |
*** alatiera has joined #buildstream | 13:37 | |
*** phildawson has quit IRC | 13:56 | |
*** nimish has quit IRC | 14:00 | |
*** nimish has joined #buildstream | 14:00 | |
*** nimish has quit IRC | 14:05 | |
*** nimish has joined #buildstream | 14:06 | |
jmac | https://docs.buildstream.build/format_project.html#external-plugins says the number after a plugin element is the version, or "format version" later in the same section | 14:10 |
jmac | What does "format version" mean in this context? | 14:10 |
*** nimish has quit IRC | 14:16 | |
*** nimish has joined #buildstream | 14:16 | |
*** alatiera has quit IRC | 14:20 | |
juergbi | jmac: is 'format version' for the core clear as described in https://buildstream.gitlab.io/buildstream/format_project.html#format-version ? | 14:20 |
juergbi | 'format version' for plugins is pretty much the same, except only relating to the configuration keys defined by that particular plugin | 14:21 |
jmac | I'm clear on what a format version is for projects, but I've not seen one specified for a plugin before | 14:23 |
*** alatiera has joined #buildstream | 14:24 | |
jmac | The reason for asking is I'd like to require version X of a plugin package, where X is the version specified in the plugin repository's setup.py. It looks as though the element version number in project.conf is for something different? | 14:26 |
*** phildawson has joined #buildstream | 14:29 | |
jmac | It appears "package-name: plugin-package>=N" is valid format, so I'll try that | 14:31 |
*** lachlan has quit IRC | 14:33 | |
gitlab-br-bot | BenjaminSchubert opened MR !1207 (bschubert/tests-behind-proxy->master: test: Pass proxy and cert env variable to tox environment) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1207 | 14:35 |
*** nimish has quit IRC | 14:36 | |
*** nimish has joined #buildstream | 14:36 | |
*** phildawson has quit IRC | 14:37 | |
*** lachlan has joined #buildstream | 14:42 | |
*** kapil___ has joined #buildstream | 14:44 | |
*** lachlan has quit IRC | 14:45 | |
*** nimish has quit IRC | 14:46 | |
*** nimish has joined #buildstream | 14:47 | |
gitlab-br-bot | juergbi opened MR !1208 (juerg/cache-buildtrees->master: Tweak cache-buildtrees option) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1208 | 14:55 |
*** lachlan has joined #buildstream | 14:56 | |
tpollard | thanks for providing the link to the irc discussion re that juergbi | 14:56 |
*** nimish has quit IRC | 14:57 | |
juergbi | yw | 14:57 |
*** nimish has joined #buildstream | 14:57 | |
*** nimish has quit IRC | 15:27 | |
*** nimish has joined #buildstream | 15:27 | |
*** nimish has quit IRC | 15:42 | |
*** nimish has joined #buildstream | 15:43 | |
*** lachlan has quit IRC | 15:44 | |
*** nimish has quit IRC | 15:48 | |
*** nimish has joined #buildstream | 15:48 | |
*** lachlan has joined #buildstream | 15:49 | |
*** phildawson has joined #buildstream | 15:58 | |
*** nimish has quit IRC | 16:03 | |
*** nimish has joined #buildstream | 16:03 | |
gitlab-br-bot | marge-bot123 merged MR !1205 (jennis/compose_backwards->master: cleanup: Move YAML handling logic in _include.py to _yaml.py) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1205 | 16:05 |
*** nimish has quit IRC | 16:08 | |
raoul | juergbi, I've implemented the assert and have realised that source checkout is one place that the fallback code is used, when sources are in the CACHED consistency but perhaps not in the the local CAS (which will happen if for example you have a bunch of local sources and this is the first run) | 16:09 |
*** nimish has joined #buildstream | 16:09 | |
raoul | I added some logic to check whether we should still stage and run the fetch pipeline, but this doesn't respect the fetch option source checkout so doesn't seem to be the way to do it | 16:10 |
raoul | so I think we probably do want this fallback staging, unless you think adding some more logic to the fetch about staging and fetching is a better way to do this? | 16:11 |
*** nimish has quit IRC | 16:24 | |
*** nimish has joined #buildstream | 16:24 | |
lachlan | jonathanmaw: Thanks for the review, I will put in the changes asap | 16:31 |
*** nimish has quit IRC | 16:34 | |
*** nimish has joined #buildstream | 16:35 | |
juergbi | raoul: what do you mean with "this doesn't respect the fetch option source checkout"? | 16:40 |
raoul | There's a fetch option to the source checkout command, if we need to stage elements and so run the fetch pipeline we'll end up fetching sources even if that option was set to False | 16:41 |
benschubert | Could someone have a look at https://gitlab.com/BuildStream/buildstream/merge_requests/1207 ? | 16:55 |
gitlab-br-bot | juergbi approved MR !1207 (bschubert/tests-behind-proxy->master: test: Pass proxy and cert env variable to tox environment) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1207 | 17:14 |
*** nimish has quit IRC | 17:15 | |
*** nimish has joined #buildstream | 17:15 | |
*** nimish has quit IRC | 17:20 | |
*** nimish has joined #buildstream | 17:20 | |
*** toscalix has quit IRC | 17:21 | |
*** nimish has quit IRC | 17:30 | |
*** lachlan has quit IRC | 17:30 | |
*** nimish has joined #buildstream | 17:31 | |
*** lachlan has joined #buildstream | 17:32 | |
*** nimish has quit IRC | 17:41 | |
*** nimish has joined #buildstream | 17:41 | |
*** nimish has quit IRC | 17:56 | |
*** nimish has joined #buildstream | 17:57 | |
*** lachlan_ has joined #buildstream | 18:01 | |
*** nimish has quit IRC | 18:02 | |
*** phildawson_ has joined #buildstream | 18:02 | |
*** CTtpollard has joined #buildstream | 18:02 | |
*** jonathanmaw_ has joined #buildstream | 18:02 | |
*** raoul_ has joined #buildstream | 18:02 | |
*** lachlan has quit IRC | 18:02 | |
*** raoul has quit IRC | 18:02 | |
*** jonathanmaw has quit IRC | 18:02 | |
*** phildawson has quit IRC | 18:02 | |
*** nimish has joined #buildstream | 18:02 | |
*** tpollard has quit IRC | 18:03 | |
*** lachlan_ has quit IRC | 18:16 | |
*** raoul_ has quit IRC | 18:16 | |
*** nimish has quit IRC | 18:17 | |
*** jonathanmaw_ has quit IRC | 18:18 | |
*** nimish has joined #buildstream | 18:19 | |
*** lachlan_ has joined #buildstream | 18:19 | |
*** adds68 has quit IRC | 18:23 | |
*** ikerperez has quit IRC | 18:23 | |
*** jennis has quit IRC | 18:23 | |
*** kapil___ has quit IRC | 18:24 | |
*** adds68 has joined #buildstream | 18:31 | |
*** nimish has quit IRC | 18:32 | |
*** nimish has joined #buildstream | 18:32 | |
gitlab-br-bot | marge-bot123 merged MR !1207 (bschubert/tests-behind-proxy->master: test: Pass proxy and cert env variable to tox environment) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1207 | 18:40 |
*** phil has joined #buildstream | 18:46 | |
*** tpollard has joined #buildstream | 18:47 | |
*** phildawson_ has quit IRC | 18:49 | |
*** CTtpollard has quit IRC | 18:49 | |
*** nimish has quit IRC | 18:52 | |
*** nimish has joined #buildstream | 18:53 | |
*** nimish has quit IRC | 19:13 | |
*** nimish has joined #buildstream | 19:13 | |
*** lachlan_ has quit IRC | 19:18 | |
*** lachlan_ has joined #buildstream | 19:21 | |
*** nimish has quit IRC | 19:48 | |
*** nimish has joined #buildstream | 19:48 | |
*** nimish has quit IRC | 19:58 | |
*** nimish has joined #buildstream | 19:59 | |
*** nimish has quit IRC | 20:04 | |
*** nimish has joined #buildstream | 20:04 | |
*** nimish has quit IRC | 20:09 | |
*** nimish has joined #buildstream | 20:09 | |
*** nimish has quit IRC | 20:19 | |
*** nimish has joined #buildstream | 20:20 | |
*** nimish has quit IRC | 20:25 | |
*** nimish has joined #buildstream | 20:25 | |
*** nimish has quit IRC | 20:30 | |
*** nimish has joined #buildstream | 20:30 | |
*** nimish has quit IRC | 20:37 | |
*** tristan has quit IRC | 20:50 | |
*** lachlan_ has quit IRC | 20:55 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!