Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I wanted to quickly find out if anyone has been able to generate random relationships between its users ( also randomly generated by devel generate) to simulate a networking site? In my limited search I have found a solution to this, would there be a interest among module maintainers to look at it if I write one? In short I wanna find out if people would find it useful?
Comment | File | Size | Author |
---|---|---|---|
#6 | ur-drush_generate-824304-6.patch | 3.82 KB | SebCorbin |
#4 | ur-drush_generate-824304.patch | 3.75 KB | SebCorbin |
Comments
Comment #1
ajayg CreditAttribution: ajayg commentedI would be interested to try such thing. Not in production but just more for testing.
Comment #2
ajayg CreditAttribution: ajayg commentedAny further update on this, dipen. Can you please share?
Comment #3
mrf CreditAttribution: mrf commentedI am postponing any 6.x feature requests that don't have a current applicable patch to help sort the large list of open features.
Please feel free to set to 'needs review' once a patch is included.
Comment #4
SebCorbin CreditAttribution: SebCorbin commentedHere's a drush hook to generate random relationships between existing users
Comment #5
mrf CreditAttribution: mrf commentedI did some work on http://drupal.org/sandbox/mrf/1520184
I totally forget where I left that, but think it works better as a standalone module based on the limited audience. SebCorbin, I can add you on to that if you are interested.
Comment #6
SebCorbin CreditAttribution: SebCorbin commentedCreating a module just for that is not necessary, *.drush.inc modules are just loaded during drush bootstrap.
I added an invoke option for firing the hook_user_relationships_save with a given param
Comment #7
Andre-BComment #8
BerdirThanks, committed and pushed.