Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-6525

Make 'Rename root directory' option mandatory when uploading plugin code to moodle.org/plugins

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Component/s: moodle.org/plugins
    • Labels:
      None

      Description

      During the last days, it has happened several times for me that a plugin version downloaded from moodle.org/plugins did not contain a folder with the expected plugin name but a folder with a name from Github.

      For example:

      This has happened with multiple plugins from several developers.

      I am aware that, when uploading new plugin versions to moodle.org/plugins, there is a checkbox called 'Rename root directory'. This checkbox is checked by default.

      I can now imagine (without having reproduced it as I do not have a plugion version to publish currently) that this checkbox is broken and the root directory is not renamed when publishing a plugin version from Github. I would like to ask to have this investigated as some admins (like me) might rely on the directory structure in the Zip packages.

      But furthermore, I do not see a real need for this checkbox or for unchecking this checkbox manually. That's why I would like to propose to get rid of this checkbox and to always process the uploaded Zip packages in a way that they contain a folder with the plugin name.

      Thanks,
      Alex

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mudrd8mz David Mudrák (@mudrd8mz)
              Reporter:
              abias Alexander Bias
              Participants:
              Component watchers:
              David Mudrák (@mudrd8mz)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: