Giter Site home page Giter Site logo

CocoaPods compatibility about sttwitter HOT 9 CLOSED

nst avatar nst commented on July 1, 2024
CocoaPods compatibility

from sttwitter.

Comments (9)

nst avatar nst commented on July 1, 2024

Hello,

Thank you for writing. I personnaly don't use CocoaPods and don't know its inner working, so I don't feel comfortable in maintaining a 'podspec'.

However, I'll be happy if someone do, so feel free to submit it on CocoaPods.

STTwitter supports iOS 5+ and Mac OS X 10.7+. The contributors are nst (myself), Frank Dowsett and xnyhps.

STTwitter stays on top of STHTTPRequest https://github.com/nst/STHTTPRequest. Contributors: nst (myself), alistairg, sburlot and MSchmidt.

Nicolas Seriot

from sttwitter.

eroth avatar eroth commented on July 1, 2024

Nicolas,

Ok, I can submit it and also make a fork to update the STTwitter README with simple instructions on how to add STTwitter to a CocoaPods project. The only issue is that it will point to a specific commit (right now be05589). You could also use version numbers, but you're not currently using them. That would be easier because then you could just bump the version number in the podspec when you've made a release.

How are you incorporating the changes you make on STHTTPRequest to STTwiiter? I see you have a separate repo for STHTTPRequest, but you also have that same class in Vendor/STHTTPRequest in your STTwitter repo, and it looks like you've made manual changes to it directly in STTwitter.

Thanks,
Evan

from sttwitter.

nst avatar nst commented on July 1, 2024

I can tag version 'be05589' as version '0.0.1'.

You can fork STTwitter, add the relevant details in the README and make a pull request then.

And yes, until now I've been copying STHTTPRequest into STTwitter from time to time and only after testing that everything was working well. Should I adopt a more formal process to ease integration to CocoaPods?

from sttwitter.

eroth avatar eroth commented on July 1, 2024

Nicolas,

Ok, that sounds good—'beo5589' is what I was using to point to. Sure, I'll fork the repo and then make a pull request when I update the README.

As far as STHTTPRequest is concerned, it's really up to you. I could include it as a dependency of STTwitter for CocoaPods, and you could then remove it from this repo (and for Git you could also then make it a dependent Git submodule)? Then, in the future, all you'd have to do is change the version tag of STHTTPRequest on its podspec—you wouldn't have to manually make the changes in this repo you'd already made there. But if you're comfortable doing it this way, that works, too. Just let me know.

Evan

from sttwitter.

nst avatar nst commented on July 1, 2024

I think it's best that STTwitter does not require CocoaPods for the STHTTPRequest dependancy.

Maybe in the future I'll use a Git submodule, but for now I prefer being overly cautious to avoid accidentally breaking something and I'll keep on duplicating tested versions of STHTTPRequest into the STTwitter repository.

from sttwitter.

eroth avatar eroth commented on July 1, 2024

Ok, sure- I understand. It all boils down to what works best for you! Ok, I'll just wait for you to tag "beo5589' as release '0.0.1,' then make the change and submit it to the CocoaPods master repo. I'll start working on the README in the meantime.

Thanks,
Evan

from sttwitter.

nst avatar nst commented on July 1, 2024

Ok I merged your changes in the README and tagged the latest version afterwards.

https://github.com/nst/STTwitter/tags

from sttwitter.

eroth avatar eroth commented on July 1, 2024

Forked and pulled into the CocoaPods master repo, visible at https://github.com/CocoaPods/Specs. I tested it in my project and it's working. I can teach you how to edit the podspec to make future releases available, or you can let me know and I can do it.

Evan

from sttwitter.

nst avatar nst commented on July 1, 2024

Thank you!

from sttwitter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.