8000 Add CDN repo Source to allow retrieving specs from a web URL by igor-makarov · Pull Request #8280 · CocoaPods/CocoaPods · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add CDN repo Source to allow retrieving specs from a web URL #8280

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

Merged
merged 1 commit into from
Dec 15, 2018

Conversation

igor-makarov
Copy link
Contributor
@igor-makarov igor-makarov commented Nov 15, 2018

As discussed in #8268, I am submitting an initial draft of the CDN source implementation.

Please note that at this point, the implementation is purely additive, and does not interfere with traditional spec repo retrieval.

There's a corresponding PR in Core that needs to be merged first.

The tests on travis will fail because of Core integration, but I've hacked together another branch to show that everything passes. As soon as the Core PR is merged, the tests here will pass as well.

@orta
Copy link
Member
orta commented Nov 15, 2018

I'm in favor of us getting these in as a way to allow beta-testing the CDN approach on a larger scale, but ideally I'd like this to live in the next release. Do we (as CP core) have an idea how long it'll be till we start moving to 1.7.x?

@dnkoutso
Copy link
Contributor

1.6.0 is still in beta but we are planning an rc this week or next. I'd imagine 1.7.0 beta would go through mid-Dec to mid January (with holidays etc)

@dnkoutso dnkoutso added this to the 1.7.0 milestone Nov 15, 2018
Copy link
Member
@segiddins segiddins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This (and the Core PR) will need specs before we're able to really review it

@igor-makarov
Copy link
Contributor Author

So I ended up doing all the optimizations in the Core CDNSource class. This minimizes the coupling between the two modules.

Copy link
Member
@segiddins segiddins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also add a spec that shows the CDN source being added by using a source attribute in a Podfile ?

@igor-makarov
Copy link
Contributor Author

Sure! I'm having trouble figuring out where to add this spec, though, or what to base it on. Can you help me out?

@igor-makarov igor-makarov force-pushed the master branch 3 times, most recently from 49e62b7 to 1a06fa8 Compare December 13, 2018 15:37
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.

5 participants
0