V0.12.0 develop - #50
Merged
Merged
Conversation
Stream integration hook output, support safe bypass retries, roll back rejected merges, and report post-operation hook failures as warnings.
Implement GitLab avatar fetching by resolving remote base URLs from Git configuration and querying the GitLab API. Improve the avatar service to try multiple applicable platform providers until an image is found.
Remove the setting to toggle the commit graph button and make the button visible by default in the log view.
Replace the use of validate_commit_control for existing commit messages with a dedicated validate_existing_commit_message function to properly handle line breaks and tabs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Expand Git hook support for remote and integration operations
Summary
This PR significantly expands the application's ability to handle Git hooks during pull, merge, and rebase operations, moving beyond basic commit/push support. It introduces detailed progress tracking for hooks and provides users with the ability to bypass specific hooks when supported.
Key Changes:
pull,merge, andrebaseoperations.GitHookAttemptResultwrapper to differentiate between completed operations, hook rejections, and failures.CentrePanelandProjectViewto show a progress banner for active hooks.pre-merge-commit).GitLabProviderto fetch user avatars from GitLab instances (including self-hosted) via REST and GraphQL APIs.showCommitGraphButtonsetting, making the commit graph toggle permanently visible.Testing
src-tauri/tests/git.rsto verify hook rejections, rollback behavior, and progress events (Unix-specific).CentrePanelto verify bypass action visibility based on operation type.