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

Fixed a bug with :head download and no prior clone #426

Merged
merged 4 commits into from Jul 27, 2012

Conversation

farcaller
Copy link
Contributor

The bug triggers on missing cache and :head version spec.

Error

No such file or directory - /Users/farcaller/Library/Caches/CocoaPods/Git/ee015ca62af170291abfbddcac2be7db4e7f9d63
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/downloader/git.rb:75:in `chdir'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/downloader/git.rb:75:in `update_cache'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/downloader/git.rb:102:in `download_head'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/downloader/git.rb:143:in `download_head'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/installer.rb:75:in `download_pod'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/installer.rb:61:in `block in install_dependencies!'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/installer.rb:48:in `each'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/installer.rb:48:in `install_dependencies!'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/installer.rb:101:in `install!'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/command/install.rb:53:in `run'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/lib/cocoapods/command.rb:71:in `run'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/gems/cocoapods-0.9.2/bin/pod:12:in `<top (required)>'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/bin/pod:19:in `load'
/Users/farcaller/.rvm/gems/ruby-1.9.3-p125/bin/pod:19:in `<main>'

@travisbot
Copy link

This pull request fails (merged 35270d2 into 5549e5f).

@alloy
Copy link
Member

alloy commented Jul 27, 2012

This is the fix I proposed on #425, thanks!

Can you add a test for it, though?

@farcaller
Copy link
Contributor Author

Added a test, also fixed one more related issue.

@travisbot
Copy link

This pull request fails (merged 5adce29 into 5549e5f).

@alloy
Copy link
Member

alloy commented Jul 27, 2012

Looks good, thanks!

alloy added a commit that referenced this pull request Jul 27, 2012
Fixed a bug with :head download and no prior clone
@alloy alloy merged commit 4429b06 into CocoaPods:master Jul 27, 2012
jzapater pushed a commit to jzapater/CocoaPods that referenced this pull request Sep 17, 2013
LibComponentLogging-Core updates, and spec for 1.3.1
alloy added a commit that referenced this pull request Oct 25, 2014
Fixed a bug with :head download and no prior clone
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