Created
July 26, 2023 15:24
-
-
Save keithel/5c9e548a0e8099498384b0d14ab80f66 to your computer and use it in GitHub Desktop.
Determining mirrored Qt submodules that are not mirroring properly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I encountered an issue with Qt repositories that are mirrored, but not all submodules being mirrored properly. | |
This makes it impossible to clone and build new Qt releases. These notes help discover which submodule repositories are not syncing properly with the code.qt repositories: | |
For further testing to verify that all the needed submodules are mirrored properly for a given release tag, I test the following way: | |
``` | |
$ git clone https://mirror.host/foo/qt5.git -b v6.5.2 | |
$ ./init-repository --force --module-subset=default,-preview,-qtnetworkauth,-qtpurchasing,-qtquick3d,-qtlottie,-qtcharts,-qtdatavis3d,-qtvirtualkeyboard,-qtwebglplugin,-qtactiveqt,-qtconnectivity,-qtcoap,-qtmqtt,-qtopcua,-qtquicktimeline,-qtquickeffectmaker,-qtquick3dphysics | |
# (failures will occur if the needed submodule refs (commits) are not present in the submodule repositories) | |
$ for subm in $(git submodule status | awk '/^+/ {print $2}'); do git submodule update $subm; done | |
# Then, this will show you the submodule repositories that are not mirroring properly: | |
$ git submodule status | awk '/^+/ {print $2}' | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment