*** gtristan has joined #baserock | 07:29 | |
*** toscalix has joined #baserock | 07:32 | |
*** rdale has joined #baserock | 08:13 | |
*** jonathanmaw has joined #baserock | 08:40 | |
*** tiagogomes has joined #baserock | 09:19 | |
*** gtristan has quit IRC | 11:54 | |
*** gtristan has joined #baserock | 12:25 | |
*** jmac_ct has joined #baserock | 14:34 | |
jmac_ct | Someone told me that Baserock/Morph can switch between finding changed files using checksums, or finding them using mtime - is that true? | 14:42 |
---|---|---|
paulsher1ood | if this is morph-specific i can't comment | 14:55 |
paulsher1ood | i know that ybd only uses checksums (git trees) | 14:56 |
paulsher1ood | (and forces all mtimes to a specific magic number) | 14:56 |
paulsher1ood | jonathanmaw: ^^ ? | 14:58 |
benbrown_ | I can't see anything like that from a quick grep of morph (besides normalising for artefacts and updating to prevent gc) | 14:58 |
jonathanmaw | it's not something I've ever heard of | 14:59 |
jmac_ct | OK, and which method did morph use? | 14:59 |
jmac_ct | The choice between them was being discussed in BuildStream recently and I wanted to check if we'd weighed up the options before | 15:00 |
paulsher1ood | jmac_ct: the only use-case ybd cares about is changes to inputs... and its inputs are git repos. i think morph was/is the same | 15:00 |
paulsher1ood | (ie the only cache-keys that matter to ybd and/or to morph are based on the inputs...) | 15:01 |
benbrown_ | jmac_ct: This docstring looks semi-relevant: https://gitlab.com/baserock/morph/blob/master/morphlib/builder.py#L79 | 15:02 |
jmac_ct | Changing mtimes for reproducibility is a different issue | 15:03 |
paulsher1ood | benbrown_: no, i think that's just for ensuring builds are not using inputs with random timestamps | 15:03 |
jmac_ct | Maybe there just isn't any need to determine which files changed after a build in morph/ybd and I've been misinformed | 15:04 |
paulsher1ood | jmac_ct: you mean input files? i think that's truw | 15:05 |
jmac_ct | No, I mean the set of files affected by a build | 15:05 |
jmac_ct | added, removed or modified | 15:05 |
paulsher1ood | ybd doesn't keep anything between builds | 15:07 |
paulsher1ood | except the artifact of the build, obviously | 15:07 |
benbrown_ | paulsher1ood: Right, but it at least shows that morph wasn't using mtime for finding changed files | 15:08 |
SotK | morph is the same iirc, the only created/updated files are cache files | 15:08 |
paulsher1ood | ack | 15:08 |
jmac_ct | OK, looks like I was misinformed then. Thanks for your help. | 15:11 |
paulsher1ood | np | 15:11 |
*** toscalix has quit IRC | 16:31 | |
*** tiagogomes has quit IRC | 17:01 | |
*** jonathanmaw has quit IRC | 17:01 | |
*** tiagogomes has joined #baserock | 17:02 | |
*** gtristan has quit IRC | 17:05 | |
*** tiagogomes has quit IRC | 17:16 | |
*** gtristan has joined #baserock | 19:05 | |
*** rdale has quit IRC | 19:07 | |
*** toscalix has joined #baserock | 19:12 | |
*** toscalix has quit IRC | 19:13 | |
*** gtristan has quit IRC | 20:51 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!