diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-03 03:08:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-03 03:08:11 +0300 |
commit | bd8fb5668ae739a83d55ec5ca4a04344eef2167e (patch) | |
tree | baf085c6cd58b3b5e5a192d4d3db360d623bb056 /doc/development/import_export.md | |
parent | 561e1b470f0a99fe6304c8f197348c47a637d594 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/import_export.md')
-rw-r--r-- | doc/development/import_export.md | 43 |
1 files changed, 11 insertions, 32 deletions
diff --git a/doc/development/import_export.md b/doc/development/import_export.md index 323ed48aaf9..252a57ce857 100644 --- a/doc/development/import_export.md +++ b/doc/development/import_export.md @@ -195,16 +195,17 @@ module Gitlab The [current version history](../user/project/settings/import_export.md) also displays the equivalent GitLab version and it is useful for knowing which versions won't be compatible between them. -| GitLab version | Import/Export version | -| ---------------- | --------------------- | -| 11.1 to current | 0.2.4 | -| 10.8 | 0.2.3 | -| 10.4 | 0.2.2 | -| ... | ... | -| 8.10.3 | 0.1.3 | -| 8.10.0 | 0.1.2 | -| 8.9.5 | 0.1.1 | -| 8.9.0 | 0.1.0 | +| Exporting GitLab version | Importing GitLab version | +| -------------------------- | -------------------------- | +| 11.7 to current | 11.7 to current | +| 11.1 to 11.6 | 11.1 to 11.6 | +| 10.8 to 11.0 | 10.8 to 11.0 | +| 10.4 to 10.7 | 10.4 to 10.7 | +| ... | ... | +| 8.10.3 to 8.11 | 8.10.3 to 8.11 | +| 8.10.0 to 8.10.2 | 8.10.0 to 8.10.2 | +| 8.9.5 to 8.9.11 | 8.9.5 to 8.9.11 | +| 8.9.0 to 8.9.4 | 8.9.0 to 8.9.4 | ### When to bump the version up @@ -223,28 +224,6 @@ Every time we bump the version, the integration specs will fail and can be fixed bundle exec rake gitlab:import_export:bump_version ``` -### Renaming columns or models - -This is a relatively common occurrence that will require a version bump. - -There is also the _RC problem_ - GitLab.com runs an RC, prior to any customers, -meaning that we want to bump the version up in the next version (or patch release). - -For example: - -1. Add rename to `RelationRenameService` in X.Y -1. Remove it from `RelationRenameService` in X.Y + 1 -1. Bump Import/Export version in X.Y + 1 - -```ruby -module Gitlab - module ImportExport - class RelationRenameService - RENAMES = { - 'pipelines' => 'ci_pipelines' # Added in 11.6, remove in 11.7 - }.freeze -``` - ## A quick dive into the code ### Import/Export configuration (`import_export.yml`) |