Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8999

Perform some checks before importing an extension in the Repository Application

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 5.0-milestone-2
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Right now several extensions wrongly say that they are created/maintained by the XWiki Development team; for example: http://extensions.xwiki.org/xwiki/bin/view/Extension/CRaSH+Console

      One solution is to perform some checks before allowing the import of a contrib extension (see http://contrib.xwiki.org/xwiki/bin/view/Main/WebHome#HImplementingyourMavenbuild ):

      • Check that the groupid starts with org.xwiki.contrib
      • Check that there's a <developer> section which isn't the one coming from some org.xwiki.<name> artifact where <name> != "contrib"
      • Check that the parent pom is org.xwiki.commons:xwiki-commons-pom

      The only hard part is differentiating xwiki dev team extensions from contrib extensions. A solution is to only allow admins to perform an import on xwiki.org and let the admin specify what he is importing (either a xwiki dev team extension or a contrib extension).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vmassol Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: