*** narispo has quit IRC | 01:11 | |
*** narispo has joined #buildstream | 01:12 | |
*** ikerperez has joined #buildstream | 07:58 | |
*** dtf has joined #buildstream | 09:04 | |
*** phildawson_ has joined #buildstream | 09:13 | |
*** dtf has joined #buildstream | 09:15 | |
*** rdale has joined #buildstream | 09:24 | |
*** tiagogomes has joined #buildstream | 09:41 | |
*** santi has joined #buildstream | 09:54 | |
*** phil has joined #buildstream | 10:01 | |
*** phildawson_ has quit IRC | 10:02 | |
*** jonathanmaw has joined #buildstream | 10:12 | |
gitlab-br-bot | marge-bot123 merged MR !1676 (aevri/enable_spawn_ci_5a->master: spawn tests: enable most non-integration) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1676 | 10:25 |
---|---|---|
*** lachlan has joined #buildstream | 10:30 | |
*** lachlan has quit IRC | 10:31 | |
*** lachlan has joined #buildstream | 10:31 | |
tpollard | If I'm adding a new dependency in an MR, should I run the Make updater which will add in other dependency updates, or just add my dependency manually to the req list? | 10:42 |
tlater[m] | tpollard: Remove the irrelevant dependency updates from the diff, but still use the updater, I'd say | 10:50 |
* tlater[m] thinks we haven't cared too much about churning that list, though | 10:51 | |
tpollard | 'tests/frontend/init.py::test_bad_project_name[Micheal Jackson]' | 10:59 |
tpollard | bravo | 10:59 |
*** lachlan has quit IRC | 11:00 | |
tlater[m] | Hah! | 11:00 |
*** lachlan has joined #buildstream | 11:01 | |
*** dtf has quit IRC | 11:11 | |
*** phoenix has joined #buildstream | 11:23 | |
*** phildawson_ has joined #buildstream | 11:24 | |
*** phil has quit IRC | 11:25 | |
*** phoenix has quit IRC | 11:31 | |
jonathanmaw | aevri: as someone interested in this particular issue and with experience working with .gitlab-ci.yml, would you like to review https://gitlab.com/BuildStream/buildstream/merge_requests/1678 ? | 11:33 |
*** lachlan has quit IRC | 11:56 | |
*** phil has joined #buildstream | 11:59 | |
*** phildawson_ has quit IRC | 12:00 | |
coldtom | is there a way to disable all attempts at pulling using bst master? | 12:02 |
tpollard | coldtom: there's a few non official ways, but build has a --remote option | 12:04 |
tpollard | which you can give a dummy value | 12:04 |
tpollard | I think setting global fetchers to 0 also does the trick | 12:05 |
coldtom | tyvm | 12:05 |
tlater[m] | coldtom: For reference, an actual proper way to do that was proposed and we'd like to get it in before 2.0 | 12:07 |
*** phil has quit IRC | 12:09 | |
*** phildawson_ has joined #buildstream | 12:11 | |
*** lachlan has joined #buildstream | 12:31 | |
gitlab-br-bot | tlater opened (was WIP) MR !1660 (tlater/annihilate_update_state->master: Remove update_state) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1660 | 12:57 |
*** lachlan has quit IRC | 13:07 | |
*** santi has quit IRC | 13:12 | |
*** santi has joined #buildstream | 13:45 | |
*** santi has quit IRC | 14:00 | |
*** santi has joined #buildstream | 14:12 | |
*** phil has joined #buildstream | 14:22 | |
*** phildawson_ has quit IRC | 14:22 | |
*** lachlan has joined #buildstream | 14:30 | |
*** dtf has joined #buildstream | 14:48 | |
*** phildawson_ has joined #buildstream | 14:54 | |
*** phil has quit IRC | 14:55 | |
*** santi has quit IRC | 15:43 | |
*** bochecha has joined #buildstream | 15:46 | |
benschubert | juergbi: I was looking at the source caching thing, with the speed up about not having to check if we have it in the source cache. Should we add a new Consistency.IN_SOURCE_CACHE that is lower than CACHED and only look for this when we need just this? | 15:55 |
benschubert | or just 'if consistency.RESOLVED && ${in_source_cache} ? | 15:56 |
gitlab-br-bot | jonathanmaw opened (was WIP) MR !1678 (jonathan/win32_ci->master: Add native windows CI configuration) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1678 | 15:56 |
juergbi | benschubert: I don't think it makes sense to add this as separate value to that enum as individual source plugins can't answer this | 15:56 |
benschubert | fair | 15:56 |
gitlab-br-bot | marge-bot123 closed issue #1163 (Add CI for native windows support) on buildstream https://gitlab.com/BuildStream/buildstream/issues/1163 | 15:57 |
gitlab-br-bot | marge-bot123 merged MR !1678 (jonathan/win32_ci->master: Add native windows CI configuration) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1678 | 15:57 |
benschubert | there is interestingly nowhere in the code base where we have = Consistency.RESOLVED | 15:57 |
juergbi | we return RESOLVED | 15:57 |
juergbi | in source plugins | 15:57 |
benschubert | oh! | 15:57 |
benschubert | Consistency.RESOLVED == has_ref right? or is there some corner cases? (except local/workspace) | 15:59 |
*** santi has joined #buildstream | 16:00 | |
juergbi | benschubert: that's pretty much it | 16:00 |
benschubert | Ok, so do we actually need Consistency.RESOLVED? | 16:00 |
juergbi | (and Consistency.CACHED implies this as well) | 16:00 |
benschubert | or can we just do get_ref() ? | 16:01 |
juergbi | yes but that should always be quick to determine | 16:01 |
benschubert | AFAIK it's not since it's mixed with getting the CACHED consistency | 16:01 |
juergbi | yes, I meant, for the source plugin it should always be quick to determine whether it's >= RESOLVED | 16:02 |
juergbi | checking get_ref() is not None instead could be a possibility | 16:02 |
benschubert | I guess there is two ways here: | 16:02 |
benschubert | 1) get rid of RESOLVED, and use get_ref() wherever we need it to be resolved | 16:02 |
benschubert | 2) split get_consistency() in two for get_resolved() and get_cached() | 16:02 |
juergbi | right, 1) does seem fairly sensible | 16:03 |
juergbi | iirc, it will require fixes in some plugins but should be simple enough | 16:03 |
juergbi | and they would already be not complying to the API per documentation, afaict | 16:03 |
benschubert | Ok! However, then do we actually need CACHED? or could we 'just' have is_cached() ? | 16:03 |
juergbi | then we could indeed just have cached but that would definitely be a breaking change | 16:04 |
benschubert | ok! I'll play with it, see what I can do and if it makes sense to do this change will move it to the ML :) | 16:04 |
juergbi | probably makes sense to go that way but maybe in two steps | 16:04 |
juergbi | sounds good | 16:04 |
benschubert | thanks a lot! | 16:04 |
benschubert | do you see any other reason than for opening a workspace that a source should be in state 'CACHED' ? | 16:06 |
*** lachlan has quit IRC | 16:06 | |
*** lachlan has joined #buildstream | 16:09 | |
juergbi | benschubert: can't think of a reason right now | 16:14 |
benschubert | Awesome, thanks | 16:14 |
juergbi | (the distinction is also relevant in the fetch job if it's not in the source cache yet, of course) | 16:15 |
benschubert | right :) | 16:19 |
*** tiagogomes has quit IRC | 16:25 | |
*** bochecha has quit IRC | 16:27 | |
*** lachlan has quit IRC | 16:29 | |
*** tiagogomes has joined #buildstream | 16:32 | |
*** lachlan has joined #buildstream | 16:52 | |
*** lachlan has quit IRC | 16:53 | |
*** jonathanmaw has quit IRC | 17:02 | |
*** tiagogomes has quit IRC | 17:11 | |
*** lachlan has joined #buildstream | 17:22 | |
*** narispo has quit IRC | 17:37 | |
*** santi has quit IRC | 17:40 | |
benschubert | juergbi: https://gitlab.com/BuildStream/buildstream/blob/master/src/buildstream/_gitsourcebase.py#L473 :'D | 17:44 |
benschubert | I'll send a patch now for that | 17:44 |
juergbi | yep, that's what I was referring to, ta | 17:45 |
gitlab-br-bot | BenjaminSchubert opened MR !1680 (bschubert/fix-git-ref->master: _gitsourcebase.py: Return 'None' when the ref is unset) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1680 | 17:47 |
benschubert | juergbi: should I also check about the tags? | 17:47 |
benschubert | (I don't think so, based on get_consistency) | 17:48 |
*** lachlan has quit IRC | 17:48 | |
juergbi | I agree | 17:48 |
juergbi | mirror.ref should suffice | 17:48 |
benschubert | we'll see if the pipeline passes :) | 17:50 |
benschubert | https://gitlab.com/BuildStream/buildstream/merge_requests/1680/ making the git plugin respect the source API :D | 18:23 |
*** slaf_ has joined #buildstream | 18:28 | |
*** slaf_ has joined #buildstream | 18:28 | |
*** slaf_ has joined #buildstream | 18:28 | |
*** slaf_ has joined #buildstream | 18:28 | |
*** slaf_ has joined #buildstream | 18:29 | |
*** slaf_ has joined #buildstream | 18:29 | |
*** slaf has quit IRC | 18:29 | |
*** slaf_ is now known as slaf | 18:29 | |
gitlab-br-bot | cs-shadow approved MR !1677 (traveltissues/1184->master: buildgrid-compose.yml: reduce log level to WARN) on buildstream https://gitlab.com/BuildStream/buildstream/merge_requests/1677 | 19:08 |
*** phoenix has joined #buildstream | 20:45 | |
*** dtf has quit IRC | 20:51 | |
*** rdale has quit IRC | 22:42 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!