Skip to content

Releases: tkwind/repoclean

Repoclean v0.8.0

19 Jan 19:21

Choose a tag to compare

Gatekeeper Mode

  • New command: repoclean gate
  • Shows a strict repo safety/hygiene table
  • Outputs repo health score (0–100)
  • Supports staged-only gatekeeping: repoclean gate --staged-only

Tracked Junk Detection + Fix

  • Detect junk already tracked by git (__pycache__, .pyc, .log, .tmp, etc.)
  • Command: repoclean tracked-junk
  • Fix: repoclean tracked-junk --fix (removes from index, keeps files locally)

Repo Health Checks

  • Detect missing .gitignore
  • Detect .env exists but is not ignored

Config upgrades

  • .repoclean.toml supports extending junk rules:
    • junk_dirs
    • junk_files
    • junk_extensions

Hook + CI improvements

  • CI supports new fail categories:
    • tracked-junk
    • gitignore
    • env
  • Pre-commit hook now runs in staged-only mode for speed + relevance.

Bug fixes

  • Correct auto-unstage / git index updates for staged-only cleanup
    • prevents “commit contains deleted blob” type issues

repoclean v0.7.0

19 Jan 09:51

Choose a tag to compare

  • Added --staged-only support (scan/fix only staged files)
  • Added repoclean fix --staged-only (removes staged junk safely)
  • Pre-commit hook now runs in staged-only mode (fast + relevant)
  • Hook strict mode blocks on junk/sensitive/large + secrets
  • Hook warn mode blocks only secrets (allows commit otherwise)
  • Improved junk detection rules (.log/.tmp/.swp, cache dirs, build artifacts)
  • Added config-driven ignore + allowlist behavior improvements

repoclean v0.6.0

15 Jan 17:03

Choose a tag to compare

  • Added severity levels (low/medium/high/critical)
  • Added entropy detection for suspicious high-randomness tokens
  • Added support for more real-world token patterns (GitHub, Slack, Stripe, Telegram, JWT, etc.)
  • Added --min-severity and --fail-on flags for CI/hook workflows

repoclean v0.5.2

15 Jan 10:54

Choose a tag to compare

  • Fixed missing tomli dependency on Python 3.10 (GitHub Actions install issue)

repoclean v0.5.1

15 Jan 10:38

Choose a tag to compare

  • Fixed pre-commit hook execution on Windows by using a shell wrapper that invokes Python

repoclean v0.4.0 — CI mode + scan gating

15 Jan 09:49

Choose a tag to compare

v0.4.0

Added

  • Scan gating with repoclean scan --fail-on junk,sensitive,large
  • repoclean ci command for CI pipelines
  • Consistent exit codes for automation

Install

pip install repoclean-cli

repoclean v0.3.0 — Config & Ignore Rules

15 Jan 08:41

Choose a tag to compare

v0.3.0

Added

  • .repoclean.toml configuration support
  • Ignore rules applied to scan / secrets / fix
  • Allowlist paths for secrets scanning
  • repoclean config init command

Install

pip install repoclean-cli

Notes

  • CLI command remains repoclean

v0.2.2

14 Jan 15:02

Choose a tag to compare

Notes: README + MIT license + improvements

repoclean v0.2.0

14 Jan 14:29

Choose a tag to compare

Added

  • repoclean secrets to detect common token/credential patterns

  • repoclean install-hook / uninstall-hook for git pre-commit integration

repoclean v0.1.0

14 Jan 13:53

Choose a tag to compare

Features

  • repoclean scan — detects junk folders/files, missing .gitignore, large files, sensitive file indicators

  • repoclean init — generates a safe default .gitignore

  • repoclean fix — safe cleanup with dry-run + confirmation