chore: move to Stephen's submodules#197
Conversation
|
I am a bit puzzled by this build passing: if the submodule remote is Stephen's repository, how is it able to pull the commits pinned? |
|
It may be that my repos have the hashes somewhere in them? That does seem unlikely. I have a hazy memory that the Note that I pushed to (Doing that was mostly as an exercise for me to understand what's changed. However, I see value in being able to build against either CIL for now, e.g. if we find some regression that we want to bisect or otherwise explore. I plan to update the liballocs OCaml build rules to repeat the same pattern and allow building against goblint or classic CIL. Though, we don't need to do that prior to switching back to my CIL.) |
GitHub is known to store all forks of a repo together in one bucket behind the scenes, which is part of why you can e.g. view a commit URL that names the upstream repo together with a commit hash that is not part of that upstream repo, for example: It may be that this GitHub storage choice also impacts the packs sent to local Git clones, such that cloning the upstream also includes pushed commits of forks as well. |
I'd leave that to @dependabot, it will follow this PR up with a submodule PR bump once it knows where to look for the submodule. #195 makes me think it follows
Oh, I didn't know this. But it does explain what we are seeing here. Thanks for the info!
This surely isn't safe: one could add a large binary to a fork and generate thousands of commits of renaming it. If git pulls those too, it would be possible to seriously degrade upstream repo performance by fork-spamming |
|
OK. Hmm. So if I merge this, it will break the build until I make some consequent fixes. I think these are not simply "do as dependabot suggests"... I need to point it at a non-head commit of my I can do this just now, hopefully... though can't promise I won't revert for now if it doesn't go smoothly. |
|
The current test failures (everything fails) reflect that my goblint CIL fork chokes on That tells me @mbyzhang's CIL fork has some commits that we need and that my branch does not yet have.... indeed I remember we worked on the |
|
Yes, I actually opened a PR (stephenrkell/cil#23) that reverts your nomachdep commits, on which my migrate-to-goblint liballocs PR depends. |
|
Thanks @mbyzhang. I've now (apologies for the delay!) merged that PR. |
No description provided.