WIP - Add nightlies management
Information needed to manage a nightly build:
- the check
period
(ie check a new update is here every X hours) - an url (http://lolilol.com/update/latest), or an url pattern ?
- a channel
- a signature pair -> note: the private signature should not be easily accessible!
- a rule template, especially for:
- the architecture
- the rule priority
Principle:
- Every
period
, the service checks whether a new release is present - If a new release is here:
- performs some checks (checksum ? signature ?), download it, compute the hashes
- generate a new release item in the database, sign it
- remove the old rule with the given priority, then add a new rule with the same priority
- archive/soft delete the old release ?