Commit Graph

22 Commits

Author SHA1 Message Date
Igor Pecovnik
6d2d2e97a8 Fix repository management script for parallel execution
- Remove redundant run_cmd function, use run_aptly consistently
- Include EOS releases in repository processing (remove -ve 'eos' filter)
- Fix showall command to auto-discover repos from isolated databases
- Fix source file preservation in parallel mode (keep sources for workers)
- Fix snapshot management to handle published snapshots correctly
- Fix drop_unsupported_releases to only drop unsupported, not all repos
- Remove isolated DB cleanup that caused data loss on each run
- Remove inappropriate sudo usage from html and date commands
- Enable FORCE_PUBLISH by default for better workflow
- Improve common snapshot creation in isolated mode
- Add isolated database support to showall function

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-01-05 01:48:26 +01:00
Igor Pecovnik
e70fab2a19 Revert few Rabbit's suggestions that broke repository management 2026-01-02 20:46:16 +01:00
Igor
4bba1d3c5e
Repo tools: add parallel repository generation support (#9150)
**Repository tools: enable parallel repo generation and refactor repo.sh**

Add support for parallel repository generation using GitHub Actions, allowing
multiple workers to build different releases concurrently without database
locking conflicts.

### Highlights
- Add `-R/--single-release`, `update-main`, and `merge` for CI-level parallelism
- Use isolated per-release databases; remove local `-j/--parallel-jobs`
- Sign all Release files; optimize signing order
- Add `extract-repo.sh` for extracting and reorganizing packages from repositories
- Replace file-based logging with syslog (`logger`), removing sudo requirement
- Improve error handling, signing logic, and robustness
- Refactor repo.sh for better readability and documentation
- Apply CodeRabbit-recommended fixes

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-01-02 16:48:06 +01:00
Jianfeng Liu
f17caa7104 repo: add loong64 support 2025-08-05 15:12:06 +02:00
Igor
028cdb9c39
Repository signing: add support for dual signing (#8320)
* Repository signing: add support for dual signing
2025-06-23 17:25:48 +02:00
Igor Pecovnik
0999ebfd69 Repository management: disable broken and not needed functionality Acquire-By-Hash
- faster repo generation
- cleaner repository
2024-12-13 11:46:07 +01:00
Igor Pecovnik
9041c08979 Implement config driven BSP package modification to set last good kernel for a single device
This will prevent upgrading to higher kernels which are known to be broken.
2024-08-24 15:36:19 +02:00
Igor Pecovnik
c91668e645 Cosmetic fix: do not show repository keys that doesn't exits 2024-08-03 17:51:52 +02:00
Igor Pecovnik
c958cdc684 Repo management: drop unused component 2024-08-03 16:09:15 +02:00
Igor Pecovnik
239f3a5dc3 Repo management: rework to increase reliability and speed
- introduce common repo so we only add packages once
- publish via snapshots to increase reliability
- overwrite packages in case of conflicts
2024-07-25 16:42:23 +02:00
Igor Pecovnik
ae469d6503 Change the way repository is getting updated 2024-05-10 13:25:27 +01:00
Igor Pecovnik
abd4f458cc Unset hardcoded defaults from repo management tool 2024-03-07 12:09:29 +01:00
Igor Pecovnik
2da50b4172 Drop repository for unsupported Releases 2024-03-02 15:05:09 +01:00
Igor Pecovnik
39ee6545d9 Repository management - change control filename 2023-09-17 09:25:34 +02:00
Igor
f3736c990a Add functionality to delete packages from a list
Signed-off-by: Igor <igor@armbian.com>
2023-08-18 13:39:24 +02:00
Igor Pecovnik
c2f213a6f6 Internal: repository management will run on same host
Move executing check from the script
2023-08-12 09:59:53 +02:00
Igor
13ed5c0d62 Update repo 2023-08-10 22:43:22 +02:00
Igor
e492d3eeed Improve repository management
Signed-off-by: Igor <igor@armbian.com>
2023-08-10 22:43:22 +02:00
Konstantin Litvinov
8398dd1116
Added Debian 12 Bookworm. (#4740)
* Added Debian 12 Bookworm.

* Link identical

* Make minimal truly minimal again

Move netplan.io to CLI image only

* Add netplan.io to Bullseye standard CLI

Co-authored-by: Konstantin Litvinov <klitvinov@piesoft.us>
Co-authored-by: Igor <igor@armbian.com>
2023-01-26 10:04:17 +01:00
Igor Pečovnik
7684dae801
Address permission issue when cleaning added packages (#4628) 2022-12-31 15:54:39 +01:00
Igor Pečovnik
ff6c515e3f
Add next Ubuntu 23.04 / Lunar lobster (#4625) 2022-12-30 20:59:35 +01:00
Igor Pečovnik
84ca39c83c
Moving repository handling from main script (#4600)
* Moving repository handling from main script

- cleaning
- working

TBD: handling of parameters

* Not needed anymore

* Paramter handling, edit config in mktemp

* Typo

* Improve string handling

* Cleanining

* Compacting

* Change to backslash compatible sed replacement

* Publish all, update selected to avoid having erros at update

* Add support for html index generation

* Bugfix

* More arch

* Don't run publish if there is nothing in the incoming

* Add repo sync control file creation

* Fix hardcoded value
2022-12-23 21:58:06 +01:00