Git cache not working in 0.7.0rc1 for dependencies specifying a Git URL in the Podfile #820

Closed
ChristopherRogers opened this Issue Feb 27, 2013 · 1 comment

Comments

Projects
None yet
2 participants

I have a dependency in my Podfile that directly references a git repository using :git => 'internalserver.com:myproject/myrepo.git', but it "pre-downloads" it every time I execute pod update. Cloning the repository takes a few minutes, so this is very problematic.

When running under verbose, it always marks the dependency with an M in the "Comparing resolved specification to the sandbox manifest" section and says "Installing [module name]" instead of "Using [module name]"--I suppose because it just re-downloaded it.

Owner

fabiopelosin commented Feb 27, 2013

I have a dependency in my Podfile that directly references a git repository using :git => 'internalserver.com:myproject/myrepo.git', but it "pre-downloads" it every time I execute pod update
When running under verbose, it always marks the dependency with an M in the "Comparing resolved specification to the sandbox manifest" section and says "Installing [module name]" instead of "Using [module name]"--I suppose because it just re-downloaded it.

This is the expected behavior as CocoaPods doesn't know if the remote has updated its contents. So we always fetch them in pod update. A minor annoyance if the cache is working.

The cache issue has been fixed by CocoaPods 0.17.0.rc2. Please reopen if persists.

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