You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am aware that this feature request and discussion came up repeatingly, but the current situation probably still requires a bit of clarification.
Especially now in the transition of 1) CocoaPods 1.1.0.rc and 2) the cocoapods-acknowledgements plugin.
If I understood the issue archive correctly the preferred way of handling the acknowledgements integration is to use the new aforementioned plugin. This is not reflected in the wiki or blog yet, but looks like it's the official way.
Now in some recent version CocoaPods core added the generation of markdown for the acknowledgements automatically, which is btw very convenient for a well designed UI.
But: This in turn is not reflected by the cocoapods-acknowdlegements plugin which only generates plist.
So the "old", "deprecated" way is able to do more than the newly suggested way? Or is the plugin only meant to replace the plist generation?
The reason for the question (a.k.a. "what I want to achieve"): I would like to exclude two pods' licenses, namely the SimulatorStatusBar and Reveal. And have a markdown file generated.
Consider the following example pod file:
platform :ios, '9.0'
use_frameworks!
target :myProject do
pod 'SimulatorStatusMagic', :configurations => ['Debug']
pod 'Reveal-SDK', :configurations => ['Debug']
pod 'Fabric'
pod 'Crashlytics'
end
Excluding them with cococapods-acknowledgements is a no-brainer. Just use the :exclude parameter.
But excluding them for the markdown is complicated as of now. Manual parsing or using thirdparty plugins (like ack-filter mentioned in the references) is something I would like to avoid if possible.
Would it be possible to either
let cocoapods-acknowledgements generate markdown, too?
or
I would have expected CocoaPods to be able to omit debug-only configuration licenses automatically when generating the acknowledgements, which would make a lot of sense to me to not include them.
I'd recommend making improvements to it, so that it covers your use-case, one day we're going to remove the acknowledgements from CocoaPods and have it solely in the plugin.
Thanks for the clarification on what's the way to go in future (= using the plugin).
Basically right, somebody submitted a PR and it uses redcarpet now to parse the markdown in each pod description. But as of now this is only inbound parsing.
I am aware that this feature request and discussion came up repeatingly, but the current situation probably still requires a bit of clarification.
Especially now in the transition of 1) CocoaPods
1.1.0.rc
and 2) thecocoapods-acknowledgements
plugin.If I understood the issue archive correctly the preferred way of handling the acknowledgements integration is to use the new aforementioned plugin. This is not reflected in the wiki or blog yet, but looks like it's the official way.
Now in some recent version CocoaPods core added the generation of markdown for the acknowledgements automatically, which is btw very convenient for a well designed UI.
But: This in turn is not reflected by the
cocoapods-acknowdlegements
plugin which only generatesplist
.So the "old", "deprecated" way is able to do more than the newly suggested way? Or is the plugin only meant to replace the plist generation?
The reason for the question (a.k.a. "what I want to achieve"): I would like to exclude two pods' licenses, namely the SimulatorStatusBar and Reveal. And have a markdown file generated.
Consider the following example pod file:
Excluding them with
cococapods-acknowledgements
is a no-brainer. Just use the:exclude
parameter.But excluding them for the markdown is complicated as of now. Manual parsing or using thirdparty plugins (like
ack-filter
mentioned in the references) is something I would like to avoid if possible.Would it be possible to either
cocoapods-acknowledgements
generate markdown, too?or
:configurations => ['Debug']
licenses automatically?I would have expected CocoaPods to be able to omit debug-only configuration licenses automatically when generating the acknowledgements, which would make a lot of sense to me to not include them.
-- Frederik
References: #1924 and #2465
The text was updated successfully, but these errors were encountered: