Voile.Migration.MemberImporter (Voile v0.1.31)

Copy Markdown View Source

Imports member data from CSV files with optimized streaming and batch processing.

Expected CSV structure:

  • scripts/csvdata/member/member*.csv

Summary

Types

cache()

@type cache() :: %{
  member_role: struct() | nil,
  member_types: map(),
  nodes: map(),
  existing_emails: MapSet.t(),
  existing_usernames: MapSet.t(),
  existing_identifiers: MapSet.t()
}

Functions

import_all(batch_size \\ 1000, skip_images \\ false, allow_missing_email \\ false, allow_missing_name \\ false)