summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYuriy Andamasov <yuriy@vyos.io>2026-05-30 20:52:01 +0300
committerYuriy Andamasov <yuriy@vyos.io>2026-05-30 20:52:01 +0300
commit08ef44061c2f8ab211bbabe8c0f27e77033442c1 (patch)
tree0cf8fa3fae08e6d10576ba660f5e7b4771c362b9 /scripts
parent78e43adfa089d4b10f233069d2995ec45296a833 (diff)
downloadvyos-build-08ef44061c2f8ab211bbabe8c0f27e77033442c1.tar.gz
vyos-build-08ef44061c2f8ab211bbabe8c0f27e77033442c1.zip
T8943: scripts/package-build: migrate broken commit_id refs after 1c rename
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 <commit_id>`, 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/<r> --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)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/package-build/libnss-mapuser/package.toml2
-rw-r--r--scripts/package-build/libpam-radius-auth/package.toml2
-rw-r--r--scripts/package-build/tacacs/package.toml6
-rw-r--r--scripts/package-build/vpp/package.toml2
-rw-r--r--scripts/package-build/vyos-1x/package.toml2
5 files changed, 7 insertions, 7 deletions
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"