Commit graph

23 commits

Author SHA1 Message Date
Daniel
7f749464dc Improve method naming and update status data 2023-10-02 13:48:15 +02:00
Daniel
3f7fd83fbc Fix slices package usage 2023-08-04 22:03:09 +02:00
Daniel
6a7dea876b Improve updater logging 2023-04-06 14:34:27 +02:00
Daniel
d6687ecbad Add and expose updater registry state 2023-03-09 12:05:59 +01:00
Daniel
412b4242c2 FIx linter errors 2022-09-29 10:55:01 +02:00
Daniel
cded2438f6 Download missing sigs 2022-09-28 14:40:48 +02:00
Daniel
beaa7482d0 Add support for signed indexes 2022-09-23 14:57:42 +02:00
Daniel
f6fc67ad46 Add support for new index format 2022-09-23 14:57:42 +02:00
Patrick Pacher
7f87e417d8
Enable parallel downloads of updates and fix EOF when unpacking archives 2022-03-02 12:03:46 +01:00
Daniel
f59ad0357a Fix tests and linter warnings 2022-02-01 13:12:46 +01:00
Daniel
08da6e1d7c Improve logging of updated update indexes 2021-11-09 10:11:58 +01:00
Daniel
e02f084c8a Improve empty index support 2021-06-07 16:36:47 +02:00
Daniel
c3f98cd600 Move from Stable/Beta to a more generic Stable/PreRelease model 2021-06-03 23:25:07 +02:00
Daniel
8889e70c8b Improve index updating error handling 2021-06-02 10:54:30 +02:00
Daniel
30e2f19b94 Confine indexes to their location 2020-11-24 16:10:51 +01:00
Daniel
02bb6d1d9b Use context for network connections in updater 2020-07-21 15:04:05 +02:00
Daniel
38902d8c82 Check path to index file when saving 2020-06-26 22:44:32 +02:00
Daniel
441f9c45ac Improve logging 2020-05-08 10:57:14 +02:00
Daniel
74fc1dc888 Do not remove tmp dir anymore, as it's used by others too 2020-05-08 10:57:06 +02:00
Patrick Pacher
8e07560396
Fix update not marked as available, add comments and notification helper 2020-05-04 14:52:57 +02:00
Patrick Pacher
9d7fd1235d
Add support for custom index files.
This commit changes the updater package to support custom
index files by callling registry.AddIndex(). Note that the
previously hard-coded index files stable.json and beta.json
have been removed and must be added by using AddIndex() prior
to calling LoadIndexes().
2020-05-04 10:32:50 +02:00
Daniel
97f001d7d7 Update linter settings and fix some linter hints 2019-10-07 16:45:03 +02:00
Daniel
f1aacc5d45 Move portmaster/updates to portbase/updater, transform to lib 2019-10-07 16:13:35 +02:00