Skip to content

Commit dc75fad

Browse files
challgrenclaude
andcommitted
Rename aircraft-circle service to aircraft-patterns
- Updated all references from aircraft-circle to aircraft-patterns throughout the codebase - Renamed s6-overlay service directory to match new naming convention - Standardized naming in documentation, Docker configs, and application code - This aligns the service name with the actual project name for consistency 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d6a6553 commit dc75fad

16 files changed

Lines changed: 52 additions & 52 deletions

File tree

.github/workflows/security.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ jobs:
5555
context: .
5656
push: false
5757
load: true
58-
tags: aircraft-circle:scan
58+
tags: aircraft-patterns:scan
5959
cache-from: type=gha
6060
cache-to: type=gha,mode=max
6161

6262
- name: Run Trivy vulnerability scanner
6363
uses: aquasecurity/trivy-action@master
6464
with:
65-
image-ref: 'aircraft-circle:scan'
65+
image-ref: 'aircraft-patterns:scan'
6666
format: 'sarif'
6767
output: 'trivy-results.sarif'
6868
severity: 'CRITICAL,HIGH,MEDIUM'

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
All notable changes to Aircraft Circle will be documented in this file.
3+
All notable changes to Aircraft Patterns will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
@@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12-
- Initial release of Aircraft Circle pattern detection system
12+
- Initial release of Aircraft Patterns detection system
1313
- Real-time circle pattern detection for training and holding patterns
1414
- Grid pattern detection for survey and search operations
1515
- Web interface with live map visualization

CLAUDE.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
44

55
## Project Overview
66

7-
Aircraft Circle is a Python-based pattern detection system for monitoring aircraft via TAR1090 feeds. It identifies circular holding patterns, training flights, and grid survey patterns in real-time, with a Flask web interface for visualization.
7+
Aircraft Patterns is a Python-based pattern detection system for monitoring aircraft via TAR1090 feeds. It identifies circular holding patterns, training flights, and grid survey patterns in real-time, with a Flask web interface for visualization.
88

99
## Key Architecture
1010

@@ -20,7 +20,7 @@ Aircraft Circle is a Python-based pattern detection system for monitoring aircra
2020
2. **Docker Structure**:
2121
- Based on `ghcr.io/sdr-enthusiasts/docker-baseimage:base`
2222
- Uses s6-overlay v3 for process management
23-
- Service configuration in `rootfs/etc/s6-overlay/s6-rc.d/aircraft-circle/`
23+
- Service configuration in `rootfs/etc/s6-overlay/s6-rc.d/aircraft-patterns/`
2424
- Health check script in `rootfs/scripts/healthcheck.py`
2525

2626
3. **Web Interface**:
@@ -35,13 +35,13 @@ Aircraft Circle is a Python-based pattern detection system for monitoring aircra
3535

3636
```bash
3737
# Build Docker image locally
38-
docker build -t aircraft-circle:dev .
38+
docker build -t aircraft-patterns:dev .
3939

4040
# Multi-architecture build
41-
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t aircraft-circle:dev .
41+
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t aircraft-patterns:dev .
4242

4343
# Run locally with Docker
44-
docker run -it --rm -p 8888:8888 -e TAR1090_URL=http://fr24.hallgren.net:8080 aircraft-circle:dev
44+
docker run -it --rm -p 8888:8888 -e TAR1090_URL=http://fr24.hallgren.net:8080 aircraft-patterns:dev
4545

4646
# Run Python directly (for development)
4747
python3 app.py --server http://fr24.hallgren.net:8080 --web --web-port 8888
@@ -81,7 +81,7 @@ The s6 service configuration is critical for Docker container operation:
8181

8282
- Run script must use `#!/command/with-contenv bash` (not `/usr/bin/with-contenv`)
8383
- Service runs as root (no `abc` user in base image)
84-
- Located at `/etc/s6-overlay/s6-rc.d/aircraft-circle/run`
84+
- Located at `/etc/s6-overlay/s6-rc.d/aircraft-patterns/run`
8585

8686
### Reverse Proxy Support
8787

CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Contributing to Aircraft Circle
1+
# Contributing to Aircraft Patterns
22

3-
Thank you for your interest in contributing to Aircraft Circle! This document provides guidelines and instructions for contributing to the project.
3+
Thank you for your interest in contributing to Aircraft Patterns! This document provides guidelines and instructions for contributing to the project.
44

55
## Code of Conduct
66

@@ -15,7 +15,7 @@ By participating in this project, you agree to abide by our code of conduct:
1515

1616
### Reporting Issues
1717

18-
1. Check if the issue already exists in [GitHub Issues](https://github.com/challgren/aircraft-circle/issues)
18+
1. Check if the issue already exists in [GitHub Issues](https://github.com/challgren/aircraft-patterns/issues)
1919
2. If not, create a new issue with:
2020
- Clear, descriptive title
2121
- Steps to reproduce the problem
@@ -36,8 +36,8 @@ By participating in this project, you agree to abide by our code of conduct:
3636

3737
```bash
3838
# Fork and clone the repository
39-
git clone https://github.com/YOUR-USERNAME/aircraft-circle.git
40-
cd aircraft-circle
39+
git clone https://github.com/YOUR-USERNAME/aircraft-patterns.git
40+
cd aircraft-patterns
4141

4242
# Create a virtual environment
4343
python -m venv venv
@@ -161,13 +161,13 @@ def test_circle_detection():
161161

162162
```bash
163163
# Build for testing
164-
docker build -t aircraft-circle:dev .
164+
docker build -t aircraft-patterns:dev .
165165

166166
# Run local build
167167
docker run -it --rm \
168168
-p 8888:8888 \
169169
-e TAR1090_URL=http://your-tar1090:80 \
170-
aircraft-circle:dev
170+
aircraft-patterns:dev
171171
```
172172

173173
### Multi-Architecture Build
@@ -179,7 +179,7 @@ docker buildx create --use
179179
# Build for multiple platforms
180180
docker buildx build \
181181
--platform linux/amd64,linux/arm64,linux/arm/v7 \
182-
-t aircraft-circle:dev \
182+
-t aircraft-patterns:dev \
183183
.
184184
```
185185

@@ -241,4 +241,4 @@ Contributors will be recognized in:
241241
- Release notes
242242
- Project documentation
243243

244-
Thank you for contributing to Aircraft Circle!
244+
Thank you for contributing to Aircraft Patterns!

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ RUN mkdir -p /app/data && \
5353
chmod 755 /app/data
5454

5555
# Ensure scripts are executable
56-
RUN chmod +x /etc/s6-overlay/s6-rc.d/aircraft-circle/run && \
56+
RUN chmod +x /etc/s6-overlay/s6-rc.d/aircraft-patterns/run && \
5757
chmod +x /scripts/healthcheck.py
5858

5959
# Expose web port

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Aircraft Circle Contributors
3+
Copyright (c) 2024 Aircraft Patterns Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Aircraft Circle - Pattern Detection for ADS-B/TAR1090
1+
# Aircraft Patterns - Pattern Detection for ADS-B/TAR1090
22

3-
[![Docker Image Size](https://img.shields.io/docker/image-size/ghcr.io/challgren/aircraft-circle/latest)](https://github.com/challgren/aircraft-circle/pkgs/container/aircraft-circle)
3+
[![Docker Image Size](https://img.shields.io/docker/image-size/ghcr.io/challgren/aircraft-patterns/latest)](https://github.com/challgren/aircraft-patterns/pkgs/container/aircraft-patterns)
44
[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
5-
[![GitHub Issues](https://img.shields.io/github/issues/challgren/aircraft-circle)](https://github.com/challgren/aircraft-circle/issues)
5+
[![GitHub Issues](https://img.shields.io/github/issues/challgren/aircraft-patterns)](https://github.com/challgren/aircraft-patterns/issues)
66

77
Real-time aircraft pattern detection system that monitors TAR1090 feeds to identify and log circular holding patterns, training flights, and grid survey patterns.
88

@@ -38,12 +38,12 @@ Real-time aircraft pattern detection system that monitors TAR1090 feeds to ident
3838

3939
```bash
4040
docker run -d \
41-
--name=aircraft-circle \
41+
--name=aircraft-patterns \
4242
-p 8888:8888 \
4343
-e TAR1090_URL=http://your-tar1090:80 \
4444
-v ./data:/app/data \
4545
--restart unless-stopped \
46-
ghcr.io/challgren/aircraft-circle:latest
46+
ghcr.io/challgren/aircraft-patterns:latest
4747
```
4848

4949
### Using Docker Compose
@@ -52,9 +52,9 @@ docker run -d \
5252
version: '3.8'
5353

5454
services:
55-
aircraft-circle:
56-
image: ghcr.io/challgren/aircraft-circle:latest
57-
container_name: aircraft-circle
55+
aircraft-patterns:
56+
image: ghcr.io/challgren/aircraft-patterns:latest
57+
container_name: aircraft-patterns
5858
restart: unless-stopped
5959
ports:
6060
- 8888:8888
@@ -71,8 +71,8 @@ services:
7171
7272
```bash
7373
# Clone the repository
74-
git clone https://github.com/challgren/aircraft-circle.git
75-
cd aircraft-circle
74+
git clone https://github.com/challgren/aircraft-patterns.git
75+
cd aircraft-patterns
7676

7777
# Install dependencies
7878
pip install -r requirements.txt
@@ -183,7 +183,7 @@ For mounting at `/circles/`:
183183

184184
```nginx
185185
location /circles/ {
186-
proxy_pass http://aircraft-circle:8888/;
186+
proxy_pass http://aircraft-patterns:8888/;
187187
proxy_set_header Upgrade $http_upgrade;
188188
proxy_set_header Connection $http_connection;
189189
proxy_set_header Host $http_host;
@@ -203,10 +203,10 @@ services:
203203
- "80:80"
204204
- "443:443"
205205
environment:
206-
- PROXY_HOSTS=aircraft,aircraft-circle,8888
206+
- PROXY_HOSTS=aircraft,aircraft-patterns,8888
207207

208-
aircraft-circle:
209-
image: ghcr.io/challgren/aircraft-circle:latest
208+
aircraft-patterns:
209+
image: ghcr.io/challgren/aircraft-patterns:latest
210210
environment:
211211
- TAR1090_URL=http://tar1090:80
212212
```
@@ -274,8 +274,8 @@ services:
274274
ports:
275275
- 8080:80
276276
277-
aircraft-circle:
278-
image: ghcr.io/challgren/aircraft-circle:latest
277+
aircraft-patterns:
278+
image: ghcr.io/challgren/aircraft-patterns:latest
279279
ports:
280280
- 8888:8888
281281
environment:
@@ -346,7 +346,7 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
346346

347347
## 🐛 Issues & Support
348348

349-
- [GitHub Issues](https://github.com/challgren/aircraft-circle/issues)
349+
- [GitHub Issues](https://github.com/challgren/aircraft-patterns/issues)
350350
- [SDR-Enthusiasts Discord](https://discord.gg/sTf9uYF)
351351

352352
## 📊 Stats

app.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python3
22
"""
3-
TAR1090 Aircraft Circle Detector
4-
A Python application to monitor aircraft and detect circular flight patterns.
3+
TAR1090 Aircraft Patterns Detector
4+
A Python application to monitor aircraft and detect various flight patterns.
55
"""
66

77
# HTML template for the map viewer
@@ -2922,7 +2922,7 @@ def run_monitoring(self, show_all_aircraft=False, quiet_mode=False, compact_mode
29222922
time.sleep(self.update_interval)
29232923

29242924
except KeyboardInterrupt:
2925-
print("\n\n👋 Stopping monitor... Thanks for using Aircraft Circle Detector!")
2925+
print("\n\n👋 Stopping monitor... Thanks for using Aircraft Patterns Detector!")
29262926
self.print_log_summary()
29272927
self.running = False
29282928
except Exception as e:

docker-compose.proxy-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ services:
77
volumes:
88
- ./nginx-test.conf:/etc/nginx/conf.d/default.conf:ro
99
depends_on:
10-
- aircraft-circle
10+
- aircraft-patterns
1111
networks:
1212
- proxy-network
1313

14-
aircraft-circle:
15-
image: aircraft-circle:path-fix
14+
aircraft-patterns:
15+
image: aircraft-patterns:path-fix
1616
environment:
1717
- TAR1090_URL=http://fr24.hallgren.net:8080
1818
- WEB_PORT=8888

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
2-
aircraft-circle:
3-
image: ghcr.io/challgren/aircraft-circle:latest
4-
container_name: aircraft-circle
2+
aircraft-patterns:
3+
image: ghcr.io/challgren/aircraft-patterns:latest
4+
container_name: aircraft-patterns
55
restart: unless-stopped
66
ports:
77
- 8888:8888

0 commit comments

Comments
 (0)