James Valleroy 49c21cabc8
upgrades: Add a setting to enable dist upgrade
- Setting is stored in kvstore.

- Enable for new installs, and once when upgrading from version
  without flag.

- Split action subcommands for activating backports and for performing
  dist upgrade.

Tests:
- Dist upgrade is enabled by default in stable container.
- Dist upgrade is disabled by default in testing container.
- Enable dist upgrade. Dist upgrade is attempted periodically.
- Disable dist upgrade. Dist upgrade is no longer attempted.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: kvstore need to be locally imported anymore, import as usual]
[sunil: Minor changes to comments for PEP compliance]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-10-30 20:41:58 -07:00
..
2020-08-29 18:27:25 -07:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-09-27 22:16:07 +05:30
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
i2p
2020-02-19 14:39:36 +02:00
2020-05-18 08:49:31 -04:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-09-29 20:46:36 -04:00
2020-08-19 14:03:20 -07:00
2020-02-19 14:39:36 +02:00
2020-02-21 21:47:54 -05:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
2020-02-19 14:39:36 +02:00
tor
2020-05-24 08:59:55 -04:00
2020-02-19 14:39:36 +02:00