Add inference for repository name #8

Closed
opened 2025-07-06 11:29:45 -07:00 by robert · 1 comment
Owner

The repository name is usually the same on the server as it is on the local filesystem. Similarly, the current working directory will often be the project root or a subfolder. I can scan upwards for a git repo and use that folder as the default repository name.

I won't have the GTTOOL_GITEA_FQRN without the username, though, and system account names aren't likely to match Gitea account names. I'll need a global and/or per-user config file to supply that.

The repository name is usually the same on the server as it is on the local filesystem. Similarly, the current working directory will often be the project root or a subfolder. I can scan upwards for a git repo and use that folder as the default repository name. I won't have the GTTOOL_GITEA_FQRN without the username, though, and system account names aren't likely to match Gitea account names. I'll need a global and/or per-user config file to supply that.
robert added the Kind/Feature label 2025-07-06 11:29:45 -07:00
robert added this to the Configuration & Heuristics project 2025-07-06 15:00:46 -07:00
robert moved this to To Do in Configuration & Heuristics on 2025-07-21 11:47:39 -07:00
robert moved this to Done in Configuration & Heuristics on 2025-07-21 14:23:11 -07:00
Author
Owner

Basic repo name inference was completed in da8f008f1a.

The program will use the current dir as the repo name if it is not on the CLI, environment, or a config file.

Basic repo name inference was completed in da8f008f1a4e342a98cf213adf85128346e469bf. The program will use the current dir as the repo name if it is not on the CLI, environment, or a config file.
Sign in to join this conversation.