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

Support Carthage #30

Merged
merged 4 commits into from
Aug 30, 2016
Merged

Support Carthage #30

merged 4 commits into from
Aug 30, 2016

Conversation

floriankrueger
Copy link
Contributor

This commit adds a Cartfile that specifies the dependency to ConsistencyManager-iOS. The pull request is depending on the ConsistencyManager-iOS-PR-32 which provides better Carthage support.

For now, I've specified any version of the consistency manager compatible with 2.0.0 but you should better specify the next (minor?) release version that contains the PR listed above (s.th. like 2.0.1 but that's up to you and how you like to version).

If you want, I could also add installation instructions for Carthage to the Readme.

Thanks!

@codecov-io
Copy link

codecov-io commented Aug 29, 2016

Current coverage is 89.89% (diff: 100%)

Merging #30 into master will not change coverage

@@             master        #30   diff @@
==========================================
  Files            43         43          
  Lines          4524       4524          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           4067       4067          
  Misses          457        457          
  Partials          0          0          

Powered by Codecov. Last update 5efb4d4...08565c5

@plivesey
Copy link
Owner

To be clear, you want me to re-release the Consistency Manager with a new version right? 2.0.1 sounds good to me and can do that easily. Just wanted to make sure that's what you needed?

@plivesey
Copy link
Owner

And yeah, adding Carthage instructions to the README would be great.

@floriankrueger
Copy link
Contributor Author

Hi, thanks for the quick response! I've updated the PR with installation instructions for Carthage and I removed the explicit version dependency from the Cartfile. Carthage will take the latest release anyways so it's just important that you make a new release of both RocketData and ConsistencyManager at roughly the same time to get full Carthage support. Patch versions are perfect for that as there are no code changes. Thank you!

@plivesey
Copy link
Owner

I'm working on OSX support for the Consistency Manager and expect to get that done today.

I'll probably release a new version with both these updates (hopefully also today).

@plivesey
Copy link
Owner

Changes look good though, merging.

@plivesey
Copy link
Owner

Oh...actually...I'm going to wait until it actually works to merge. Otherwise, people may be confused when they see the README.

@plivesey
Copy link
Owner

Released, so merging this in.

@plivesey plivesey merged commit 90df908 into plivesey:master Aug 30, 2016
@plivesey
Copy link
Owner

Can you verify that it works?

@floriankrueger
Copy link
Contributor Author

Hi @plivesey, thank you for merging. Unfortunately you also need to tag a new release for RocketData itself, b/c Carthage takes the latest release here as well:

$ cat Cartfile
github "linkedin/RocketData"
$ carthage update RocketData
*** Fetching RocketData
*** Checking out RocketData at "1.1.0"
*** xcodebuild output can be found in /var/folders/qj/38k1t5d52rb_h3y8bbhgc4lc0000gn/T/carthage-xcodebuild.JD4lKy.log
*** Building scheme "RocketData" in RocketData.xcworkspace

Until you make a new release, we can force Carthage to pull the latest commit from master.

$ cat Cartfile
github "linkedin/RocketData" "master"
$ carthage update RocketData
*** Fetching RocketData
*** Fetching ConsistencyManager-iOS
*** Checking out ConsistencyManager-iOS at "2.0.1"
*** Checking out RocketData at "90df908fe9c4ca8fc5fdccd77123a0937ce3f581"
*** xcodebuild output can be found in /var/folders/qj/38k1t5d52rb_h3y8bbhgc4lc0000gn/T/carthage-xcodebuild.mLln9u.log
*** Building scheme "ConsistencyManager" in ConsistencyManager.xcodeproj
*** Building scheme "RocketData" in RocketData.xcworkspace

Notice the "master" in the Cartfile. Now it correctly retrieves the dependency for RocketData and builds the ConsistencyManager.

Would be great if you could create a new RocketData release at some point in the future. Thanks!

@floriankrueger floriankrueger deleted the carthage-support-pr branch August 31, 2016 04:39
@plivesey
Copy link
Owner

Yes. Will do. I'll create an issue so I don't forget.
Hopefully today/tomorrow.

@plivesey
Copy link
Owner

plivesey commented Sep 2, 2016

@floriankrueger I released a new version (1.1.1)

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

Successfully merging this pull request may close these issues.

None yet

3 participants