From 96bfc1e6cb0b0dcdfbed3a39a4e6d3a387a7915a Mon Sep 17 00:00:00 2001 From: jsburckhardt Date: Thu, 6 Aug 2026 08:01:28 +0000 Subject: [PATCH] fix(herdr): update repo owner to herdrdev after transfer The upstream herdr repo was transferred from ogulcancelik/herdr to herdrdev/herdr. The GitHub API responds with a 301 redirect for the old path, and install.sh used 'curl -s' without -L, so get_latest_version returned an empty tag and the install failed with 'Failed to resolve latest version from GitHub API.'. - Point REPO_OWNER at herdrdev - Add -L to the latest-version curl call so future redirects don't break the install - Update descriptions and README links Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 2 +- src/herdr/README.md | 2 +- src/herdr/devcontainer-feature.json | 2 +- src/herdr/install.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 98b35d6..5439168 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ This repository contains a _collection_ of Features. | zizmor | https://github.com/zizmorcore/zizmor | Static security analysis for GitHub Actions workflows. | | open-code-review | https://github.com/alibaba/open-code-review | CLI-oriented code review tool for diffs with deterministic checks plus optional LLM review. | | SkillSpector | https://github.com/NVIDIA/SkillSpector | Standalone security scanner for local AI-agent skill/config files; useful only if you want an AI-dev-security feature. | -| herdr | https://github.com/ogulcancelik/herdr | Fast, cross-platform CLI tool distributed as a static binary via GitHub releases. | +| herdr | https://github.com/herdrdev/herdr | Fast, cross-platform CLI tool distributed as a static binary via GitHub releases. | | officecli | https://github.com/iOfficeAI/OfficeCLI | AI-friendly CLI to read, edit, and automate Word, Excel, and PowerPoint files — single static binary, no Office install required. | | strix | https://github.com/usestrix/strix | Open-source AI penetration testing tool to find and fix your app's vulnerabilities. | | colibri | https://github.com/JustVugg/colibri | Run GLM-5.2 (744B MoE) on a consumer machine — pure C, zero deps, experts streamed from disk. | diff --git a/src/herdr/README.md b/src/herdr/README.md index 5fea63e..b10877c 100644 --- a/src/herdr/README.md +++ b/src/herdr/README.md @@ -1,7 +1,7 @@ # herdr (herdr) -herdr is a fast, cross-platform CLI tool from ogulcancelik/herdr distributed as a static binary via GitHub releases. +herdr is a fast, cross-platform CLI tool from herdrdev/herdr distributed as a static binary via GitHub releases. ## Example Usage diff --git a/src/herdr/devcontainer-feature.json b/src/herdr/devcontainer-feature.json index f1e1ccd..0f6d936 100644 --- a/src/herdr/devcontainer-feature.json +++ b/src/herdr/devcontainer-feature.json @@ -2,7 +2,7 @@ "name": "herdr", "id": "herdr", "version": "1.0.0", - "description": "herdr is a fast, cross-platform CLI tool from ogulcancelik/herdr distributed as a static binary via GitHub releases.", + "description": "herdr is a fast, cross-platform CLI tool from herdrdev/herdr distributed as a static binary via GitHub releases.", "options": { "version": { "type": "string", diff --git a/src/herdr/install.sh b/src/herdr/install.sh index dec8e3c..213811c 100755 --- a/src/herdr/install.sh +++ b/src/herdr/install.sh @@ -3,7 +3,7 @@ set -e # Variables -REPO_OWNER="ogulcancelik" +REPO_OWNER="herdrdev" REPO_NAME="herdr" BINARY_NAME="herdr" @@ -32,7 +32,7 @@ check_packages curl ca-certificates jq tar # Function to get the latest version from GitHub API get_latest_version() { LATEST_URL="https://api.github.com/repos/$REPO_OWNER/$REPO_NAME/releases/latest" - curl -s "$LATEST_URL" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' + curl -sL "$LATEST_URL" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' } # Resolve version