You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Required objects are currently computed using git log, which stops at submodule boundaries.
Thus, for a repository that looks like
Memora.yml
some_dir/
submodule/
bar/
foo/
an artifact that depends on submodule/foo will miss in the cache also when submodule/bar changes. This leads to "false misses".
Instead, Memora should recognize submodule as submodule, descend into it, find the required commit for foo, and then find out which commit corresponds to this commit in the root repository. The last part might be the trickiest, because there is not necessarily a one-to-one correspondence between commits in the submodule and commits in the root repository.
The text was updated successfully, but these errors were encountered:
Required objects are currently computed using
git log
, which stops at submodule boundaries.Thus, for a repository that looks like
an artifact that depends on
submodule/foo
will miss in the cache also whensubmodule/bar
changes. This leads to "false misses".Instead, Memora should recognize
submodule
as submodule, descend into it, find the required commit forfoo
, and then find out which commit corresponds to this commit in the root repository. The last part might be the trickiest, because there is not necessarily a one-to-one correspondence between commits in the submodule and commits in the root repository.The text was updated successfully, but these errors were encountered: