Added gihufu

This commit is contained in:
Kevin Veen-Birkenbach
2025-03-12 20:10:47 +01:00
parent 0a49d32bfe
commit 9b6d82edbe
3 changed files with 9 additions and 2 deletions

View File

@@ -295,3 +295,11 @@ repositories:
verified:
gpg_keys:
- 44D8F11FD62F878E
- account: kevinveenbirkenbach
alias: gihufu
ignore: true
provider: github.com
repository: github-funding
verified:
gpg_keys:
- 44D8F11FD62F878E

View File

@@ -59,7 +59,7 @@ def config_init(user_config, defaults_config, bin_dir,USER_CONFIG_PATH:str):
"provider": provider,
"account": account,
"repository": repo_name,
"verified": verified,
"verified": {"commit": verified},
"ignore": True
}
alias = generate_alias({"repository": repo_name, "provider": provider, "account": account}, bin_dir, existing_aliases)

View File

@@ -8,7 +8,6 @@ def interactive_add(config,USER_CONFIG_PATH:str):
new_entry["provider"] = input("Provider (e.g., github.com): ").strip()
new_entry["account"] = input("Account (e.g., yourusername): ").strip()
new_entry["repository"] = input("Repository name (e.g., mytool): ").strip()
new_entry["verified"] = input("Verified commit id: ").strip()
new_entry["command"] = input("Command (optional, leave blank to auto-detect): ").strip()
new_entry["description"] = input("Description (optional): ").strip()
new_entry["replacement"] = input("Replacement (optional): ").strip()