SDURLCache icon indicating copy to clipboard operation
SDURLCache copied to clipboard

add SDURLCache to Cocoapods

Open PradeshKumar opened this issue 12 years ago • 9 comments

Hi,

Can u please add ur git repo to Cocoapods spec? so, that we can able use ur SDURLCache.

or

Use the spec in root of a git repo:

pod 'SDURLCache', :git => 'https://github.com/steipete/SDURLCache.git', :commit => '42ad9c79edcc5c863cf3fe02c585f92e45255441'

PradeshKumar avatar Aug 14 '12 09:08 PradeshKumar

+1 on this. This fork should be somehow differentiated from the original one that is already there:

$ pod list | grep SDURL
--> SDURLCache (1.2)
    - Homepage: https://github.com/rs/SDURLCache
    - Source:   https://github.com/rs/SDURLCache.git

stanislaw avatar Sep 28 '12 21:09 stanislaw

I'm not sure what the best solution for this might be. Renaming the project?

steipete avatar Sep 28 '12 21:09 steipete

I see two possible solutions:

  1. Rename the project.
  2. Just alternate the spec title like SDURLCache (faster fork) or similar. It is faster, right? ;)

stanislaw avatar Sep 28 '12 21:09 stanislaw

I might go for PSURLCache - I do believe it's faster, but haven't actually done any benchmarks on it, so I don't wanna make claims.

steipete avatar Sep 28 '12 21:09 steipete

Sounds good. So are you actually going to do this?

stanislaw avatar Sep 28 '12 22:09 stanislaw

Just a little advice on managing Pod spec:

Use Github Tags to tag every new version you release - it is much more convenient way of managing a spec instead of using long commit codes like

s.source = { :git => "http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios.git", :tag => "2.1.0" }

instead of

s.source = { :git => 'https://github.com/gabriel/gh-unit.git', :commit => 'fea526dee3e6e00548f280b56d4afab049733ef8'}

Thanks!

stanislaw avatar Sep 28 '12 22:09 stanislaw

Hey, @steipete. Do you still get a plan to make your fork formally available through CocoaPods?

hankbao avatar Jan 08 '13 08:01 hankbao

+1. A podspec would be fantastic. I think you should go for the rename. But maybe I'm biased cause my initials are also PS.

Just kidding about the bias, I think it's a good idea to differentiate them clearly, but perhaps keep a clear mention of SDURLCache in the readme.

paulshapiro avatar Jan 22 '13 21:01 paulshapiro

Any chance to get podspec for this repo?

delebedev avatar Jul 19 '13 12:07 delebedev