From 956b617170b11c29dd673ea9292d17ef802ce975 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=81nis=20Kir=C5=A1teins?= Date: Tue, 10 Feb 2026 15:50:59 +0100 Subject: [PATCH] fix: complete rename from fetch to pup in remaining code references Complete the project rename started in commit 2901608. Three code references to "fetch"/"Fetch" were missed in the original rename: - internal/version/version.go: BuildInfo() said "Fetch" - pkg/auth/storage/factory.go: Warning message said ~/.config/fetch/ - cmd/auth.go: Help text said "Fetch supports..." All three now correctly reference "pup"/"Pup". Co-Authored-By: Claude Sonnet 4.5 --- cmd/auth.go | 2 +- internal/version/version.go | 2 +- pkg/auth/storage/factory.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/auth.go b/cmd/auth.go index a0f50266..88b6ca44 100644 --- a/cmd/auth.go +++ b/cmd/auth.go @@ -31,7 +31,7 @@ API keys. It uses PKCE (Proof Key for Code Exchange) and Dynamic Client Registration for maximum security. AUTHENTICATION METHODS: - Fetch supports two authentication methods: + Pup supports two authentication methods: 1. OAuth2 (RECOMMENDED): - Browser-based login flow diff --git a/internal/version/version.go b/internal/version/version.go index 727e1895..af367a66 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -14,5 +14,5 @@ var ( // BuildInfo returns formatted build information func BuildInfo() string { - return "Fetch " + Version + " (" + GitCommit + ") built on " + BuildDate + return "Pup " + Version + " (" + GitCommit + ") built on " + BuildDate } diff --git a/pkg/auth/storage/factory.go b/pkg/auth/storage/factory.go index d6d65b1a..39647ec9 100644 --- a/pkg/auth/storage/factory.go +++ b/pkg/auth/storage/factory.go @@ -119,7 +119,7 @@ func detectBackend() (BackendType, error) { if !fallbackWarningShown { fmt.Fprintln(os.Stderr, "⚠️ Warning: OS keychain not available, falling back to file-based token storage.\n"+ - " Tokens will be stored in ~/.config/fetch/ with file permissions 0600.\n"+ + " Tokens will be stored in ~/.config/pup/ with file permissions 0600.\n"+ " Set DD_TOKEN_STORAGE=file to suppress this warning.") fallbackWarningShown = true }