Re: [Cedar] Xcode bots and cedar as a submodule

28 views
Skip to first unread message
Message has been deleted

Joshua Marker

unread,
May 11, 2015, 11:51:36 AM5/11/15
to cedar-...@googlegroups.com
Xcode bots were not in the slightest ready for primetime last I checked. They didn't work with submodules that are pegged to anything but master/HEAD, IIRC, instead trying to check out e.g. ‘master’ as though it were a checksum. 



On May 11, 2015, at 07:43, J <jme...@gmail.com> wrote:

I have a project which has Cedar as a submodule, I'm trying to setup an Xcode bot that'll run my tests. 

The issue I'm having is in the checkout part of the process, I need to init all the submodules and keep getting the error: 

Bot Issue: error. Build Service Error. Issue: '/Library/Developer/XcodeServer/Integrations/Caches/00609bdc1e266f22465a54131ddf7b08/Source/PROJECT/Externals/Cedar' exists and is not . Integration Number: 6. Integration URL:Description: '/Library/Developer/XcodeServer/Integrations/Caches/00609bdc1e266f22465a54131ddf7b08/Source/PROJECT/Externals/Cedar' exists and is not an empty directory (-4).

The following is my git submodule list:
0235f58173583ab5ac1cf625192672199b104f6c Externals/Cedar (v0.11.2-25-g0235f58)
 6397d710dc6407697059f9d5797754382b96f287 Externals/GZIP (1.0)
 7326fe395cc7b878651fb362cee6d45fc4c1e658 Externals/HockeySDK (3.5.0-8-g7326fe3)
 fc1903ff44efcad81e3baaf7d93c281222183595 Externals/MBProgressHUD (0.41-214-gfc1903f)
 88f09fb52e1e5d9f8ff151f80c560c3033bf7117 Externals/MixPanel (v2.0.0-2-g88f09fb)
 d7c45c4b0d7b8b285a597502d3938640bd751299 Externals/OCMock (v2.1.1-5-gd7c45c4)
 ea8c1e7c532d1c262e75f09d897c4ab5265af5e4 Externals/PivotalCoreKit (v0.1.0-11-gea8c1e7)
 2233b5e77de655bdc718507602cfdd61b698b618 Externals/SDWebImage (3.7.1-27-g2233b5e)
 8173d8ecb8925db7a10b2ae5ead302afddb9fe71 Externals/StripNulls (1.0.0-10-g8173d8e)
 ef30c400c732b73451c7683df1a8088167ae3a24 Externals/ios-sim (1.6-7-gef30c40)
 5c91225d5a4f93a9366363285df77fea39029334 Externals/sskeychain (v1.0.4-2-g5c91225)
 665be784862336b867eea9bffaff53b5b89eae4e Externals/xctool (v0.1.4-61-g665be78)

--
You received this message because you are subscribed to the Google Groups "Cedar Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cedar-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

J

unread,
May 11, 2015, 12:18:36 PM5/11/15
to cedar-...@googlegroups.com
It looks like the issue is related to pivotalCoreKit having a Cedar submodule, in the xccheckout file, it lists Cedar twice but both with the same IDESourceControlWCCIdentifierKey, the key is tied to only one directory. My guess is it tries to download to that same directory twice.

So instead of having two entries for Externals/Cedar and Externals/PivotalCoreKit, it only has one entry for both..
Message has been deleted

Andrew Kitchen

unread,
May 14, 2015, 5:19:19 PM5/14/15
to cedar-...@googlegroups.com
That's unfortunate. Too bad it doesn't seem possible to do any more
fine-grained configuration of the git checkout in the Xcode bot (or
can you?)

FWIW I was able to get one working just fine with Cedar brought in via
cocoapods. The setup was a bit wonky, but hey it works.

jme...@xogrp.com

unread,
May 16, 2015, 3:11:41 PM5/16/15
to cedar-...@googlegroups.com
You can't modify anything in the way Xcode modifies the xccheckout file. 

My solution was to remove the Cedar submodule and use the one in the PivotalCoreKit project.. The only problem with this is that I would need to be on the version that pivotal core kit is on(which is fine for now)

Joshua Marker

unread,
May 16, 2015, 8:03:55 PM5/16/15
to cedar-...@googlegroups.com
I added a manual step to deinit the cedar in PCK; as long as I wasn't running PCK's tests, this was fine, and I could use any version of cedar. 

-- 
Joshua Marker
"Future site of beautiful San Andreas Canyon."

Reply all
Reply to author
Forward
0 new messages