Skip to content

Commit 08ef440

Browse files
committed
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)
1 parent 78e43ad commit 08ef440

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

scripts/package-build/libnss-mapuser/package.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[packages]]
22
name = "libnss-mapuser"
3-
commit_id = "current"
3+
commit_id = "rolling"
44
scm_url = "https://github.com/vyos/libnss-mapuser.git"
55

66
[dependencies]

scripts/package-build/libpam-radius-auth/package.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[packages]]
22
name = "libpam-radius-auth"
3-
commit_id = "current"
3+
commit_id = "rolling"
44
scm_url = "https://github.com/vyos/libpam-radius-auth.git"
55

66
[dependencies]

scripts/package-build/tacacs/package.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
[[packages]]
22
name = "libtacplus-map"
3-
commit_id = "master"
3+
commit_id = "rolling"
44
scm_url = "https://github.com/vyos/libtacplus-map.git"
55
build_cmd = "dpkg-buildpackage -us -uc -tc -b"
66

77
[[packages]]
88
name = "libpam-tacplus"
9-
commit_id = "master"
9+
commit_id = "rolling"
1010
scm_url = "https://github.com/vyos/libpam-tacplus.git"
1111
build_cmd = "sudo dpkg -i ../libtacplus-map*.deb; dpkg-buildpackage -us -uc -tc -b"
1212

1313
[[packages]]
1414
name = "libnss-tacplus"
15-
commit_id = "master"
15+
commit_id = "rolling"
1616
scm_url = "https://github.com/vyos/libnss-tacplus.git"
1717
build_cmd = "sudo dpkg -i ../libtac*.deb ../libpam-tacplus*.deb; dpkg-buildpackage -us -uc -tc -b"
1818

scripts/package-build/vpp/package.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[[packages]]
22
name = "vyos-vpp-patches"
3-
commit_id = "current"
3+
commit_id = "rolling"
44
scm_url = "https://github.com/vyos/vyos-vpp-patches"
55
build_cmd = "/bin/true"
66
apply_patches = false
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[[packages]]
22
name = "vyos-1x"
3-
commit_id = "current"
3+
commit_id = "rolling"
44
scm_url = "https://github.com/vyos/vyos-1x.git"

0 commit comments

Comments
 (0)