Skip to content

sysShutdown: shorten per-row Source File paths (follow-up to #345)#346

Merged
abrignoni merged 2 commits into
mainfrom
row-level-relative-paths
Jul 6, 2026
Merged

sysShutdown: shorten per-row Source File paths (follow-up to #345)#346
abrignoni merged 2 commits into
mainfrom
row-level-relative-paths

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Counterpart of ALEAPP #932 / iLEAPP row-level fix: wraps the file_found copies placed in per-record Source File columns with Context.get_relative_path. Full RLEAPP audit found only this file as a true positive — google_health already emits basenames, and kik.py is deliberately deferred to avoid conflicting with the open migration PR #287 (it should adopt relative paths as part of that rework).

pylint 10.00/10; byte-compile clean.

abrignoni added 2 commits July 6, 2026 15:50
Follow-up to #345: wrap the file_found copies placed in the Source File
column with Context.get_relative_path. Audit of all RLEAPP artifacts found
only this file as a true positive (google_health emits basenames; kik is
deferred to the open migration in #287).
Unused imports removed, constant f-strings fixed, loop-variable leak
guarded with an initializer, legacy-signature args pragma'd. Note: this
artifact has v2 metadata but a legacy self-reporting body (no
artifact_processor, no LAVA output) - conversion flagged separately.
@stark4n6

stark4n6 commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

@abrignoni this may not need changed as it can probably get deleted in favor of using iLEAPP for Sysdiagnose extractions. I don't recall why we had it here also

@abrignoni abrignoni merged commit b55c49c into main Jul 6, 2026
@abrignoni abrignoni deleted the row-level-relative-paths branch July 6, 2026 20:00
pull Bot pushed a commit to f0r3ns1cat0r/RLEAPP that referenced this pull request Jul 6, 2026
Closes out the RLEAPP LAVA conversion: sysShutdown had v2 metadata (legacy
'function' key) but a self-reporting body with no LAVA output. Split into
two artifact_processor artifacts matching the original reports —
Sysdiagnose - Shutdown Log Processes (Timestamp/Entry Number/PID/Path/
Source File) and Sysdiagnose - Shutdown Log Reboots (Timestamp/Reboot
Number/Source File) — sharing one verbatim parse helper.

- context form, output_types standard, Timestamp typed datetime (UTC via
  convert_ts_int_to_utc; drops the no-op convert_utc_human_to_timezone
  'UTC' wrap)
- per-row Source File stays extraction-relative via
  context.get_relative_path (preserves abrignoni#346 behavior)
- preserves @KevinPagano3 attribution and 2024-02-13 creation date
- pylint --disable=C,R 10.00; loader 312 -> 313; fixture-tested via
  .__wrapped__ (per-file entry/reboot numbering unchanged)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants