summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2016-11-03 15:13:40 +0000
committerAlex Pott2016-11-03 15:13:40 +0000
commitf1b66f3c2c460833daefe3df2af632683ddca165 (patch)
treeae2029197690631195359d56518e481c81a079cb
parent075aa45085c97249a8deddfb8cb978cd1ad79ec6 (diff)
Issue #2818157 by Adita, mikeryan, heddn, alexpott: Add comments to remove entity ids in migration
-rw-r--r--core/modules/comment/migration_templates/d6_comment.yml2
-rw-r--r--core/modules/comment/migration_templates/d7_comment.yml2
-rw-r--r--core/modules/file/migration_templates/d7_file.yml2
-rw-r--r--core/modules/node/migration_templates/d6_node.yml2
-rw-r--r--core/modules/node/migration_templates/d6_node_revision.yml2
-rw-r--r--core/modules/node/migration_templates/d6_node_translation.yml2
-rw-r--r--core/modules/node/migration_templates/d7_node.yml2
-rw-r--r--core/modules/node/migration_templates/d7_node_revision.yml2
-rw-r--r--core/modules/taxonomy/migration_templates/d6_taxonomy_term.yml2
-rw-r--r--core/modules/taxonomy/migration_templates/d7_taxonomy_term.yml2
-rw-r--r--core/modules/user/migration_templates/d6_user.yml2
-rw-r--r--core/modules/user/migration_templates/d7_user.yml2
12 files changed, 24 insertions, 0 deletions
diff --git a/core/modules/comment/migration_templates/d6_comment.yml b/core/modules/comment/migration_templates/d6_comment.yml
index a7ffc9d..f4dff98 100644
--- a/core/modules/comment/migration_templates/d6_comment.yml
+++ b/core/modules/comment/migration_templates/d6_comment.yml
@@ -7,6 +7,8 @@ source:
constants:
entity_type: node
process:
+ # If you are using this file to build a custom migration consider removing
+ # the cid field to allow incremental migrations.
cid: cid
pid:
plugin: migration
diff --git a/core/modules/comment/migration_templates/d7_comment.yml b/core/modules/comment/migration_templates/d7_comment.yml
index 5845999..d4e3c57 100644
--- a/core/modules/comment/migration_templates/d7_comment.yml
+++ b/core/modules/comment/migration_templates/d7_comment.yml
@@ -7,6 +7,8 @@ source:
constants:
entity_type: node
process:
+ # If you are using this file to build a custom migration consider removing
+ # the cid field to allow incremental migrations.
cid: cid
pid:
plugin: migration
diff --git a/core/modules/file/migration_templates/d7_file.yml b/core/modules/file/migration_templates/d7_file.yml
index ffd85ab..7ebf83b 100644
--- a/core/modules/file/migration_templates/d7_file.yml
+++ b/core/modules/file/migration_templates/d7_file.yml
@@ -13,6 +13,8 @@ source:
# configuration in this migration's process pipeline as an example.
source_base_path: ''
process:
+ # If you are using this file to build a custom migration consider removing
+ # the fid field to allow incremental migrations.
fid: fid
filename: filename
source_full_path:
diff --git a/core/modules/node/migration_templates/d6_node.yml b/core/modules/node/migration_templates/d6_node.yml
index 58aea35..4e19bb4 100644
--- a/core/modules/node/migration_templates/d6_node.yml
+++ b/core/modules/node/migration_templates/d6_node.yml
@@ -9,6 +9,8 @@ process:
# In D6, nodes always have a tnid, but it's zero for untranslated nodes.
# We normalize it to equal the nid in that case.
# @see \Drupal\node\Plugin\migrate\source\d6\Node::prepareRow().
+ # If you are using this file to build a custom migration consider removing
+ # the nid and vid fields to allow incremental migrations.
nid: tnid
vid: vid
langcode:
diff --git a/core/modules/node/migration_templates/d6_node_revision.yml b/core/modules/node/migration_templates/d6_node_revision.yml
index b7826a1..046e9bb 100644
--- a/core/modules/node/migration_templates/d6_node_revision.yml
+++ b/core/modules/node/migration_templates/d6_node_revision.yml
@@ -6,6 +6,8 @@ deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
source:
plugin: d6_node_revision
process:
+ # If you are using this file to build a custom migration consider removing
+ # the nid and vid fields to allow incremental migrations.
nid: nid
vid: vid
langcode:
diff --git a/core/modules/node/migration_templates/d6_node_translation.yml b/core/modules/node/migration_templates/d6_node_translation.yml
index b4a2402..07440ab 100644
--- a/core/modules/node/migration_templates/d6_node_translation.yml
+++ b/core/modules/node/migration_templates/d6_node_translation.yml
@@ -7,6 +7,8 @@ source:
plugin: d6_node
translations: true
process:
+ # If you are using this file to build a custom migration consider removing
+ # the nid field to allow incremental migrations.
nid: tnid
type: type
langcode:
diff --git a/core/modules/node/migration_templates/d7_node.yml b/core/modules/node/migration_templates/d7_node.yml
index b763534..381f7ce 100644
--- a/core/modules/node/migration_templates/d7_node.yml
+++ b/core/modules/node/migration_templates/d7_node.yml
@@ -6,6 +6,8 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
source:
plugin: d7_node
process:
+ # If you are using this file to build a custom migration consider removing
+ # the nid and vid fields to allow incremental migrations.
nid: nid
vid: vid
langcode:
diff --git a/core/modules/node/migration_templates/d7_node_revision.yml b/core/modules/node/migration_templates/d7_node_revision.yml
index 0ee8bca..c6081ef 100644
--- a/core/modules/node/migration_templates/d7_node_revision.yml
+++ b/core/modules/node/migration_templates/d7_node_revision.yml
@@ -6,6 +6,8 @@ deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
source:
plugin: d7_node_revision
process:
+ # If you are using this file to build a custom migration consider removing
+ # the nid and vid fields to allow incremental migrations.
nid: nid
vid: vid
langcode:
diff --git a/core/modules/taxonomy/migration_templates/d6_taxonomy_term.yml b/core/modules/taxonomy/migration_templates/d6_taxonomy_term.yml
index 44f9f7f..909fb4c 100644
--- a/core/modules/taxonomy/migration_templates/d6_taxonomy_term.yml
+++ b/core/modules/taxonomy/migration_templates/d6_taxonomy_term.yml
@@ -5,6 +5,8 @@ migration_tags:
source:
plugin: taxonomy_term
process:
+ # If you are using this file to build a custom migration consider removing
+ # the tid field to allow incremental migrations.
tid: tid
vid:
plugin: migration
diff --git a/core/modules/taxonomy/migration_templates/d7_taxonomy_term.yml b/core/modules/taxonomy/migration_templates/d7_taxonomy_term.yml
index 8d4adbb..a47ab46 100644
--- a/core/modules/taxonomy/migration_templates/d7_taxonomy_term.yml
+++ b/core/modules/taxonomy/migration_templates/d7_taxonomy_term.yml
@@ -5,6 +5,8 @@ migration_tags:
source:
plugin: taxonomy_term
process:
+ # If you are using this file to build a custom migration consider removing
+ # the tid field to allow incremental migrations.
tid: tid
vid:
plugin: migration
diff --git a/core/modules/user/migration_templates/d6_user.yml b/core/modules/user/migration_templates/d6_user.yml
index fa6326e..c82c657 100644
--- a/core/modules/user/migration_templates/d6_user.yml
+++ b/core/modules/user/migration_templates/d6_user.yml
@@ -5,6 +5,8 @@ migration_tags:
source:
plugin: d6_user
process:
+ # If you are using this file to build a custom migration consider removing
+ # the uid field to allow incremental migrations.
uid: uid
name: name
pass: pass
diff --git a/core/modules/user/migration_templates/d7_user.yml b/core/modules/user/migration_templates/d7_user.yml
index b72e8c7..3910659 100644
--- a/core/modules/user/migration_templates/d7_user.yml
+++ b/core/modules/user/migration_templates/d7_user.yml
@@ -6,6 +6,8 @@ class: Drupal\user\Plugin\migrate\User
source:
plugin: d7_user
process:
+ # If you are using this file to build a custom migration consider removing
+ # the uid field to allow incremental migrations.
uid: uid
name: name
pass: pass