feat: Add SQLite database integration for aircraft history and callsign enhancement
- Implement comprehensive database package with versioned migrations - Add skyview-data CLI tool for managing aviation reference data - Integrate database with merger for real-time aircraft history persistence - Support OurAirports and OpenFlights data sources (runtime loading) - Add systemd timer for automated database updates - Fix transaction-based bulk loading for 2400% performance improvement - Add callsign enhancement system with airline/airport lookups - Update Debian packaging with database directory and permissions Database features: - Aircraft position history with configurable retention - External aviation data loading (airlines, airports) - Callsign parsing and enhancement - API client for external lookups (OpenSky, etc.) - Privacy mode for complete offline operation CLI commands: - skyview-data status: Show database statistics - skyview-data update: Load aviation reference data - skyview-data list: Show available data sources - skyview-data clear: Remove specific data sources 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
cd51d3ecc0
commit
37c4fa2b57
25 changed files with 4771 additions and 12 deletions
|
|
@ -61,13 +61,24 @@ if ! go build -ldflags="$LDFLAGS" \
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Build skyview-data utility
|
||||
echo_info "Building skyview-data..."
|
||||
if ! go build -ldflags="$LDFLAGS" \
|
||||
-o "$DEB_DIR/usr/bin/skyview-data" \
|
||||
./cmd/skyview-data; then
|
||||
echo_error "Failed to build skyview-data"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo_info "Built binaries:"
|
||||
echo_info " skyview: $(file "$DEB_DIR/usr/bin/skyview")"
|
||||
echo_info " beast-dump: $(file "$DEB_DIR/usr/bin/beast-dump")"
|
||||
echo_info " beast-dump: $(file "$DEB_DIR/usr/bin/beast-dump")"
|
||||
echo_info " skyview-data: $(file "$DEB_DIR/usr/bin/skyview-data")"
|
||||
|
||||
# Set executable permissions
|
||||
chmod +x "$DEB_DIR/usr/bin/skyview"
|
||||
chmod +x "$DEB_DIR/usr/bin/beast-dump"
|
||||
chmod +x "$DEB_DIR/usr/bin/skyview-data"
|
||||
|
||||
# Generate incremental changelog from git history
|
||||
echo_info "Generating incremental changelog from git history..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue