Repository navigation
iperf3, oha: review follow-ups (license refs, comments) - #1648
Conversation
iperf3: license_spdx adds LicenseRef-Public-Domain (src/portable_endian.h)
and LicenseRef-Lucent-Notice (the Lucent Technologies permission notice that
LICENSE attaches to src/net.{c,h}; same family as SPDX dtoa but not a match).
oha: the SQLite comment names --db-url (--output-format is text/json/csv/quiet
in 1.17.0); the lock-patch comment says "free of known vulnerabilities" and
names the two unmaintained advisories still shipped (chrono
RUSTSEC-2026-0543, humantime RUSTSEC-2026-0542); build.sh drops the
sha256sum line, which was only a local reproducibility aid.
Follow-up to #1632 and #1634 review threads.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reached
This review includes 3 billable files and costs up to $0.75.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 58 minutes for your next included review. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
There was a problem hiding this comment.
Scope matches the title. The diff changes one license_spdx value, three comments, and removes one log line from packages/oha/build.sh. Every hunk traces to the stated follow-ups.
Clobber none. git log shows only the two original package commits (#1632, #1634) on these paths, and the diff reverts nothing from them.
Correctness The new expression uses LicenseRef-Public-Domain, which packages/libbsd/build.ncl:39 and packages/libmd/build.ncl:36 already use. Both new ids match the LicenseRef- pattern in .github/scripts/license_lint.py:37. The LicenseRef- with a comment follows packages/buddy/build.ncl:42-48. The removal of sha256sum leaves packages/oha/build.sh complete: the readelf gate is still the last step and nothing reads the removed output. The same trailing sha256sum line remains in packages/flamethrower/build.sh:59, packages/netperf/build.sh:57 and packages/valkey/build.sh:44. That is outside this diff, and the author can decide whether to remove those also. No secrets and no dependency changes are in the diff.
Not checked The sandbox denied network access. I did not compare the comments with the upstream iperf 3.22.1 LICENSE, the SPDX license list, or the oha v1.17.0 src/main.rs. The claims about the Lucent notice text, the dtoa mismatch, --db-url, and the two RUSTSEC ids rest on the PR body. I did not run a build, and I did not read the CLI version, so agent.version is unknown.
| # BSD-3-Clause part by Eric Jackson), src/queue.h (BSD-3-Clause, UC), src/units.c (the | ||
| # iperf2 NCSA licence) and src/portable_endian.h (public domain, Mathias Panzenböck; | ||
| # LicenseRef-Public-Domain as in libbsd). GitHub's licence API reports NOASSERTION for | ||
| # this file. |
There was a problem hiding this comment.
nit · "this file" pointed at LICENSE before this change. The sentence now follows src/portable_endian.h, so a reader takes that header as the file with NOASSERTION. Write "GitHub's licence API reports NOASSERTION for LICENSE." This is one instance. The other comments in the diff have clear antecedents.
There was a problem hiding this comment.
Fixed in b1b1093: the sentence now reads "GitHub's licence API reports NOASSERTION for LICENSE."
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ed by the 17:15Z build-bot restart)
Follow-up to the review threads on #1632 (iperf3) and #1634 (oha), which merged from the queue before these nits could go in.
iperf3: license_spdx
Checked against the pinned release asset
iperf-3.22.1.tar.gz(sha256de018b52…a4a9, matches the pin).LicenseRef-Public-Domainforsrc/portable_endian.h. Its header reads"License": Public Domain — I, Mathias Panzenböck, place this file hereby into the public domain, and LICENSE repeats it. It is included throughsrc/iperf.h. The id followspackages/libbsd/build.nclandpackages/libmd/build.ncl.LicenseRef-Lucent-Noticefor the Lucent notice. LICENSE sayssrc/net.{c,h}"contains parts of an earlier library" by Rob Pike, Sape Mullender and Russ Cox, (c) 2003 Lucent Technologies, under a permission notice. The text is not innet.citself. I compared it with SPDXdtoa(license-list-XMLsrc/dtoa.xml). It is the same family, but it does not match: iperf's text says "NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE", and dtoa's template says "NEITHER THE AUTHOR NOR MAKES". Only the company name is a variable in the template. No other SPDX licence contains the notice (I grepped all 743 for Lucent, Pike and Mullender), so it gets aLicenseRef-with a comment, aspackages/buddydoes. This also covers CodeRabbit's thread.src/net.{c,h}(as LICENSE does) rather thansrc/net.c.oha
Checked against the oha v1.17.0 tag.
src/main.rs,--db-url("Write succeeded requests to sqlite database url") is the flag that opens the bundled rusqlite connection insrc/db.rs.--output-formatisPrintMode= text, json, csv or quiet. The comment now names--db-url.sha256sumof the binary, which was only an aid for the PR's own reproducibility check.Rebuild scope
oha/build.shchanged, so oha rebuilds. It is a leaf with no reverse deps. iperf3 changes only attrs and comments, and nothing imports it either.🤖 Generated with Claude Code
Summary by CodeRabbit
oha’s SQLite request logging option, supported output formats, and security advisory details.iperf3license information to include additional notices.ohabinary’s SHA-256 checksum.