Skip to content

Custom/Self-Hosted Git Support #127

@tricktron

Description

@tricktron

Hello @vweevers,

I tried to test hallmark but it immediately fails with: Error: Unable to parse git host URL "ssh://git@bitbucket.custom.domain/a/b.git". It looks like that custom/self-hosted domains are not supported by one of Hallmark's dependencies:

E.g. Hallmark -> find-githost -> hosted-git-info which looks like to only support a hardcoded list of public git hosts, e.g. github.com, gitlab.com, bitbucket.org, sourcehut.

Is it possible/feasible to add custom git domain support to the find-githost lib as a fallback when hosted-git-info fails? Or even replacing the hosted-git-info with a dependency that has support for every git url irrespective of the provider? Feel free to move this issue to the find-githost repo if it fits better there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions