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
:head
has no effect on installation in 0.35 RC1
#2789
Comments
@neonichu Did you verify (by checking the code) if it does in fact fetch the latest released version? Maybe it’s only the activated version info string that changed (and should probably be fixed). |
Yes, it does indeed fetch the released code, that's how I even noticed the issue :) |
@neonichu Ok. It should work as you expected it to. |
I can confirm it does contain and download the HEAD code when installed from master. The lock file mentions HEAD too. DEPENDENCIES:
- AFNetworking (HEAD) The installation message does infact show the version and not HEAD. $ pod install --no-repo-update --no-integrate
Analyzing dependencies
Downloading dependencies
Installing AFNetworking (2.4.1)
Generating Pods project From -> Installing AFNetworking (2.4.1)
> Git HEAD download
> Git download
$ /usr/local/bin/git clone https://github.com/AFNetworking/AFNetworking.git
/Users/kylef/Projects/tmp/cp/Pods/AFNetworking --single-branch --depth 1
Cloning into '/Users/kylef/Projects/tmp/cp/Pods/AFNetworking'...
$ /usr/local/bin/git submodule update --init
- Running pre install hooks The Podfile: platform :osx, '10.10'
pod 'AFNetworking', :head I did however find a different bug when running
Note: as of the current time of writing this comment. I'm running CocoaPods, Core and Molinillo from master. |
I think the message and lockfile should tell the user that it is using HEAD and which podspec it is using, as was previously the case. |
Using CP current master, the result is indeed correct (downloading code from HEAD), but the message is wrong, just as @kylef says. |
@neonichu it would be awesome if you could add a spec, since I don't 100% understand what the actual issue is |
@segiddins See my comment, it contains steps to reproduce, and running it again after The message for |
…ever actually installed (i.e. incompatible platform subspecs) See #2789 (comment).
For clarity: the issue was not just the message -- it was a real change in how marking head versions propagated. |
…ever actually installed (i.e. incompatible platform subspecs) See #2789 (comment).
Using the Podfile
RC1 will install the latest released version still:
while previous versions would install HEAD:
The lock file created by RC1:
and the obligatory 🌈
The text was updated successfully, but these errors were encountered: