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

[Issue #121] Files table context ad hoc task #139

Merged
merged 5 commits into from
Nov 15, 2024

Conversation

Fragonite
Copy link
Contributor

@Fragonite Fragonite commented Nov 15, 2024

It was discussed a better approach would be to update the records using an ad hoc task.

The task also outputs a CSV file which lists affected courses, what the new contextid and filepathhash will be, and most of the files table fields.

Testing

  • Upgrade the plugin.
  • Check the dirroot directory for the update results.
  • Confirm the files table has been updated (check records using the id column from the CSV, confirming the contextid and pathnamehash in the table use the new values).

@TomoTsuyuki
Copy link
Contributor

Do we need to run by CLI, not upgrade process?
If it is, why do we need to make it for ad-hoc task?

@Fragonite Fragonite force-pushed the issue121-main-ad-hoc-task branch from 829f9c3 to 7a15826 Compare November 15, 2024 06:23
@Fragonite
Copy link
Contributor Author

Hi @TomoTsuyuki,

I have force pushed some changes and updated the PR description.

Thanks.

@TomoTsuyuki TomoTsuyuki merged commit 7867983 into issue121-main Nov 15, 2024
18 checks passed
@TomoTsuyuki TomoTsuyuki deleted the issue121-main-ad-hoc-task branch November 15, 2024 06:39
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.

2 participants