[Fusionforge-general] migration help

Taylor, Mark J. mtaylor at WPI.EDU
Mon Jun 11 21:37:32 CEST 2012


Greetings fusion users

I'm working on migrating users, projects and repositories from a pay for use forge system to fusion.  I've got the users added to my development system with little trouble.  I am working on the project creation piece now by modifying fusion's inject-groups.php script.  However I'm having difficulty adding users to the project using the script and I'm hoping I can lean on you for assistance.

Here are two migration issues I'm having:


1.       I can create the project and admin user just fine but  the group class addUser method won't add additional members to the group. All the members of every project are to be project_admins to that should make things easier.


2.       I would like to silently approve the projects without emailing the project administrators (especially during testing).  I tried to use the Group class setStatus  method to set the project to active but that doesn't seem to be working for me. I got around this be copying the activate_group function call from the massadd.php script into the injection script but that generates the approval email that I'm trying to avoid.


I look forward to hearing from you.

By the way I would be more than happy to share the code if anyone is interested though I'm sure it's very unique to my environment.


Regards
Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fusionforge.org/pipermail/fusionforge-general/attachments/20120611/5cd10c01/attachment-0001.html>


More information about the Fusionforge-general mailing list