cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-7840) Plugman publish should fail if plugin id contains UPPERCASE characters
Date Thu, 04 Dec 2014 13:57:13 GMT

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

Ian Clelland commented on CB-7840:
----------------------------------

I suspect that this was a canonicalization step -- to avoid the issue where one person publishes
com.example.cordovaplugin, and then later someone (maybe the same person) publishes com.example.CordovaPlugin,
and it becomes a separate entry in the repo.

The correct solution for this is to run this same canonicalization at all points -- on upload,
on registry search/download, and on plugin dependency checking. Andrew's solution is pragmatic
though, and easy to implement right now.

> Plugman publish should fail if plugin id contains UPPERCASE characters
> ----------------------------------------------------------------------
>
>                 Key: CB-7840
>                 URL: https://issues.apache.org/jira/browse/CB-7840
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>            Reporter: Andrew Grieve
>            Priority: Minor
>
> Right now plugman lets you publish a plugin like `org.foo.Bar`, but it lowercases it
to `org.foo.bar` in the process. Other plugins that depend on it then fail to find it, as
does a `plugman info org.foo.Bar`.
> Simplest fix is to error out if someone tries to publish a plugin with an UPPERCASE letter
in it.



--
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