Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5006

Allow installing plugins by ID to resolve to local plugin directories

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugman
    • Labels:
      None

      Description

      ML: http://markmail.org/thread/3w77elhdnidcdyxq

      Instead of always hitting the registry when installing a plugin by ID, first see if it exists within the "plugin search path".

      The plugin search path should be specified in the same way as other plugman registry settings:
      https://git-wip-us.apache.org/repos/asf?p=cordova-plugman.git;a=blob;f=src/registry/registry.js;h=ccdd45ab672abe99a731b9fe0aed8837db40d6f0;hb=f240acc532f93bdf16761836d9b7418373afebec#l239

      The search path should point to directories that contain directories that contain plugin.xml files. E.g., on start-up, plugman will need to scan on level deep in all search paths for plugin.xml files and parse out their IDs.

      We should be sure to have a console message upon installation that says where plugins are being installed from.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kamrik Mark Koudritsky
                Reporter:
                agrieve Andrew Grieve
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: