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 all previous Xcode beta versions of this major release #44

Open
czechboy0 opened this issue Jul 27, 2015 · 2 comments
Open

Support all previous Xcode beta versions of this major release #44

czechboy0 opened this issue Jul 27, 2015 · 2 comments

Comments

@czechboy0
Copy link

Currently only Xcode 7 beta 4 is shown (after all the release versions of Xcode 6). It'd be great if you could also allow downloading older beta versions (in this case 1 through 3).

If you look at the url from the developer portal: https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_7_beta_4/Xcode_7_beta_4.dmg you can see that it can be easily deduced that Apple uses a deterministic naming scheme. When I tried changing it to https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_7_beta_3/Xcode_7_beta_3.dmg, it downloaded just fine (also worked for 2).

So I guess my feature suggestion is to support even unlisted beta versions by assuming that the naming scheme stays the same. If you ping the "made up" URL of the earlier betas, you can tell whether there is a resource or not, so you could even run through them in xcode-install list.

@neonichu
Copy link
Collaborator

I'm not sure about fiddling with the URLs inside XcodeInstall, the scheme changes frequently, e.g. Xcode 6.4 has /services-account/download?path=/WWDC_2015/Xcode_6.4_beta_4/Xcode_6.4_beta_4.dmg and they also sometimes disappear.

I'd rather put that step into the hand of the user and offer to install from a manually provided URL, e.g.

$ xcode-install install https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_7_beta_3/Xcode_7_beta_3.dmg

This makes it more obvious that it is on the user to check if that version is still around.

@czechboy0
Copy link
Author

Close enough :)
On Tue, Jul 28, 2015 at 9:26 AM Boris Bügling notifications@github.com
wrote:

I'm not sure about fiddling with the URLs inside XcodeInstall, the scheme
changes frequently, e.g. Xcode 6.4 has
/services-account/download?path=/WWDC_2015/Xcode_6.4_beta_4/Xcode_6.4_beta_4.dmg
and they also sometimes disappear.

I'd rather put that step into the hand of the user and offer to install
from a manually provided URL, e.g.

$ xcode-install install https://developer.apple.com/services-account/download?path=/Developer_Tools/Xcode_7_beta_3/Xcode_7_beta_3.dmg


Reply to this email directly or view it on GitHub
#44 (comment)
.

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

No branches or pull requests

2 participants