Browse Source

G-155: punkboot::utils 0.6.2 - dirty-tree warning + argdoc say 'produced', not 'built'

Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.com
master
Julian Noble 1 week ago
parent
commit
b0e5ef4745
  1. 6
      src/modules/punkboot/utils-999999.0a1.0.tm
  2. 3
      src/modules/punkboot/utils-buildversion.txt

6
src/modules/punkboot/utils-999999.0a1.0.tm

@ -126,7 +126,7 @@ namespace eval punkboot::utils {
-help\
"Walks up from path to the nearest fossil and/or git root and
returns warning lines describing uncommitted changes.
Artifacts built from a dirty source tree have no committed
Artifacts produced from a dirty source tree have no committed
provenance - callers such as make.tcl vendorupdate use this
to flag source projects that should be committed first.
@ -206,7 +206,7 @@ namespace eval punkboot::utils {
lappend flines $line
}
if {[llength $flines]} {
lappend warnings "WARNING: ${label}source project at $fossilroot has uncommitted fossil changes${scopedesc} ([llength $flines] file(s)) - artifacts built from a dirty tree have no committed provenance"
lappend warnings "WARNING: ${label}source project at $fossilroot has uncommitted fossil changes${scopedesc} ([llength $flines] file(s)) - artifacts produced from a dirty tree have no committed provenance"
}
}
cd $original_cwd
@ -222,7 +222,7 @@ namespace eval punkboot::utils {
} errM]} {
lappend warnings "WARNING: ${label}could not determine git state of source project at $gitroot ($errM)"
} elseif {$gchanges ne ""} {
lappend warnings "WARNING: ${label}source project at $gitroot has uncommitted git changes${scopedesc} ([llength [split $gchanges \n]] file(s)) - artifacts built from a dirty tree have no committed provenance"
lappend warnings "WARNING: ${label}source project at $gitroot has uncommitted git changes${scopedesc} ([llength [split $gchanges \n]] file(s)) - artifacts produced from a dirty tree have no committed provenance"
}
}
return $warnings

3
src/modules/punkboot/utils-buildversion.txt

@ -1,6 +1,7 @@
0.6.1
0.6.2
#First line must be a semantic version number
#all other lines are ignored.
#0.6.2 - vcs_dirty_warnings wording: "artifacts produced from a dirty tree" (G-155 stage vocabulary; was "built")
#0.6.1 - doc-only: kit_offsetstyle_report argdoc names the recapped tag BAKE-WARNING (G-155 stage vocabulary; tag renamed from BUILD-WARNING in make.tcl)
#0.6.0 - added kit_offsetstyle_report (advisory zip offset-style probe of an assembled kit image via punk::zip::archive_info; backs make.tcl's G-134 archive-relative output pin)
#0.5.0 - added binary_arch_classify (PE/ELF/Mach-O header classifier, honest unknowns), platform_expected_binary, platform_discriminated_segment and vfs_binary_arch_report (advisory payload/target binary-arch scan of a merged .vfs tree with platform-subdir exemption; backs make.tcl's G-133 payload/target consistency checks)

Loading…
Cancel
Save