From 31b5faed6f121fd7ebff6591b76ee150b7e8a3c9 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Sat, 24 Oct 2026 16:36:09 +1100 Subject: [PATCH] Note commit archive naming in vcs docs --- docs/vcs/remote.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/vcs/remote.md b/docs/vcs/remote.md index 501510f..31ea1f9 100644 --- a/docs/vcs/remote.md +++ b/docs/vcs/remote.md @@ -12,7 +12,7 @@ Caches source archives and release assets from GitHub (`base_url = "https://gith | `//releases/latest/download/` | mutable | | `//archive/refs/heads/.(tar.gz\|zip)` | `302` to the archive of the branch's current commit, resolved via the provider API and reused for `mutable_ttl` | -Branch archives redirect, so `curl` needs `-L`; pip, npm and go follow redirects. The archive's top-level directory is `-`. `patterns` and `blocklist` match both the branch path and the commit path it redirects to, so allowlist repos by prefix (`^cli/cli/`). GitHub API calls use the [server GitHub credential](../../README.md#github-authentication); Gitea API calls use the remote's `username`/`password`. +Branch archives redirect, so `curl` needs `-L`; pip, npm and go follow redirects. The archive is the host's commit archive (GitHub names its top-level directory `-`). `patterns` and `blocklist` match both the branch path and the commit path it redirects to, so allowlist repos by prefix (`^cli/cli/`). GitHub API calls use the [server GitHub credential](../../README.md#github-authentication); Gitea API calls use the remote's `username`/`password`. ```hcl resource "artifactapi_remote_vcs" "github" {