Skip to content

feat: Add GitLab support, enabling the downloading of merge requests … - #13

Merged
Iamliuxiaozhen merged 4 commits into
mainfrom
fn/gitlab-patch
Sep 19, 2026
Merged

Iamliuxiaozhen merged 4 commits into
mainfrom
fn/gitlab-patch

Conversation

@Iamliuxiaozhen

Copy link
Copy Markdown
Member

…and commits from GitLab

  • Add the --gitlab flag to support downloading merge requests and individual commit patches from gitlab.com
  • Implemented validation for GitLab project formats and parsing logic for merge request IDs
  • Updated Chinese and English READMEs, man pages, and localizations
  • Add end-to-end test cases for GitLab functionality
  • Refactored configuration and URL generation logic to support both GitHub and GitLab platforms

…and commits from GitLab

- Add the `--gitlab` flag to support downloading merge requests and individual commit patches from gitlab.com
- Implemented validation for GitLab project formats and parsing logic for merge request IDs
- Updated Chinese and English READMEs, man pages, and localizations
- Add end-to-end test cases for GitLab functionality
- Refactored configuration and URL generation logic to support both GitHub and GitLab platforms
…hen/patchsplit

Updated example project URLs and MR numbers across all documentation, translation files, and test cases—replacing `zitzhen/coco-community-control` (MR 363) with `zitzhen/patchsplit` (MR 1)—while maintaining consistent test logic.
Fixed missing help text in the `usage` function, added descriptions for the `--commit`, `--help`, and `--version` options, and adjusted the code structure to prevent syntax errors.
Updated all hardcoded merge request numbers (363) in `tests/gitlab.rs` to the more generic MR #1 to ensure consistency across test scenarios.
@Iamliuxiaozhen
Iamliuxiaozhen marked this pull request as ready for review September 19, 2026 07:04
@Iamliuxiaozhen
Iamliuxiaozhen merged commit 1bc809f into main Sep 19, 2026
8 checks passed
@Iamliuxiaozhen
Iamliuxiaozhen deleted the fn/gitlab-patch branch September 19, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant