AircraftOps
Search
Posts

Aircraft Type Image Ingestion CLI

Tools → Command Line Interface

CLI tooling for aircraft image discovery, ingestion, approval-queue processing, repository persistence, purge workflows, and ingestion queue lifecycle management within the AircraftOps media ingestion framework.


System Responsibilities

  • Search for aircraft imagery associated with aircraft type designators
  • Filter imagery based on commercially-safe license policies
  • Enqueue candidate images for approval workflows
  • Persist curated image records into the repository layer
  • Purge stored image datasets for specific aircraft
  • Maintain ingestion queue lifecycle and retention refresh workflows

Execution Pipeline

Image CLI Command
        ↓
Aircraft Type Lookup
        ↓
Image Discovery Search
        ↓
License Safety Filtering
        ↓
Candidate Image Processing
        ↓
Approval Queue Ingestion
        ↓
Repository Persistence

All ingestion operations are restart-safe through checkpointed job-state tracking, allowing large ingestion runs to resume automatically without reprocessing completed aircraft types.


Command Reference

search

Search for commercially-safe aircraft images associated with a specific aircraft type designator and enqueue matching candidates.

pipenv run python cli -m icao wiki_images search
    <icao>
    [title]
    [--limit 1-100]

search-only

Run image discovery without queue ingestion. Used for exploratory image lookup and inspection workflows.

pipenv run python cli -m icao wiki_images search-only
    <title>
    [--limit 1-100]

ingest

Run the full aircraft image ingestion pipeline across all aircraft types. The ingestion process is restart-safe using a persistent job-state cursor.

pipenv run python cli -m icao wiki_images ingest
    [--force]
  • Loads aircraft type registry
  • Processes aircraft types sequentially
  • Discovers and filters candidate imagery
  • Enqueues images for approval workflows
  • Stores checkpoint progress to resume ingestion safely

licenses

Display the list of license patterns considered commercially safe for image ingestion workflows.

pipenv run python cli -m icao wiki_images licenses

purge

Delete all stored image records associated with a specific aircraft type designator.

pipenv run python cli -m icao wiki_images purge <icao>

refresh-sqs

Refresh ingestion queue message retention by draining queue messages to local storage and republishing them back into the queue.

pipenv run python cli -m icao wiki_images refresh-sqs

Data Model

Image ingestion workflows persist curated image records using the ICAOImageModel repository model which stores image metadata, licensing information, approval state, and aircraft associations.


Operational Notes

  • Bulk ingestion workflows use checkpointed state to support restart-safe execution
  • License filtering is enforced before queue ingestion
  • Image ingestion workflows operate independently of aircraft registry ingestion pipelines
  • Queue refresh workflows maintain ingestion reliability during long-running approval cycles