-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Conversation
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.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) |
There was a problem hiding this 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
So I ended up doing all the optimizations in the Core CDNSource class. This minimizes the coupling between the two modules. |
There was a problem hiding this 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
?
Sure! I'm having trouble figuring out where to add this spec, though, or what to base it on. Can you help me out? |
49e62b7
to
1a06fa8
Compare
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.