Skip to content

Commit

Permalink
Merge pull request #17 from CivicActions/feature/PGOV-313-Organizatio…
Browse files Browse the repository at this point in the history
…ns-and-divisions

Feature/pgov 313 organizations and divisions
  • Loading branch information
acabouet authored Nov 15, 2024
2 parents 8f7d4eb + 927797f commit eb62206
Show file tree
Hide file tree
Showing 251 changed files with 12,629 additions and 524 deletions.
5 changes: 5 additions & 0 deletions .ddev/commands/web/migrate
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

# Refer to the root-level migrate script to run site migrations.

bin/migrate
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/drush/contrib/
/vendor/
/web/core/
/web/core_compare
/web/modules/contrib/
/web/themes/contrib/
/web/profiles/contrib/
Expand Down
24 changes: 24 additions & 0 deletions bin/migrate
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash

export DRUSH_ALLOW_XDEBUG=1

# Respect changes to original migrations during development.
drush ci --partial --source=modules/custom/pgov_migrate/migrations/ -y

# Run all migrations to bootstrap a fresh install with data from Airtable

drush migrate:import topics
drush migrate:import designations
drush migrate:import agencies
drush migrate:import divisions
drush migrate:import coalitions
drush migrate:import goals
drush migrate:import subgoals
drush migrate:import objectives
drush migrate:import projects
drush migrate:import milestones
# Skip updates until we have values for 'title'
# drush migrate:import updates
drush migrate:import plans

drush migrate:status
4 changes: 4 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@
"drupal/core-composer-scaffold": "^10.3",
"drupal/core-project-message": "^10.3",
"drupal/core-recommended": "^10.3",
"drupal/default_content": "^2.0@alpha",
"drupal/devel": "^5.3",
"drupal/gin": "^3.0@RC",
"drupal/gin_toolbar": "^1.0@RC",
"drupal/graphql": "^4.9",
"drupal/graphql_compose": "^2.2",
"drupal/group": "^3.2",
"drupal/login_gov": "^1.1",
"drupal/migrate_file": "^2.1",
"drupal/migrate_plus": "^6.0",
"drupal/next": "^2.0@beta",
"drupal/title_length": "^2.1",
"drupal/type_tray": "^1.3",
"drupal/workflow": "^1.8"
},
Expand Down Expand Up @@ -113,6 +116,7 @@
}
},
"require-dev": {
"drupal/content_model_documentation": "^1.0",
"drupal/core-dev": "^10.3",
"drush/drush": "^13.3"
}
Expand Down
Loading

0 comments on commit eb62206

Please sign in to comment.