Skip to content

Add GitLab issue support #44

Description

@tupe12334
  • Add IssueRef::GitLab { owner: String, repo: String, number: u64 } variant
  • Parse https://gitlab.com/<owner>/<repo>/-/issues/<N> URLs in src/issue/parse/mod.rs
  • Add parse_gitlab_remote_url() in a new src/issue/parse/gitlab.rs (mirroring gh.rs)
  • Update clone_url() in src/issue/impls.rs to return https://gitlab.com/{owner}/{repo}.git
  • Update workspace_dir_name() / branch_name() to return issue-<N> (same as GitHub)
  • Handle worktree://open?gitlab_host=gitlab.com&owner=X&repo=Y&issue=N in src/issue/parse/worktree_url.rs
  • Remove or update test assertion that explicitly rejects GitLab URLs

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions