Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass Git submodules when creating Bots #270

Open
atljeremy opened this issue May 15, 2016 · 6 comments
Open

Pass Git submodules when creating Bots #270

atljeremy opened this issue May 15, 2016 · 6 comments
Labels

Comments

@atljeremy
Copy link

atljeremy commented May 15, 2016

I just tried setting up a Buildasaur server with a Bitbucket repo. This Bitbucket repo has a couple Github submodules and it seems the submodules were not cloned in the Xcode Server Bot that Buildasaur created. How do I tell Buildasaur to clone a repo's submodule dependencies?

@czechboy0
Copy link
Member

Interesting, if Xcode server didn't do that, it's probably something that should be included in the blueprint (but isn't at the moment). Can you please try to create a bot manually and see if those are cloned correctly? If so, it's a missing feature in Buildasaur.

@czechboy0 czechboy0 added the bug label May 15, 2016
@atljeremy
Copy link
Author

atljeremy commented May 15, 2016

@czechboy0 I've already created a couple Xcode Bot's manually and each time, it shows the screen in the screenshot below. In this screen it presents me with the repo's submodules and allows me to choose how to authenticate with those submodules (basic auth or private key). After it's been connected, it asks which branch should be used when cloning the submodule, which is what you see in the screenshot. It seems this piece is missing from Buildasaur.

In this screenshot, HTTPService and NotificationQueue are submodules.

xcode-server-bot-submodules

@czechboy0
Copy link
Member

Yeah, it's missing from Buildasaur. Shouldn't be too hard to add, I won't have time to do it in the foreseeable future, I'm afraid. Would happily accept a PR though.

@czechboy0 czechboy0 changed the title BitBucket Repo with Github submodules, supported? Pass Git submodules when creating Bots May 17, 2016
@mike011
Copy link

mike011 commented Jul 16, 2016

Anybody know a workaround? Trying to pull the submodule in a trigger, just seems to hang.

@czechboy0
Copy link
Member

Yeah, I'd probably try the same. Although I have no previous experience with using submodules with XCS, sorry.

@krin-san
Copy link

krin-san commented Nov 14, 2016

Same bug as in lionheart/openradar-mirror#8030
Waiting for any response in https://forums.developer.apple.com/thread/52357

UPDATE: Can't trust Apple to fix their endless issues. Falling back to CocoaPods solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants