chore: update parser module to v38.0.0, script parser bumps

Move logpile to git.mchus.pro/reanimator/parser/v38 v38.0.0 (ADL-085).
Add scripts/bump-parser.sh, which bumps the parser, tests, commits, tags
the release as v<counter>.<parser major>, pushes and builds (ADL-086).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Mikhail ChusavitinandClaude Opus 5.5 committed 2026-10-26 18:07:28 +03:00
1 parent 488f730c9d
commit cb2e38223e
53 files changed
+266 -66

No files matched your search

+5 -5
View File
@@ -3,10 +3,10 @@
## Parsers live in a separate module
All archive/vendor-format parsing and the Redfish raw-payload replay/analysis engine
live in `git.mchus.pro/reanimator/parser/v31` (a plain Go module dependency, see
live in `git.mchus.pro/reanimator/parser/v38` (a plain Go module dependency, see
ADL-2026-10-08). logpile does not implement or register parsers itself anymore.
The dependency is pinned to the published `v31.0.0` (ADL-084), without a local
The dependency is pinned to a published release (exact version in `go.mod`; ADL-084, ADL-085, ADL-086), without a local
parser replacement. This includes Lenovo XCC mini-log and full FFDC `.tzz`
archives, binary component journals, Linux service journals and structured
component activity with historical identities and firmware. Existing PAX tar.gz,
@@ -47,7 +47,7 @@ what it hands to the module, and what comes back.
## What the module owns and how logpile calls it
Two entry points on `git.mchus.pro/reanimator/parser/v31`'s `Service`:
Two entry points on `git.mchus.pro/reanimator/parser/v38`'s `Service`:
- `Service.AnalyzeArchivePayload(filename string, payload []byte) (*models.AnalysisResult, string, error)`
— uploaded archive parsing. Used by `internal/server/handlers.go` (upload flow) and
@@ -63,12 +63,12 @@ Two entry points on `git.mchus.pro/reanimator/parser/v31`'s `Service`:
Top-level helpers also used directly: `ListParsersInfo()`, `IsSupportedArchiveFilename()`,
`SupportedArchiveExtensions()`, `ParseInDefaultArchiveLocation()`, `PrivacyScanEnabled()`,
and the `pciids` package (`git.mchus.pro/reanimator/parser/v31/pciids`) for PCI
and the `pciids` package (`git.mchus.pro/reanimator/parser/v38/pciids`) for PCI
vendor/device name lookups in both the live collector and the exporter.
## models package
`git.mchus.pro/reanimator/parser/v31/models` is used directly everywhere in logpile;
`git.mchus.pro/reanimator/parser/v38/models` is used directly everywhere in logpile;
there is no local `internal/models` anymore (fully repointed, 2026-10-08). The module's
`models` package is kept strictly additive against what logpile used to define, so this
needed no adapter.