IRC logs for #buildstream for Thursday, 2020-01-23

*** reuben640[m] has joined #buildstream00:06
*** theawless[m] has joined #buildstream00:40
*** traveltissues has joined #buildstream08:38
*** pointswaves has joined #buildstream08:45
*** phildawson-ct has joined #buildstream09:00
*** phildawson has quit IRC09:01
*** pointswaves has quit IRC09:08
*** pointswaves has joined #buildstream09:09
*** pointswaves has quit IRC09:24
*** tme5 has joined #buildstream09:44
*** jonathanmaw has joined #buildstream10:10
*** swick has quit IRC11:18
*** swick has joined #buildstream11:19
tme5benschubert, following our discussion yesterday I just pushed to !180811:22
gitlab-br-botMR !1808: Improvements to _GitSourceBase and _GitMirror https://gitlab.com/BuildStream/buildstream/merge_requests/180811:22
*** swick has quit IRC11:23
*** santi has joined #buildstream11:24
benschuberttme5: any specific reason why you have changed some 'ref' to 'rev' ?11:35
tme5to be more in line with Git terminology. A ref is a named label like a branch or a tag. A rev or revision is a more general term, referring to commits, and I think trees, tag objects themselves, etc.11:37
tme5so the functions which can take git revisions, I made the variable names reflect this11:38
benschubertThanks, makes sense :)11:39
benschuberttme5: this 'fetch_all' condition, do you think we could either split it in smaller methods to make it more understandable, or if we could make it more readable? I'd be worried at having to change something there in the future11:43
tme5i'll give it a shot11:47
benschubertCheers, that's my last remark on the PR, seems good otherwise, thanks for fixing the perf regression there11:48
*** swick has joined #buildstream11:55
*** phildawson-ct has quit IRC12:00
*** phildawson-ct has joined #buildstream12:00
tme5the logic isn't so much worse than the no-ref-in-track check in validate_cache12:14
benschubertI do agree with you, and am not happy with the logic in the other one either :'D12:14
benschubertAnd to be clear: this is not a blocker on the PR, it was just me hoping we could improve things even more :)12:15
tme5I split out the checking of whether the remote has the tag into another function12:15
tme5the logic is complicated by the fact the result of trying to shallow-fetch affects whether to full-fetch, so it can never be an if-else situation12:16
tme5ah ok, well hopefully this makes things nice12:17
tme5r12:17
benschubertAlso, whenever I put a "nit:" comment on the MRs, feel free to resolve without tackling, it's usually tips or other options, that are not required but might give another view12:18
benschubert> the logic is complicated by the fact the result of trying to shallow-fetch affects whether to full-fetch, so it can never be an if-else situation12:19
benschubertYep, I understand, and the shallow-fetch is definitely a nice thing12:19
benschuberthttps://stackoverflow.com/questions/31278902/how-to-shallow-clone-a-specific-commit-with-depth-1 is also an intersting thing for the future :'D12:20
*** swick has quit IRC12:33
*** phildawson-ct has quit IRC12:37
*** delli3 has joined #buildstream12:44
*** delli3 has quit IRC12:45
*** delli3 has joined #buildstream12:45
tme5finished things off in !1808, i think it's ready?13:02
gitlab-br-botMR !1808: Improvements to _GitSourceBase and _GitMirror https://gitlab.com/BuildStream/buildstream/merge_requests/180813:02
*** santi has quit IRC13:20
*** santi has joined #buildstream13:23
*** phildawson-ct has joined #buildstream13:50
tme5looks like Git on CentOS 7.6 doesn't support cloning a shallow repo, and so can't stage anything14:11
tpollardWe've hit this problem before14:14
tpollard& then introduced that ci target14:14
tpollardhttps://gitlab.com/BuildStream/buildstream/issues/83314:15
tme5you think I should skip if HAVE_OLD_GIT ?14:21
benschuberttme5: the problem if you do that is, that we won't be able to open workspaces on CentOS if this change goes in. I think I'd rather disable the shallow fetch if git is too ancient15:12
benschubertwhich indeed adds one more condition in that list x')15:13
tme5right, ok15:18
tme5how should i check git version in the source? ccan i use buildstream.testing?15:19
benschubertNo, testing stuff should not be used for normal executions15:20
*** phildawson has joined #buildstream15:41
*** phildawson-ct has quit IRC15:42
*** santi has quit IRC15:51
*** santi has joined #buildstream15:51
*** santi has quit IRC16:19
*** santi has joined #buildstream16:22
*** phildawson has quit IRC16:51
*** phildawson has joined #buildstream16:55
*** traveltissues has quit IRC16:56
*** phildawson has quit IRC17:08
*** santi has quit IRC17:24
*** pointswaves has joined #buildstream17:27
*** santi has joined #buildstream17:37
*** tme5 has quit IRC17:37
*** pointswaves has quit IRC17:41
*** jonathanmaw has quit IRC18:43
*** santi has quit IRC19:25
*** santi has joined #buildstream19:25
*** phoenix has joined #buildstream19:27
*** phoenix has quit IRC19:31
*** pointswaves has joined #buildstream20:16
*** dylan-m has joined #buildstream21:18
*** pointswaves has quit IRC21:48
*** pointswaves has joined #buildstream21:48
*** pointswaves has quit IRC21:50
*** pointswaves has joined #buildstream21:50
*** pointswaves has quit IRC21:57
*** santi has quit IRC23:38

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