# Inspiration Sources This directory contains the source code for projects that apt-ostree is inspired from. ## Source Code Downloads The following projects provide inspiration and reference for apt-ostree development: ### APT Package Management - **Repository**: [Debian APT](https://github.com/Debian/apt) - **Download**: https://github.com/Debian/apt/archive/refs/heads/main.zip - **Purpose**: APT package management system integration ### DPKG Package System - **Repository**: [Debian DPKG](https://salsa.debian.org/dpkg-team/dpkg) - **Download**: https://salsa.debian.org/dpkg-team/dpkg/-/archive/main/dpkg-main.zip - **Purpose**: DEB package format and handling ### OSTree Deployment System - **Repository**: [OSTree](https://github.com/ostreedev/ostree) - **Download**: https://github.com/ostreedev/ostree/archive/refs/heads/main.zip - **Purpose**: Immutable filesystem and atomic deployments ### rpm-ostree (Original Project) - **Repository**: [rpm-ostree](https://github.com/coreos/rpm-ostree) - **Download**: https://github.com/coreos/rpm-ostree/archive/refs/heads/main.zip - **Purpose**: Reference implementation and CLI compatibility ## Download Commands To recreate this directory structure, run these commands from the project root: ```bash sudo apt install unzip cd .notes/inspiration # Download APT source wget -O apt-main.zip 'https://github.com/Debian/apt/archive/refs/heads/main.zip' unzip -q apt-main.zip mv apt-main-* apt-main rm apt-main.zip # Download DPKG source wget -O dpkg-main.zip 'https://salsa.debian.org/dpkg-team/dpkg/-/archive/main/dpkg-main.zip' unzip -q dpkg-main.zip mv dpkg-main-* dpkg-main rm dpkg-main.zip # Download OSTree source wget -O ostree-main.zip 'https://github.com/ostreedev/ostree/archive/refs/heads/main.zip' unzip -q ostree-main.zip mv ostree-main-* ostree-main rm ostree-main.zip # Download rpm-ostree source wget -O rpm-ostree-main.zip 'https://github.com/coreos/rpm-ostree/archive/refs/heads/main.zip' unzip -q rpm-ostree-main.zip mv rpm-ostree-main-* rpm-ostree-main rm rpm-ostree-main.zip ``` ## Directory Structure ``` .notes/inspiration/ ├── apt-main/ # APT source code ├── dpkg-main/ # DPKG source code ├── ostree-main/ # OSTree source code ├── rpm-ostree-main/ # rpm-ostree source code └── readme.md # This file ``` ## Usage These source code directories are used for: - **API Reference**: Understanding library interfaces and APIs - **Implementation Patterns**: Learning from established patterns - **CLI Compatibility**: Ensuring apt-ostree matches rpm-ostree behavior - **Architecture Design**: Understanding system design decisions ## Note This directory is ignored by git (see `.gitignore`) to avoid committing large source code files, but the readme.md file is tracked for documentation purposes.