Xcode Bots fails to clone shared submodules
| Originator: | danielctull | ||
| Number: | rdar://23273290 | Date Originated: | 27-Oct-2015 10:02 AM |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | OS X 10.11.1, Server 5.0.15, Xcode 7.1 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary:
I have a set of Xcode configuration files in a git repository that I use as a submodule in all of my frameworks. In my application projects, I add these framework projects as submodules. I have created a sample project which demonstrates this which can be found on github here:
https://github.com/danielctull-forks/Bot-Test
The topography of its submodule tree is the following:
Bot Test (Project)
- DCTAuth (Framework Submodule)
- Configurations (Xcode-Configurations Submodule)
- DCTObjectStore (Framework Submodule)
- Configurations (Xcode-Configurations Submodule)
When the server is checking out, it logs this output:
[SourceControl] About to update/checkout:
git@github.com:danielctull-forks/Bot-Test.git Branch: master into Bot%20Test/
git://github.com/danielctull/DCTAuth.git Branch: develop into Bot%20Test/DCTAuth/
git://github.com/danielctull/DCTObjectStore.git Branch: cloudkit into Bot%20Test/DCTObjectStore/
git://github.com/danielctull/Xcode-Configurations.git Forced Revision: 921d216726fbb8bef936ce54f42c05f716801430 into Bot%20Test/DCTAuth/Configurations/
And the result is that the project fails to build because DCTObjectStore doesn’t have any configurations.
Steps to Reproduce:
* Clone git://github.com/danielctull-tests/Bot-Test.git
* Open project and create bot
Expected Results:
All submodules cloned correctly.
Actual Results:
Submodules with the same URL or commit SHA are only cloned once.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!