# lineage-panther/panther-release-24.0 architecture

> Architecture diagram of the GitHub repository lineage-panther/panther-release-24.0, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-22). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lineage-panther/panther-release-24.0
- Repository: https://github.com/lineage-panther/panther-release-24.0

## Overview

This repository is the release-information and OTA-feed portion of an unofficial Pixel 7 ROM project, not the Android ROM source or build system. Its main workflow takes a published OTA ZIP, extracts and validates its metadata, computes a checksum, then generates an Updater feed entry and refreshes the README build details. The README also documents GitHub pre-releases and the built-in Updater’s use of the newest pre-release. Source coverage is limited to the single sampled runtime script; release and Updater relationships are documented in the README.

Main entry points: [`scripts/generate_ota_feed.py`](https://github.com/lineage-panther/panther-release-24.0/blob/main/scripts/generate_ota_feed.py) (Feed generator), [`ota.json`](https://github.com/lineage-panther/panther-release-24.0/blob/main/ota.json) (Updater feed), [`README.md`](https://github.com/lineage-panther/panther-release-24.0/blob/main/README.md) (Build details)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Release inputs"]
  node_ota_zip["OTA ZIP"]
end

subgraph group_generator["Feed generation"]
  node_feed_generator["Feed generator"]
end

subgraph group_published["Release information"]
  node_feed["Updater feed<br/>[ota.json]"]
  node_build_details["Build details<br/>[README.md]"]
end

node_automation(("Release automation"))
node_updater["Android Updater"]
node_github_releases["GitHub pre-releases"]

node_automation -->|"runs after publishing"| node_feed_generator
node_feed_generator -->|"reads metadata and hashes"| node_ota_zip
node_feed_generator -->|"writes entry"| node_feed
node_feed_generator -->|"updates details"| node_build_details
node_updater -->|"uses newest entry"| node_feed
node_github_releases -->|"publishes package"| node_ota_zip

click node_feed_generator "https://github.com/lineage-panther/panther-release-24.0/blob/main/scripts/generate_ota_feed.py"
click node_feed "https://github.com/lineage-panther/panther-release-24.0/blob/main/ota.json"
click node_build_details "https://github.com/lineage-panther/panther-release-24.0/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_ota_zip toneBlue
class node_feed_generator toneAmber
class node_feed,node_build_details toneMint
class node_automation,node_updater,node_github_releases toneIndigo
```

## Components

### Release inputs

- **OTA ZIP**

### Feed generation

- [Feed generator](https://github.com/lineage-panther/panther-release-24.0/blob/main/scripts/generate_ota_feed.py): `scripts/generate_ota_feed.py`

### Release information

- [Updater feed](https://github.com/lineage-panther/panther-release-24.0/blob/main/ota.json): `ota.json`
- [Build details](https://github.com/lineage-panther/panther-release-24.0/blob/main/README.md): `README.md`

### Other components

- **Release automation**
- **Android Updater**
- **GitHub pre-releases**

## Connections

- Release automation → Feed generator: runs after publishing (evidence: `README.md`)
- Feed generator → OTA ZIP: reads metadata and hashes (evidence: `scripts/generate_ota_feed.py`)
- Feed generator → Updater feed: writes entry (evidence: `scripts/generate_ota_feed.py`)
- Feed generator → Build details: updates details (evidence: `scripts/generate_ota_feed.py`)
- Android Updater → Updater feed: uses newest entry (evidence: `README.md`)
- GitHub pre-releases → OTA ZIP: publishes package (evidence: `README.md`)
