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

Plugman Publish does not work for plugins with a dash in its ID

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • cordova-plugman
    • None

    Description

      I was trying to publish my plugins to plugins.cordova.io, unfortunately I can't because there is a dash in my plugin ID: nl.x-services.plugins.socialsharing

      Changing the ID to nl.xservices.plugins.socialsharing works, but as it's quite a popular plugin, I don't want to change the ID. This may be a publishing blocker for other users as well.

      This is the error message when using 'plugman publish <mypath>':
      'Invalid plugin ID. It has to follow the reverse domain `com.domain.plugin` format'

      Plugman version 0.22.2
      Platform: Mac OS X

      For me to be able to submit my plugin, I require a little tweak to (most likely) the function validateName in src/registry/manifest.js

      Attachments

        Activity

          People

            stevegill Steve Gill
            EddyVerbruggen Eddy Verbruggen
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: