Skip to content

Proposal: Move DB and source drivers to a separate module #230

Open
@dhui

Description

@dhui

This would allow:

  1. Backwards incompatible DB and source driver changes can be released independently of the core migrate library and CLI while still "adhering" to SemVer
  2. Reduce number of dependencies (See: Too many dependencies #174)
    • Not sure is this is an actual pain point since unused "dependencies" won't affect your builds This is a pain point because:
      1. More dependencies means that builds are more likely to fail/break b/c the dependency host is unavailable or down
      2. go mod download (used for build caching) will create larger docker images

The release notes would mention any driver changes. (Shouldn't matter since each driver will be versioned independently and have it's own release notes)

Issues:

  1. Makes using the pre-built CLI in conjunction with the library harder, if not impossible.
  2. Can the CLI help text show the driver version?
  3. May have to move drivers to another repo since multiple modules in a single repo can be more work

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions