armbian-build/tools/repository
Igor Pecovnik 09ce370e55 feat: implement parallel repository management workflow
This commit implements a complete parallel repository management system
that allows building and publishing Debian repositories in parallel,
significantly reducing build time for multiple distributions.

- `update-main`: Builds common/main component once for all releases
- `update -R <release>`: Builds release-specific components in isolated DBs
- `merge`: Combines common + release-specific components into final repos

- Isolated databases (aptly-isolated-<release>) avoid locking during parallel builds
- Common component built once, not duplicated per release
- Release-specific components (utils, desktop) built independently
- Final merge combines all components with proper GPG signing

- Fixed GPG signing to target top-level Release files (dists/{release}/Release)
- Pool cleanup before publishing avoids "file already exists" errors
- Smart package import skips duplicates during merge
- Proper handling of empty repositories and missing components
- Improved error handling and logging throughout

1. update-main: Build common component (once)
2. update -R <release>: Parallel workers build release-specific components
3. merge: Combine all components and publish with GPG signatures

This enables GitHub Actions to run multiple release builders in parallel,
reducing total repository build time from hours to minutes.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-01-11 00:37:46 +01:00
..
aptly.conf Repo management: rework to increase reliability and speed 2024-07-25 16:42:23 +02:00
armbian.key
cleanup-debs.sh tools/repository/extract-repo.sh: simplify extraction by copying directly from pool (#9174) 2026-01-08 12:23:40 +01:00
example.deb
extract-repo.sh tools/repository/extract-repo.sh: simplify extraction by copying directly from pool (#9174) 2026-01-08 12:23:40 +01:00
footer.html
header.html
repo repo: add loong64 support 2025-08-05 15:12:06 +02:00
repo.sh feat: implement parallel repository management workflow 2026-01-11 00:37:46 +01:00