Skip to content

feat: configurable archive exclusion rules #34

@jonathanpopham

Description

@jonathanpopham

Problem

The zip archiver has hardcoded skip directories (node_modules, vendor, dist, build, etc.) but no way for users to customize exclusions. Large repos may have project-specific directories (generated code, fixtures, datasets) that bloat the upload and slow analysis.

Proposal

  • Support .supermodelignore file (gitignore syntax) at repo root
  • Support --exclude flag on commands that upload: supermodel analyze --exclude 'fixtures/**'
  • Support config-level exclusions in ~/.supermodel/config.yaml
  • Respect .gitignore when not using git archive (the walkZip fallback)
  • Show zip size in verbose output so users can see the impact

Current behavior

  • git archive respects .gitignore (good)
  • walkZip fallback only skips hardcoded dirs and dotfiles (insufficient)
  • No user-configurable exclusions

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