Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupalorg_migrate
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupalorg_migrate
Merge requests
!7
Update the user migration to include missing fields.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update the user migration to include missing fields.
issue/drupalorg_migrate-3477076:3477076-update-user-migration
into
1.0.x
Overview
4
Commits
3
Pipelines
2
Changes
7
1 unresolved thread
Show all comments
Merged
Kelsey Bentham
requested to merge
issue/drupalorg_migrate-3477076:3477076-update-user-migration
into
1.0.x
7 months ago
Overview
4
Commits
3
Pipelines
2
Changes
7
1 unresolved thread
Show all comments
Expand
To test:
run the profile picture migration "drush mim drupalorg_migrate_user_picture_files"
run the field collection migration "drush mim drupalorg_migrate_field_collection_contribution_role"
reset the last imported user variable "drush state:set drupalorg_migrate.drupalorg_migrate_users_last_record 0 --input-format=integer"
run the user migration "drush mim drupalorg_migrate_users"
0
0
Merge request reports
Compare
1.0.x
version 5
71289157
6 months ago
version 4
71aae84f
6 months ago
version 3
d3a5adec
6 months ago
version 2
cf116607
6 months ago
version 1
20dac762
7 months ago
1.0.x (base)
and
latest version
latest version
71289157
3 commits,
6 months ago
version 5
71289157
3 commits,
6 months ago
version 4
71aae84f
2 commits,
6 months ago
version 3
d3a5adec
2 commits,
6 months ago
version 2
cf116607
2 commits,
6 months ago
version 1
20dac762
1 commit,
7 months ago
7 files
+
404
−
20
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
migrations/drupalorg_migrate_contributor_role.yml
0 → 100644
+
96
−
0
Options
id
:
drupalorg_migrate_contributor_role
label
:
'
Drupal.org
Contributor
Role'
migration_group
:
drupalorg_migrate
# Commenting out the below will require the d7_file migration.
#migration_tags:
# - Drupal 7
# - Content
#deriver: Drupal\node\Plugin\migrate\D7NodeDeriver
source
:
plugin
:
d7_node
batch_size
:
1000
node_type
:
contributor_role
destination
:
plugin
:
entity:node
process
:
type
:
plugin
:
default_value
default_value
:
contributor_role
langcode
:
plugin
:
default_value
source
:
language
default_value
:
"
und"
title
:
title
uid
:
plugin
:
migration_lookup
migration
:
drupalorg_migrate_users
source
:
node_uid
status
:
status
created
:
created
changed
:
changed
promote
:
promote
sticky
:
sticky
field_summary
:
field_summary
field_description
:
field_description
field_impact
:
field_impact
field_accountable_for
:
field_accountable_for
field_duration
:
field_duration
field_average_time
:
field_average_time
field_commitment_description
:
field_commitment_description
field_how_to_get_started
:
field_how_to_get_started
field_contribution_areas
:
plugin
:
sub_process
source
:
field_contribution_areas
process
:
target_id
:
plugin
:
migration_lookup
migration
:
drupalorg_migrate_contribution_area
source
:
tid
field_leads_to
:
plugin
:
sub_process
source
:
field_leads_to
process
:
target_id
:
plugin
:
migration_lookup
migration
:
drupalorg_migrate_contributor_role
source
:
target_id
# TODO add reference for contributor_task
# field_tasks:
# plugin: sub_process
# source: field_tasks
# process:
# target_id:
# plugin: migration_lookup
# migration: drupalorg_migrate_contributor_task
# source: target_id
field_required_skills
:
plugin
:
sub_process
source
:
field_required_skills
process
:
target_id
:
plugin
:
migration_lookup
migration
:
drupalorg_migrate_contributor_skill
source
:
target_id
field_skills_learned
:
plugin
:
sub_process
source
:
field_skills_learned
process
:
target_id
:
plugin
:
migration_lookup
migration
:
drupalorg_migrate_contributor_skill
source
:
target_id
migration_dependencies
:
optional
:
-
drupalorg_migrate_users
-
drupalorg_migrate_contribution_area
-
drupalorg_migrate_contributor_skill
dependencies
:
enforced
:
module
:
-
drupalorg_migrate
Loading