From 5718319413533a494c8ed3c91557585861ab5f79 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 7 Mar 2026 19:46:49 -0500 Subject: [PATCH] docs: update requirements and credentials sections Problem: docs referenced the old file-based credential backend and `credentials_backend` config option that no longer exist. Solution: add git 1.7.9+ to optional requirements, update credentials section to document `git credential` as the sole storage mechanism, remove `credentials_backend` from config fields. --- doc/cp.nvim.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/cp.nvim.txt b/doc/cp.nvim.txt index 670bdab..9a3f3a5 100644 --- a/doc/cp.nvim.txt +++ b/doc/cp.nvim.txt @@ -49,7 +49,8 @@ REQUIREMENTS *cp-requirements* - Neovim 0.10.0+ - Unix-like operating system -- uv package manager (https://docs.astral.sh/uv/) +- (Optional) git 1.7.9+ (credential storage) +- (Optional) uv package manager (https://docs.astral.sh/uv/) ============================================================================== SETUP *cp-setup* @@ -998,8 +999,15 @@ CREDENTIALS *cp-credentials* Manage stored login credentials for platform submission. -Credentials are stored under _credentials in the main cache file -(stdpath('data')/cp-nvim.json). Use :CP cache read to inspect them. +Credentials are stored via git-credential(1), using whatever credential +helper is configured in your git config (macOS Keychain, libsecret, +credential-store, etc.). Git is required. Cookie files +(~/.cache/cp-nvim/cookies.json) are unaffected. + +To inspect stored credentials: +>sh + printf 'protocol=https\nhost=cses.fi\n\n' | git credential fill +< :CP login [platform] Set or update credentials for a platform. Prompts for username