You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make the gh and node Report Note True When a One-Line Vendor Source Is Configured #4173
The report note for gh and node in host-setup/linux/install-tools.sh can say something false:
if [[ !-f"$SOURCES_DIR/$name.sources" ]];then
note "$tool""upstream repository not configured, the available version is the distro's"fi
It tests only for the deb822 file this script writes. A host can carry the vendor's own one-line source for the same repository, as a .list file. On that host the upstream repository is configured, and the available version is the vendor's. The note says the opposite on both counts.
The powershell note beside it already tests both forms, microsoft-prod.sources and microsoft-prod.list.
How to Reproduce
Construct the case: a sources directory holding a one-line github-cli.list and no github-cli.sources. Run the report for gh. The note reads "upstream repository not configured, the available version is the distro's".
Fix Direction
Say what is true in each case. With neither file, the repository is not configured. With only the one-line file, it is configured by a file this script does not manage, which is what the unmanaged status already means. tool_configured reads the same single file, so the two should agree on one test.
Found while reviewing #4161. It predates that change.
Released (2026-11-24): PR #4394 merged to develop at 15f3c3c; branch and worktree cleaned up, so this claim holds no files. The issue closes on promotion.
Backlog burndown claim (away run 2026-11-24, round 1, group 7): branch burndown/gh-node-source-note, issue #4173.
Predicted files:
host-setup/linux/install-tools.sh, the gh | node report note and tool_configured, so both read one test of the sources directory.
tests/test_install_tools.py, the report-note tests, with a constructed sources directory holding only a one-line .list.
host-setup/linux/README.md, the unmanaged paragraph and the one-line-source paragraph, only where the change makes either false.
Any other group needing one of these files waits for this branch to merge.
Activity
ptr727 commentedon Nov 24, 2026
Released (2026-11-24): PR #4394 merged to develop at 15f3c3c; branch and worktree cleaned up, so this claim holds no files. The issue closes on promotion.
Backlog burndown claim (away run 2026-11-24, round 1, group 7): branch
burndown/gh-node-source-note, issue #4173.Predicted files:
host-setup/linux/install-tools.sh, thegh | nodereport note andtool_configured, so both read one test of the sources directory.tests/test_install_tools.py, the report-note tests, with a constructed sources directory holding only a one-line.list.host-setup/linux/README.md, theunmanagedparagraph and the one-line-source paragraph, only where the change makes either false.Any other group needing one of these files waits for this branch to merge.
Make the gh and node Report Note Say a One-Line Vendor Source Is Conf…