cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9825) Support third-party package managers like Cocoapods and Nuget
Date Fri, 29 Jul 2016 19:15:20 GMT

    [ https://issues.apache.org/jira/browse/CB-9825?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399879#comment-15399879
] 

ASF GitHub Bot commented on CB-9825:
------------------------------------

Github user stevengill commented on the issue:

    https://github.com/apache/cordova-ios/pull/234
  
    @blakgeek that is pretty cool!
    
    Looks like @juliascript PR handles most of it. (doesn't handle configuration yet)
    
    For android, you would add your plugin deps to your gradle file and check that in. The
framework tag in plugin.xml is used to fetch deps from gradle as well. 
    
    For iOS, we are adding the same functionality by extending the framework tag to be able
to grab pods. It creates a podFile and pods.JSON is used for dependency management. 
    
    If we were sticking to how we do things with Android, users who want pods in their cordova
apps at a project level would just do a pod init and pod install packages themselves. They
would then check in the pod file into version control. But these pods wouldn't be managed
by cordova. They wouldn't go into pods.json and we wouldn't check to see if they exist when
adding pods via plugin's framework tag.
    
    i like the idea of the ability to add pods via config.xml. We could add them to pods.json
and look for conflicts. But, nothing would stop the user from just pod installing instead
of using config.xml too add the pod. In that scenario, we have the same problem of not really
knowing what pods are installed.
    



> Support third-party package managers like Cocoapods and Nuget
> -------------------------------------------------------------
>
>                 Key: CB-9825
>                 URL: https://issues.apache.org/jira/browse/CB-9825
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: CordovaLib
>            Reporter: Shazron Abdullah
>            Assignee: Julia Geist
>              Labels: cordova-ios-5.0.x
>
> ML discussion:
> http://markmail.org/message/5qvg6rwr4nz4q7mc
> cordova-discuss proposal (to be brought back to the list when finalized):
> https://github.com/cordova/cordova-discuss/blob/master/proposals/ThirdPartyPackageManagers.md
> From Steve Gill in the ML:
> At the Cordova F2F, everyone seemed to agree that we should bring CocoaPods
> support to plugins as dependencies for iOS.
> Cordova-android currently uses Gradle as a way to enable external
> dependency resolution for plugins using the framework tag.
> A suggestion about using the engine tag to fetch cocoapods-cli (mac) &
> NuGet (windows) followed by using the framework tag was discussed.
> The minutes[1] show Carlos, Shaz and Raghav as looking into the design.
> Someone should write up a proposal on cordova-discuss[2] and create the
> issues. Post them in this thread.
> This shouldn't take priority over cordova-ios 4 issues.
> [1]
> https://docs.google.com/document/d/1MArKRmnLS052LBbhPxJF57_4ZivghOj8znWo5sTCkbU/edit?usp=sharing
> [2] https://github.com/cordova/cordova-discuss



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message