From 08ef44061c2f8ab211bbabe8c0f27e77033442c1 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Sat, 30 May 2026 20:52:01 +0300 Subject: T8943: scripts/package-build: migrate broken commit_id refs after 1c rename MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #1204 ("ci: T8943: migrate branch-name refs current->rolling (rollout 1c)") covered .github/workflows/ only and missed seven commit_id values in scripts/package-build/ that referenced the pre-1c default-branch names of vyos-owned repos. The GitHub branch-rename redirect works for the REST API and web UI, not for git refs in a fresh clone — scripts/package-build/build.py clones the upstream and `git checkout `, which fails after the source repo was renamed. Updated: libnss-mapuser/package.toml current -> rolling libpam-radius-auth/package.toml current -> rolling vpp/package.toml (vyos-vpp-patches) current -> rolling vyos-1x/package.toml current -> rolling tacacs/package.toml (libtacplus-map) master -> rolling tacacs/package.toml (libpam-tacplus) master -> rolling tacacs/package.toml (libnss-tacplus) master -> rolling Verified post-rename defaults via `gh api repos/vyos/ --jq .default_branch` for all seven; verified the failure mode via a fresh `git clone https://github.com/vyos/vyos-1x.git` + `git checkout current` which errors with "pathspec 'current' did not match any file(s) known to git". LTS branches (sagitta/circinus/equuleus) were scanned and require no changes — only third-party `evgeny-gridasov/openvpn-otp` master appears there, unaffected by 1c. 🤖 Generated by [robots](https://vyos.io) --- scripts/package-build/libnss-mapuser/package.toml | 2 +- scripts/package-build/libpam-radius-auth/package.toml | 2 +- scripts/package-build/tacacs/package.toml | 6 +++--- scripts/package-build/vpp/package.toml | 2 +- scripts/package-build/vyos-1x/package.toml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'scripts') diff --git a/scripts/package-build/libnss-mapuser/package.toml b/scripts/package-build/libnss-mapuser/package.toml index 20ff65b4..e9d2a36d 100644 --- a/scripts/package-build/libnss-mapuser/package.toml +++ b/scripts/package-build/libnss-mapuser/package.toml @@ -1,6 +1,6 @@ [[packages]] name = "libnss-mapuser" -commit_id = "current" +commit_id = "rolling" scm_url = "https://github.com/vyos/libnss-mapuser.git" [dependencies] diff --git a/scripts/package-build/libpam-radius-auth/package.toml b/scripts/package-build/libpam-radius-auth/package.toml index d2c760c8..06a89a43 100644 --- a/scripts/package-build/libpam-radius-auth/package.toml +++ b/scripts/package-build/libpam-radius-auth/package.toml @@ -1,6 +1,6 @@ [[packages]] name = "libpam-radius-auth" -commit_id = "current" +commit_id = "rolling" scm_url = "https://github.com/vyos/libpam-radius-auth.git" [dependencies] diff --git a/scripts/package-build/tacacs/package.toml b/scripts/package-build/tacacs/package.toml index dd10be40..a3b0ef2a 100644 --- a/scripts/package-build/tacacs/package.toml +++ b/scripts/package-build/tacacs/package.toml @@ -1,18 +1,18 @@ [[packages]] name = "libtacplus-map" -commit_id = "master" +commit_id = "rolling" scm_url = "https://github.com/vyos/libtacplus-map.git" build_cmd = "dpkg-buildpackage -us -uc -tc -b" [[packages]] name = "libpam-tacplus" -commit_id = "master" +commit_id = "rolling" scm_url = "https://github.com/vyos/libpam-tacplus.git" build_cmd = "sudo dpkg -i ../libtacplus-map*.deb; dpkg-buildpackage -us -uc -tc -b" [[packages]] name = "libnss-tacplus" -commit_id = "master" +commit_id = "rolling" scm_url = "https://github.com/vyos/libnss-tacplus.git" build_cmd = "sudo dpkg -i ../libtac*.deb ../libpam-tacplus*.deb; dpkg-buildpackage -us -uc -tc -b" diff --git a/scripts/package-build/vpp/package.toml b/scripts/package-build/vpp/package.toml index 61899eb6..99d72c78 100644 --- a/scripts/package-build/vpp/package.toml +++ b/scripts/package-build/vpp/package.toml @@ -1,6 +1,6 @@ [[packages]] name = "vyos-vpp-patches" -commit_id = "current" +commit_id = "rolling" scm_url = "https://github.com/vyos/vyos-vpp-patches" build_cmd = "/bin/true" apply_patches = false diff --git a/scripts/package-build/vyos-1x/package.toml b/scripts/package-build/vyos-1x/package.toml index 1f0cba1f..08c18291 100644 --- a/scripts/package-build/vyos-1x/package.toml +++ b/scripts/package-build/vyos-1x/package.toml @@ -1,4 +1,4 @@ [[packages]] name = "vyos-1x" -commit_id = "current" +commit_id = "rolling" scm_url = "https://github.com/vyos/vyos-1x.git" -- cgit v1.2.3