A few suggestions that could significantly enhance its functionality and user experience.
Feature Request 1: Add Support for PRE and POST Commands
Rationale:
Introducing PRE and POST command hooks would allow users to execute custom scripts or commands before and after specific actions, such as starting Moodle, upgrading, or performing maintenance tasks. This feature can be particularly useful for:
Custom initial configurations or environment setups.
Pre-checks or validations before critical operations.
Post-operation cleanups or notifications.
Implementation:
Add hooks for PRE and POST commands in the relevant scripts or Dockerfiles.
Document the available hooks and provide examples of their usage in the repository's README or a separate documentation file.
Feature Request 2: Add an Option to Install Plugins Automatically from CLI
Rationale:
Moodle's extensibility is one of its greatest strengths, and being able to automate plugin installation from the command line would streamline the setup process. This feature would be beneficial for:
Simplifying deployment scripts.
Ensuring consistency across different Moodle instances.
Reducing manual steps in the installation and upgrade processes.
Implementation:
Introduce a CLI option or environment variable that allows users to specify a list of plugins (including their source URLs or repository references) to be installed automatically during the setup process.
Ensure the plugin installation process handles dependencies and version compatibility.
Provide examples and guidelines for using this feature in the repository's documentation.
Conclusion:
Adding these features would enhance the flexibility and automation capabilities of the erseco/alpine-moodle setup, making it even more user-friendly and powerful.
A few suggestions that could significantly enhance its functionality and user experience.
Feature Request 1: Add Support for PRE and POST Commands
Rationale: Introducing PRE and POST command hooks would allow users to execute custom scripts or commands before and after specific actions, such as starting Moodle, upgrading, or performing maintenance tasks. This feature can be particularly useful for:
Implementation:
Feature Request 2: Add an Option to Install Plugins Automatically from CLI
Rationale: Moodle's extensibility is one of its greatest strengths, and being able to automate plugin installation from the command line would streamline the setup process. This feature would be beneficial for:
Implementation:
Conclusion: Adding these features would enhance the flexibility and automation capabilities of the
erseco/alpine-moodle
setup, making it even more user-friendly and powerful.