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
3c7feaf3
Commit
3c7feaf3
authored
Sep 07, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed label color issue and added Import/Export versioning table
parent
e74b7d66
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
doc/user/project/settings/import_export.md
doc/user/project/settings/import_export.md
+16
-2
lib/gitlab/import_export.rb
lib/gitlab/import_export.rb
+1
-0
lib/gitlab/import_export/relation_factory.rb
lib/gitlab/import_export/relation_factory.rb
+1
-1
No files found.
doc/user/project/settings/import_export.md
View file @
3c7feaf3
...
@@ -3,8 +3,8 @@
...
@@ -3,8 +3,8 @@
>**Notes:**
>**Notes:**
>
>
> - [Introduced][ce-3050] in GitLab 8.9.
> - [Introduced][ce-3050] in GitLab 8.9.
> - Importing will not be possible if the import instance version
is lower
> - Importing will not be possible if the import instance version
differs from
> tha
n tha
t of the exporter.
> that of the exporter.
> - For existing installations, the project import option has to be enabled in
> - For existing installations, the project import option has to be enabled in
> application settings (`/admin/application_settings`) under 'Import sources'.
> application settings (`/admin/application_settings`) under 'Import sources'.
> You will have to be an administrator to enable and use the import functionality.
> You will have to be an administrator to enable and use the import functionality.
...
@@ -17,6 +17,20 @@
...
@@ -17,6 +17,20 @@
Existing projects running on any GitLab instance or GitLab.com can be exported
Existing projects running on any GitLab instance or GitLab.com can be exported
with all their related data and be moved into a new GitLab instance.
with all their related data and be moved into a new GitLab instance.
## Version history
| GitLab version | Import/Export version |
| -------- | -------- |
| 8.12.0 to current | 0.1.4 |
| 8.10.3 | 0.1.3 |
| 8.10.0 | 0.1.2 |
| 8.9.5 | 0.1.1 |
| 8.9.0 | 0.1.0 |
> The table reflects what GitLab version we updated the Import/Export version at.
> For instance, 8.10.3 and 8.11 will have the same Import/Export version (0.1.3)
> and the exports between them will be compatible.
## Exported contents
## Exported contents
The following items will be exported:
The following items will be exported:
...
...
lib/gitlab/import_export.rb
View file @
3c7feaf3
...
@@ -2,6 +2,7 @@ module Gitlab
...
@@ -2,6 +2,7 @@ module Gitlab
module
ImportExport
module
ImportExport
extend
self
extend
self
# For every version update, the version history in import_export.md has to be kept up to date.
VERSION
=
'0.1.4'
VERSION
=
'0.1.4'
FILENAME_LIMIT
=
50
FILENAME_LIMIT
=
50
...
...
lib/gitlab/import_export/relation_factory.rb
View file @
3c7feaf3
...
@@ -19,7 +19,7 @@ module Gitlab
...
@@ -19,7 +19,7 @@ module Gitlab
EXISTING_OBJECT_CHECK
=
%i[milestone milestones label labels]
.
freeze
EXISTING_OBJECT_CHECK
=
%i[milestone milestones label labels]
.
freeze
FINDER_ATTRIBUTES
=
%w[title
color
project_id]
.
freeze
FINDER_ATTRIBUTES
=
%w[title project_id]
.
freeze
def
self
.
create
(
*
args
)
def
self
.
create
(
*
args
)
new
(
*
args
).
create
new
(
*
args
).
create
...
...
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