Skip to content

Conversation

@helizaga
Copy link
Collaborator

@helizaga helizaga commented Oct 5, 2025

No description provided.

- Introduced CONTRIBUTING.md to outline contribution processes and coding standards.
- Added LICENSE file with MIT License details.
- Restructured README.md for clarity and expanded content on features and installation.
- Removed gtr.sh and run_services.example.sh, replacing them with a more modular structure.
- Added various adapter scripts for AI tools and editors to enhance functionality.
- Added .gitignore to exclude CLAUDE.md.
- Renamed `create` command to `new` for clarity and consistency.
- Updated README.md to reflect command changes and improved examples.
- Enhanced command options for `gtr` to support both worktree IDs and branch names.
- Introduced new commands: `go` for navigating to worktrees and `clean` for removing stale worktrees.
- Improved completion scripts for better user experience in shell environments.
- Added a new section explaining how `gtr` works with multiple repositories, emphasizing repository-scoped worktrees and IDs.
- Updated command examples to reflect the ability to use branch names instead of just IDs for commands like `gtr rm` and `gtr open`.
- Clarified prerequisites for using `gtr` by specifying the need to navigate into a git repository first.
- Improved overall structure and clarity of the README to better guide users in utilizing `gtr` effectively.
…pletion installation instructions

- Created CHANGELOG.md to document notable changes and adhere to semantic versioning.
- Updated README.md to include installation instructions for bash-completion on macOS and Ubuntu/Debian.
- Modified setup-example.sh to reflect the new command syntax for creating worktrees.
- Updated CHANGELOG.md to include new explicit command design and config-based defaults.
- Revised README.md to simplify the basic workflow, emphasizing explicit commands and removing unnecessary flags.
- Added examples for chaining commands and clarified usage of AI tools and editors.
- Introduced a new AI adapter script for Claude Code to enhance integration with the gtr tool.
- Improved editor detection by checking for an adapter script and validating its ability to open.
- Updated config command to allow flexible argument parsing for action, key, and value, with support for global scope.
- Removed deprecated editor and AI tool options from completion scripts to streamline user experience.
…for compatibility

- Added a new "Requirements" section to README.md specifying Git and Bash versions needed.
- Changed shebangs from `#!/bin/sh` to `#!/usr/bin/env bash` in multiple adapter and utility scripts for improved compatibility and clarity.
- Changed shell script shebangs from `#!/bin/sh` to `#!/usr/bin/env bash` for consistency and clarity.
- Updated best practices to specify a requirement for Bash 3.2+ and allowed Bash 4.0+ features.
- Enhanced the `gtr` script to resolve symlinks and allow environment variable overrides for the script directory.
- Modified `copy.sh` to utilize native Bash globbing with `shopt` settings for improved file pattern matching.
- Updated `gtr` script to use `git branch --show-current` with a fallback to `git rev-parse` for better compatibility across Git versions.
- Improved `cmd_clean` function to provide detailed logging on the number of empty directories removed or if none were found.
- Enhanced `copy_patterns` function in `copy.sh` to handle glob patterns more securely and efficiently, including a fallback for Bash versions without `globstar` support.
- Adjusted `run_hooks` in `hooks.sh` to execute hooks in a subshell, preserving the environment state and improving reliability.
…ility

- Updated `copy_patterns` in `copy.sh` to enhance security by refining the pattern rejection logic for absolute paths and parent directory traversal.
- Modified `run_hooks` in `hooks.sh` to capture environment variable assignments in an array, ensuring proper quoting and isolation of side effects during hook execution.
- Updated `cmd_list` in `gtr` to filter directory names, ensuring only numeric prefixes are listed and including worktree status in output.
- Modified `cfg_get` and `cfg_get_all` in `config.sh` to support an 'auto' scope for retrieving configuration values, merging local, global, and system settings while deduplicating results.
- Introduced `worktree_status` function in `core.sh` to determine the status of worktrees, enhancing the overall robustness of the script.
- Updated the `cmd_clean` function to streamline the process of finding and removing empty directories by leveraging a variable to store results, enhancing readability and efficiency.
- Added a check to ensure only non-empty directory paths are processed, improving robustness and preventing unnecessary operations.
- Introduced new adapter scripts for Atom, Emacs, IntelliJ IDEA, Nano, Neovim, PyCharm, Sublime Text, Vim, and WebStorm, enabling users to open directories in their preferred editors.
- Updated the `gtr` script to include these editors in the available options, enhancing user flexibility and experience.
- Each adapter checks for the editor's availability and provides appropriate error messages if not found.
- Revised the "Requirements" section in README.md to specify Bash 3.2+ as the minimum version, aligning with macOS defaults and recommending 4.0+ for advanced features.
- Removed emoji from output messages in the gtr script for a cleaner presentation, standardizing the format of log messages and user prompts.
- Enhanced branch detection logic to normalize detached HEAD states in core.sh, improving user experience when working with Git worktrees.
- Adjusted column widths in the output of the `cmd_adapter` function to improve alignment and readability of the adapter status and notes.
- Standardized header formatting for both editor and AI tool adapters, ensuring a consistent presentation across the script.
- Updated `cmd_open` and `cmd_ai` functions to accept `--editor` and `--ai` flags, allowing users to specify their preferred tools directly in the command line.
- Improved usage messages to reflect new flag options and ensure clarity for users.
- Enhanced help documentation to provide a comprehensive overview of command usage and configuration options.
- Changed all occurrences of "Anthropic PBC" to "CodeRabbit AI" in LICENSE and updated repository links in CHANGELOG.md, README.md, and gtr script to reflect the new GitHub organization.
- Ensured consistency across project documentation and improved clarity for users regarding the new project ownership.
- Revised CHANGELOG.md to reflect new features including branch-based folder naming and improved command UX for worktree management.
- Updated CONTRIBUTING.md to include new manual testing checklist items for branch name handling.
- Enhanced README.md with clearer instructions on using branch names for worktree commands and streamlined the quick start guide.
- Refactored gtr script to support branch names in commands, removing reliance on numeric IDs and improving user experience.
- Adjusted completion scripts for Zsh and Bash to reflect changes in command usage, ensuring accurate suggestions for branch names.
- Deleted CHANGELOG.md as it was no longer needed for project documentation.
- Revised README.md to enhance clarity in the comparison table and AI tools section, ensuring consistent formatting and improved readability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants