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

Perform some checks before importing an extension in the Repository Application

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 5.0-milestone-2
    • Repository
    • None
    • Unknown

    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

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

            Dates

              Created:
              Updated: