http://git.aliens-lyon.fr/help/raketasks

According to "User Management": 


Add user as a developer to all projects

bundle exec rake gitlab:import:user_to_projects[[email protected]]


Hope this works for you!


Marc Leforestier於 2014年2月14日星期五UTC+8上午12時19分38秒寫道:
>
> Hello
>
> I have just installed Gitlab. 
>
> We have approximatively 300 students who will use it. So I don't want te 
> create all the accounts by the hand :).
>
> I tried CAS authentication, but it seems that it doesn't work with our 
> system.
>
> So I want to create users with a script. 
> I tried gitlab_cli but with version 6 of gitlab, I can't manage users :
>
> # gitlab help
>>
>> Commands:
>>
>>   gitlab --version                     # print version
>>
>>   gitlab help [COMMAND]                # Describe available commands or 
>>> one specific command
>>
>>   gitlab project [SUBCOMMAND]          # perform an action on a project
>>
>>   gitlab projects [OPTIONS]            # list projects
>>
>>   gitlab snippet [SUBCOMMAND]          # perform an action on a snippet
>>
>>   gitlab snippets [PROJECT] [OPTIONS]  # list snippets for a project
>>
>>
>>> # gitlab users
>>
>> Could not find command "users".
>>
>>
> So I would like to attack the database with a script in order to add the 
> users directly in the user table. I tried that, and that's working.
>
> I juste want to know what do you think about this solution. 
>
> Thanks for your help
> Marc
>
> ps: Sorry for my english...
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to