Skip to content

Convert findMy + duetLocations to LAVA @artifact_processor#1571

Merged
abrignoni merged 1 commit into
mainfrom
convert-location-standalones
Jun 23, 2026
Merged

Convert findMy + duetLocations to LAVA @artifact_processor#1571
abrignoni merged 1 commit into
mainfrom
convert-location-standalones

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Modernizes two location standalones to the LAVA pipeline (context form, UTC, get_relative_path).

findMy.py

  • v1 __artifacts____artifacts_v2__; @artifact_processor single-arg context form.
  • Iterate get_files_found() + endswith + empty-guard (no blind [0]).
  • addTime → timezone-aware UTC datetime; get_relative_path on source.

duetLocations.py

  • v1 → v2; context form. Manual SEGB binary stream parsing preserved (struct/BytesIO).
  • Location timestamps via webkit_timestampsconv (UTC); Latitude/Longitude routed to the framework KML via output_types: 'all' (drops the manual kmlgen call).
  • get_relative_path on each source; consolidates records across all matched stream files.
  • Removed dead utf8_in_extended_ascii helper and unused imports (blackboxprotobuf, mktime, StringIO, ArtifactHtmlReport, tsv, timeline, kmlgen).

Validation

  • pylint 10.00/10 (CI --disable=C,R); compile/ast OK.
  • Mandatory reserved-word CREATE TABLE audit: PASS (key, value, timestamp, latitude, longitude, horizontal_accuracy, altitude, speed — none reserved).
  • Isolated import OK, __wrapped__ present; no cross-module imports of the old names (dead local utf8_in_extended_ascii was not imported elsewhere; googleChat uses the ilapfuncs version).

- findMy: context form, FMIPAccounts.plist key/value, addTime -> aware UTC,
  get_relative_path on source.
- duetLocations: context form, manual SEGB stream parsing preserved, location
  timestamps via webkit_timestampsconv (UTC), lat/lon -> framework KML via
  output_types 'all' (drops manual kmlgen), get_relative_path on sources.
  Removed dead utf8_in_extended_ascii helper and unused imports
  (blackboxprotobuf/mktime/StringIO/ArtifactHtmlReport/tsv/timeline/kmlgen).
@abrignoni abrignoni merged commit 12f28d2 into main Jun 23, 2026
1 check passed
@abrignoni abrignoni deleted the convert-location-standalones branch June 23, 2026 22:17
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