Comments (1)
Hi!
Thanks for your words. There is a tracker in Moodle which motivates to include this plugin into core: https://tracker.moodle.org/browse/MDL-61542. You could post there, vote it, to try to push it a bit more. More votes, more possibilities to work on it by Moodle HQ.
However, I think that for including this functionality of merging users (instead of including this plugin as-is), this should be reworded into a new API, so that any part/component/plugin of Moodle defines how to do that. The default behaviour should be the current one: travel database table by table, but enabling that any part of Moodle define how to do that. There are so many issues and special cases related to specific behaviour of all these parts of Moodle (like grades, quiz attempts, and so many others). This approach would enable to adopt it progressively into Moodle core.
Regarding to your question: it would be very useful and convenient to process a single merge users into slots. I agree. The problem arised is how to define these slots: by amount of tables to work on? What should happen if a slot presents an error? Should the rest of slots be processed no matter previous errors if any or should it stop?
There is another issue created to convert any single merging into a single adhoc_task, so that cron.php would process it. However, a single merging could take half an hour easily on our instance, which have aournd 20K users in total. So the idea is go ahead a bit more, and analyse how to create several adhoc_tasks per merging.
Thanks for your words and vote that tracker and ask for voting it ;-)
Jordi
from moodle-tool_mergeusers.
Related Issues (20)
- filter list of merging by a given string and also filtering for success or error
- order by date or order by merging id?
- "How to resolve quiz attempts" description is wrong? HOT 2
- The mod_assign_base_testcase unit test base class has been deprecated HOT 1
- mdl_customcert_issues duplicate value after merge HOT 5
- Search without case sensitive way
- 4.0/4.1 support HOT 3
- repeat merging operation after success HOT 1
- regrading produces warnings
- ensure logstore_standard_log.realuserid is processed
- Logs: include start time and end time for every block of actions
- Start defining Inversion of Control: let parts of Moodle govern how to do merge operations HOT 1
- Error when trying the merge value from user_profile_data HOT 1
- Problems during merging on ldap users HOT 1
- Export data from tool_mergeusers to tool_mergeusers_queue
- Problem concerning the plugin update to Moodle 4.1 HOT 7
- Moodle 4.1, PHP 8.1: web interface needs improvement
- Request: Please include an ongoing changelog instead of one file for each git tag HOT 3
- Error when even trying to start it up HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-tool_mergeusers.