Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the tool/externaltaskmonitor plugin to Moodle 4.4 #54

Conversation

ctam
Copy link

@ctam ctam commented Sep 3, 2024

This PR includes changes to push.yml that enable GHA in submodules.

ctam added 2 commits September 5, 2024 12:50
…rnaltaskmonitor as a submodule from its MOODLE_404_STABLE branch.
 * Enable submodules checkout in GHA.
 * Add token variable for checking out private repos in GHA.
 * Disable PostgreSQL tests in GHA.
@ctam ctam force-pushed the UCSFCLE_404-Issue#52-Add_tool_externaltaskmonitor_plugin_to_Moodle_4.4 branch from 426202d to dd173c2 Compare September 5, 2024 19:51
@lbailey-ucsf
Copy link
Collaborator

why not just delete unwanted lines in push.yml instead of commenting them out?

@ctam
Copy link
Author

ctam commented Sep 5, 2024

Good question.

I do want to preserve the general structure of the original file from Moodle HQ and also be able to insert my comments regarding why we want to disable Grunt in the submodules and PostgreSQL testing in the file.

My concern is that a developer would come in and start adding new changes to the file without knowing that all these cool features have already been implemented in Moodle HQ's repo. As time goes on, this file may become unrecognizable that we start adding new changes and make it further deviate from the Moodle HQ's code. I didn't think it's practical for a developer to always check the commit log before coding for a feature. In this case say, adding support for PostgreSQL.

If there is a better way to ensure that, I am all ears.

@ctam ctam linked an issue Sep 5, 2024 that may be closed by this pull request
Copy link
Collaborator

@lbailey-ucsf lbailey-ucsf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'd suggest removing commented out lines of code before committing.

@ctam
Copy link
Author

ctam commented Sep 5, 2024

Thanks for your comment.

I think I will leave them there for now. I really don't want to see a developer start coding his own way of setting up, say, a different PostgreSQL image while they could've simply used m4nu56/PostgreSQL, the one Moodle HQ uses.

@ctam ctam closed this Sep 5, 2024
@ctam ctam reopened this Sep 5, 2024
@ctam ctam merged commit df4b936 into ucsf-education:UCSFCLE_404_STABLE Sep 5, 2024
@ctam ctam deleted the UCSFCLE_404-Issue#52-Add_tool_externaltaskmonitor_plugin_to_Moodle_4.4 branch September 6, 2024 02:50
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.

Add tool_externaltaskmonitor plugin to Moodle 4.4
2 participants