Conversation

git submodules are such broken trash. The only reason we're even using them is to work around the Linux kernel setting EXTRAVERSION with git describe... So ridiculously bad though. Is there at least a way of automatically dealing with a repo you cloned changing submodule URLs?
2
8
By the way, the Linux kernel doing that is extremely annoying because it means your repository ends up with non-reproducible builds after you add tags. Our standard approach is building a release, testing it, then tagging the release. We had to change their script for this.
1
3
Replying to
That's misleading since it's not simply the kernel.org version and we don't really want an incorrect version set. Using the Git revision is perfect but that breaks if we use repo rather than submodules since it considers the repository dirty, as it should be doing.
1
Show replies