gitty icon indicating copy to clipboard operation
gitty copied to clipboard

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

Open CarboHydr opened this issue 2 years ago • 0 comments

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

CarboHydr avatar Feb 01 '22 21:02 CarboHydr