hey,
did you found any solution for this?
how did you proceeded?

thanks,
camilo



On Wednesday, November 25, 2015 at 7:16:36 AM UTC+1, Виталий Томин wrote:
>
> Hello, I have private gitorious 3.1.0 running and want to migrate all its 
> users, projects and repositories to new fresh installed gitlab. I've found 
> some scripts on github gitorious-export and gitorious-import, but they 
> seems too old (for gitorious 1 and 2 versions). When I'm trying to run 
> export it throws errors about non existing fields or methods like this:
>
>
> irb(main):001:0> load 'gitorious-export/export.rb'
>>   Project Load (5.8ms)  SELECT `projects`.* FROM `projects` WHERE 
>> `projects`.`owner_type` = 'Group' AND (projects.suspended_at is null)
>>   Repository Load (0.7ms)  SELECT `repositories`.* FROM `repositories` 
>> WHERE `repositories`.`project_id` = 1 AND `repositories`.`owner_type` = 
>> 'Group' AND (kind != 1) ORDER BY repositories.created_at asc
>>   Project Load (0.5ms)  SELECT `projects`.* FROM `projects` WHERE 
>> `projects`.`id` = 1 AND (projects.suspended_at is null) LIMIT 1
>>   Committership Load (38.4ms)  SELECT `committerships`.* FROM 
>> `committerships` WHERE `committerships`.`repository_id` = 21 AND 
>> ((permissions & 32) != 0)
>>   User Load (18.4ms)  SELECT `users`.* FROM `users` WHERE `users`.`id` = 
>> 1 LIMIT 1
>> NoMethodError: undefined method `members' for #<User:0x000000068ca9f0>
>>         from 
>> /srv/www/gitorious/.bundle/ruby/2.0.0/gems/activemodel-3.2.19/lib/active_model/attribute_methods.rb:407:in
>>  
>> `method_missing'
>>         from 
>> /srv/www/gitorious/.bundle/ruby/2.0.0/gems/activerecord-3.2.19/lib/active_record/attribute_methods.rb:149:in
>>  
>> `method_missing'
>>         from gitorious-export/export.rb:18:in `block (3 levels) in 
>> export_projects_data'
>>         from gitorious-export/export.rb:18:in `map'
>>         from gitorious-export/export.rb:18:in `block (2 levels) in 
>> export_projects_data'
>>         from gitorious-export/export.rb:17:in `map'
>>         from gitorious-export/export.rb:17:in `block in 
>> export_projects_data'
>>         from gitorious-export/export.rb:16:in `map'
>>         from gitorious-export/export.rb:16:in `export_projects_data'
>>         from gitorious-export/export.rb:69:in `export_projects'
>>         from gitorious-export/export.rb:100:in `<top (required)>'
>>
>>
> Is there any working tools to migrate gitorious data to gitlab?
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/2f799371-0cb9-4677-8b36-24a734f453e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to