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

Cococapods enumeration using cocoapods plugin #644

Merged
merged 5 commits into from
Mar 20, 2023
Merged

Conversation

jonabc
Copy link
Contributor

@jonabc jonabc commented Mar 20, 2023

closes #636

This PR adds support for cocoapods without introducing a direct dependency on the cocoapods-core gem. See the linked issue for full context, with a TL;DR that the additional nested dependency version requirements on common gems included from cocoapods-core made it difficult for downstream licensed users to install licensed alongside other usages of those same dependencies.

As an alternative approach to taking a direct dependency on the cocoapods-core gem, I created a pod CLI plugin at jonabc/cocoapods-dependencies-list which outputs dependency information as JSON. The plugin was made pretty specifically for licensed but I suppose it's possible for the data output to be used by other tools as well. I searched rubygems for a plugin that might already support licensed's usage but it looked like all existing plugins output graph visualizations of dependencies.

This PR uses the new plugin to enumerate cocoapods dependencies without taking any hard dependencies on cocoapods gems.

@jonabc
Copy link
Contributor Author

jonabc commented Mar 20, 2023

cc @LouisBoudreau FYI I'm going to merge this and put out a new release of licensed with cocoapods enabled. If you have cocoapods projects that you were planning to use licensed for, could you give the new release a try when it's out and let m know how everything works out between licensed, the cocoapods plugin, or anything else related to this integration?

@jonabc jonabc merged commit 2439696 into master Mar 20, 2023
@jonabc jonabc deleted the cococapods-with-plugin branch March 20, 2023 16:56
jonabc added a commit that referenced this pull request Mar 20, 2023
### Added

- Cocoapods support has been re-enabled using a cocoapods plugin (#644)
@jonabc jonabc mentioned this pull request Mar 20, 2023
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.

Create cocoapods plugin for enumerating dependencies for licensed
1 participant