Skip to content

Add support for excluding specific files/folders from change detection #164

@RobinTheHood

Description

@RobinTheHood

Feature request

Implement a mechanism that allows developers to specify files or directories to be excluded from the change detection process.

Motivation

  • Some files (e.g., build artifacts, logs, caches) frequently change but are not relevant for module updates/changes.
  • Modifications to module extensions and hooks are often not intended to be reverted when rolling back a module. These files should also be excluded from automatic change detection and reset processes.

Suggested implementation details

  • Introduce a configuration file (e.g., .mmlcignore, moduleinfo.json) where paths and patterns can be listed.
  • Support common glob syntax for flexible exclusion (e.g., **/build/*, *.log).
  • Exclusion list should be applied recursively and support both files and directories.

Additional ideas

  • Option to expose exclusion rules in the UI for easier adjustments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions