How retorquere/zotero-deb works
Main Components
a. Source Components:
• GitHub Repository (containing configuration and scripts)
• Zotero/Juris-M Upstream Sources
• Package Building System
b. Infrastructure Components:
• APT Repository Server (zotero.retorque.re)
• Mirror Servers (e.g., mirror.mwt.me)
• Package Signing System
• Distribution System
Key Relationships to Highlight
a. Package Creation Flow:
• How the Crystal-based build scripts (staging.cr, rebuild-apt.cr) process upstream releases
• Package signing process using the GPG keys
• Package deployment to the main repository
b. Distribution Flow:
• How install.sh interacts with user systems
• APT repository structure
• Mirror synchronization
Specific Implementation Details
• Blue rectangles for infrastructure components
• Green rectangles for build/processing components
• Yellow diamonds for security components (GPG signing)
• Red rectangles for user-facing components
Create these specific sections
[Package Building]
• v
[Security Signing] --> [Primary Repository]
• v
• [Mirror Servers]
• v v
[End User Systems] <-- [APT Integration]
Important Elements
• GitHub Actions workflows (shown in .github/workflows)
• Package signing process (zotero-archive-keyring.gpg)
• Installation script flow (install.sh)
• APT repository structure
• Mirror system architecture
• Package update mechanism