mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 05:06:46 +10:00
import/export docs Added documentation for and closes https://gitlab.com/gitlab-org/gitlab-ce/issues/3050 Also added a couple of rake tasks that might be useful. See merge request !4732 Signed-off-by: Rémy Coutable <remy@rymai.me>
14 lines
403 B
Ruby
14 lines
403 B
Ruby
namespace :gitlab do
|
|
namespace :import_export do
|
|
desc "GitLab | Show Import/Export version"
|
|
task version: :environment do
|
|
puts "Import/Export v#{Gitlab::ImportExport.version}"
|
|
end
|
|
|
|
desc "GitLab | Display exported DB structure"
|
|
task data: :environment do
|
|
puts YAML.load_file(Gitlab::ImportExport.config_file)['project_tree'].to_yaml(:SortKeys => true)
|
|
end
|
|
end
|
|
end
|