Skip to content

feat: Add tooling sync mechanism for multi-module consistency #1

@kojiromike

Description

@kojiromike

Problem

As the number of OpenEMR modules grows, keeping common tooling (pre-commit config, GitHub workflows, phpstan/rector configs, etc.) synchronized across all modules becomes increasingly difficult and error-prone.

Desired Outcome

A mechanism to propagate tooling updates from this template to existing modules, ideally with:

  • Ability to update existing modules when the template changes
  • Tracking of which template version a module was created from
  • Handling of module-specific customizations vs common tooling

Options to Consider

  • Copier - Template engine with built-in update support
  • Sync script - Simple file copy approach
  • GitHub reusable workflows - For CI portion only

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions