Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
a7acfa66
Commit
a7acfa66
authored
Mar 10, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add project members to export
parent
4b88b4ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/services/projects/import_export.rb
app/services/projects/import_export.rb
+1
-1
spec/services/projects/import_export/project_tree_saver_spec.rb
...ervices/projects/import_export/project_tree_saver_spec.rb
+4
-0
No files found.
app/services/projects/import_export.rb
View file @
a7acfa66
...
@@ -7,7 +7,7 @@ module Projects
...
@@ -7,7 +7,7 @@ module Projects
end
end
def
project_atts
def
project_atts
%i(
id
name path description issues_enabled wall_enabled merge_requests_enabled wiki_enabled snippets_enabled visibility_level archived)
%i(
project_members
name path description issues_enabled wall_enabled merge_requests_enabled wiki_enabled snippets_enabled visibility_level archived)
end
end
def
project_tree
def
project_tree
...
...
spec/services/projects/import_export/project_tree_saver_spec.rb
View file @
a7acfa66
...
@@ -81,6 +81,10 @@ describe Projects::ImportExport::ProjectTreeSaver, services: true do
...
@@ -81,6 +81,10 @@ describe Projects::ImportExport::ProjectTreeSaver, services: true do
it
'has commit statuses'
do
it
'has commit statuses'
do
expect
(
saved_project_json
[
'commit_statuses'
]).
not_to
be_empty
expect
(
saved_project_json
[
'commit_statuses'
]).
not_to
be_empty
end
end
it
'has project members'
do
expect
(
saved_project_json
[
'commit_statuses'
]).
not_to
be_empty
end
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment