Skip to content

0.1.0 - #8

Open
KevinPy wants to merge 10 commits into
mainfrom
develop
Open

0.1.0#8
KevinPy wants to merge 10 commits into
mainfrom
develop

Conversation

@KevinPy

@KevinPy KevinPy commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

What

Why

Checklist

  • python3 -m unittest discover -s tests -v passes locally
  • Added or updated tests for the change
  • No new dependency introduced (tito is stdlib-only)
  • Filters still degrade to raw passthrough on error and preserve the real exit code
  • Code, comments, and commit messages are in English

KevinPy and others added 10 commits July 10, 2026 18:28
tito.py becomes pure infrastructure: a Filter/registry that loads
extensions from ./extensions (bundled) then ~/.config/tito/filters
(user overrides), the dispatch pipeline, the PreToolUse hook rewriter,
gain stats, and the enable/disable/browse/new-filter/filters/rewrite
meta commands. No command logic lives here anymore.

main() now dispatches non-meta commands through dispatch() (passthrough
wrapper) instead of printing usage, so test_main is updated to match.

Co-Authored-By: Claude <noreply@anthropic.com>
The first bundled extension under extensions/git/default.py: porcelain
status, hunk-only diffs/show, short-format log (via transform), and
one-word confirmations for add/commit/push/pull. Errors pass through
raw. Loaded automatically by the registry as the example extension.

Adds tests/test_git_extension.py covering transform, each render path,
and registry loading (including _resolve user-overrides-bundled).

Co-Authored-By: Claude <noreply@anthropic.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants