Skip to content

Git-services that run out of a webroot sub-directory fail to be recognized as a valid git-service #48

Open
@CarboHydr

Description

@CarboHydr

Gitty doesn't seem to recognize any git-services that aren't located on the bare fully qualified domain name.

Preconditions:

  • Gitea
    • hosted in sub-directory of example.com, e.g example.com/subdir
  • Local git-project

Programm calls:

  • gitty
  • gitty ./
  • gitty /absolute/path/to/dir
  • gitty https://example.com/subdir

Behavior:

  • export GITTY_TOKENS="example.com=abc123"
    • not a recognized git provider
  • export GITTY_TOKENS="example.com/subdir=abc123"
    • please set a GITTY_TOKENS env var for host example.com

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