Skip to content

Integrate git-repokit-common subtree to replace scripts-repo/ #20

@djdarcy

Description

@djdarcy

Summary

Replace the current scripts-repo/ directory with a proper git subtree from DazzleTools/git-repokit-common. This standardizes the development tooling (version sync, git hooks, pre-commit checks) and keeps it in sync across all DazzleTools/DazzleML projects.

Background

The project currently has scripts-repo/ with hand-maintained copies of:

  • sync-versions.py -- version management
  • update-version.sh -- git version string updater
  • hooks/ -- git pre-commit hooks
  • install-hooks.sh

These are the same tools that git-repokit-common provides in a standardized, maintained form. Other projects already use the subtree approach.

Proposed Work

  1. Remove scripts-repo/ contents
  2. Add git-repokit-common as a subtree (likely at scripts-repo/ or common/)
  3. Adapt any project-specific customizations (e.g., the 4-file version bump pattern for plugin.json + marketplace.json)
  4. Update sync-versions.py usage or configuration to handle the plugin-specific version files
  5. Verify pre-commit hooks still work

Considerations

  • The session-logger project has extra version files (.claude-plugin/plugin.json, .claude-plugin/marketplace.json) that standard repokit doesn't know about. May need to extend sync-versions.py config or add a project-level wrapper.
  • Current scripts-repo/hooks/ pre-commit hook does version string updates -- need to verify this still works after subtree swap.
  • The audit_codebase.py script in scripts-repo/ may be project-specific and not part of repokit-common.

Labels

enhancement

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions