Skip to content

Conversation

@andrewnicols
Copy link

Hi,

I am the Principal Architect for Moodle and I'm tryign to move Moodle to officially support installation via Composer.

This set of changes adds support for:

  • the 'public' directory introduced in Moodle 5.1
  • the ability for Moodle to be installed as a Composer dependency
  • configuration of an installation-specific prefix for the Moodle 'core' path

I've also:

  • updated the plugin type list for Moodle 5.1
  • removed the admin_report plugin type which has not been a valid plugin type for about 15 years.

@andrewnicols
Copy link
Author

Hi @Seldaek,

I just wanted to check if we're still ok to go for this approach (submitting patches for the Composer installer), or would you recommend we roll our own plugin which is specific to Moodle?

I note that the recommendation in Composer docs is to use the new Composer API to access plugins by type from the vendor directory, but sadly we're some time away from being able to do this (though it is on my radar). I also note that there is a related PR (#550) which has been waiting for PR for some time and this project has not seen a patch for some time.

Cheers

This set of changes adds support for:

- the 'public' directory introduced in Moodle 5.1
- the ability for Moodle to be installed as a Composer dependency
- configuration of an installation-specific prefix for the Moodle 'core' path

I've also:

- updated the plugin type list for Moodle 5.1
- removed the `admin_report` plugin type which has not been a valid
  plugin type for about 15 years.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant