Skip to content

Context-form retrofit (batch 1): downloads, googleCast, walStrings, browserCachechrome#906

Merged
abrignoni merged 1 commit into
mainfrom
context-retrofit-batch1
Jun 24, 2026
Merged

Context-form retrofit (batch 1): downloads, googleCast, walStrings, browserCachechrome#906
abrignoni merged 1 commit into
mainfrom
context-retrofit-batch1

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

First batch of the ALEAPP context-form retrofit, scoped to artifacts where get_relative_path actually improves output — i.e. a full on-disk path was leaking into a data column (and would otherwise display the examiner's local report path instead of the clean in-extraction path).

Change (mechanical, logic unchanged)

  • 4-arg (files_found, report_folder, seeker, wrap_text) → single-arg def fn(context); re-establish files_found = context.get_files_found() (+ report_folder = context.get_report_folder() for walStrings).
  • The path column (Source File / Source / Location) that held the raw file_found now uses context.get_relative_path(file_found). browserCachechrome also relativizes its dirname source_path return.
  • Dropped the now-unnecessary # pylint: disable=W0613 headers (no unused args in context form); removed a pre-existing unused logfunc import in googleCast.

Validation

  • All 4 now context form (1-param), import OK, __wrapped__ present; pylint 10.00/10.
  • get_relative_path mechanism verified: /extract/base/data/com.app/x.dbdata/com.app/x.db (empty/unset → safe no-op).

Scope

This is batch 1 of ~5. I identified 28 artifacts total with a full path in a data column (the clear "improves output" subset, distinct from the ~554 that are merely on the 4-arg form). Same minimal-diff pattern for the rest.

…Strings, browserCachechrome

Retrofit these @artifact_processor artifacts from the 4-arg
(files_found, report_folder, seeker, wrap_text) form to the single-arg
context form, and apply context.get_relative_path() where a full on-disk
path was leaking into a data column (cleaner in-extraction paths in LAVA).

- Signature -> def fn(context); re-establish files_found =
  context.get_files_found() (+ report_folder for walStrings).
- The 'Source File'/'Source'/'Location' column that held the raw file_found
  full path now uses context.get_relative_path(file_found).
- browserCachechrome also relativizes its dirname source_path return.
- Dropped now-unnecessary '# pylint: disable=W0613' headers (no unused args in
  context form); removed a pre-existing unused logfunc import in googleCast.
Logic otherwise unchanged. pylint 10.00.
@abrignoni abrignoni merged commit 8269344 into main Jun 24, 2026
2 checks passed
@abrignoni abrignoni deleted the context-retrofit-batch1 branch June 24, 2026 13:23
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.

1 participant