Commit graph

59 commits

Author SHA1 Message Date
Daniel
85db3d9776 Fix version selection test 2023-10-02 16:01:55 +02:00
Daniel
a9dffddd7e Improve documentation 2023-10-02 16:01:45 +02:00
Daniel
7f749464dc Improve method naming and update status data 2023-10-02 13:48:15 +02:00
Daniel
dba610683d Exclude files that cannot be downloaded from version selection 2023-10-02 13:47:43 +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
Vladimir Stoilov
7cdb71c461 Fix typos 2023-03-14 12:27:57 +01:00
Vladimir Stoilov
c9d77682f8 Fix report downloads deleting pending updates 2023-03-10 16:42:04 +01:00
Daniel
d6687ecbad Add and expose updater registry state 2023-03-09 12:05:59 +01:00
Daniel
0d3a0ebb95 Fix fs error handling 2022-10-11 12:27:30 +02:00
Patrick Pacher
2b4c15c1f7
Fix error handling in LoadIndexes 2022-10-11 11:51:17 +02:00
Daniel
b564e77168 Delete signature file when deleting resource 2022-10-10 16:24:29 +02:00
Daniel
412b4242c2 FIx linter errors 2022-09-29 10:55:01 +02:00
Daniel
5accaad794 Require download policy to be stricter 2022-09-28 14:41:27 +02:00
Daniel
109f51e834 Verify signatures of indexes when loading from disk 2022-09-28 14:41:11 +02:00
Daniel
cded2438f6 Download missing sigs 2022-09-28 14:40:48 +02:00
Daniel
44dc8df5d6 Save verification options to resource and save if versions have a sig available 2022-09-28 14:39:41 +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
Daniel
0e5eb4b6de Add support for signed updates 2022-09-23 14:57:42 +02:00
Daniel
aef3f523ce Improve updater.Resource.Export() documentation 2022-06-22 09:44:38 +02:00
Daniel
8421b8fba8 Add clean export function for updater.Resource 2022-06-21 16:57:37 +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
6650fb3b19 Update linter settings and fix warnings 2022-02-02 14:58:27 +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
7e1f6b7021 Implement review suggestions 2021-06-07 11:09:06 +02:00
Daniel
839b7d2e36 Remove uptool, use updatemgr in portbase repo instead 2021-06-03 23:25:30 +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
f6ec0514ff Use forked renameio package 2021-05-13 17:42:29 +02:00
Daniel
69330181db Fix test script and tests 2021-05-05 00:19:33 +02:00
Daniel
cd7ba1172d Fix log message 2021-04-19 13:47:24 +02:00
Daniel
9b307b3bea Warn instead of failing when updater index is empty 2021-04-16 21:41:56 +02:00
Daniel
bb660bc901 Use semver normalized version strings and add semver util functions 2021-03-10 14:02:35 +01:00
Daniel
61255dcbe0 Ignore unpacked resource folders when scanning 2020-11-26 14:49:28 +01:00
Daniel
823b05d239 Improve version purging 2020-11-24 16:11:19 +01:00
Daniel
eb17a5e6b8 Add option to reset the registry 2020-11-24 16:11:03 +01:00
Daniel
30e2f19b94 Confine indexes to their location 2020-11-24 16:10:51 +01:00
Daniel
08fda000bb Fix scanning files for resources 2020-11-24 16:10:26 +01:00
Daniel
889bc1c389 Add support for unpacking archives after download 2020-11-24 16:09:38 +01:00
Daniel
2ad0ead72b Fix shutdown of failing service workers 2020-08-11 18:14:22 +02:00
Daniel
26f54ffbb9 Add User-Agent to request made by the registry 2020-07-23 12:16:44 +02: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
Patrick Pacher
3936cf233e
Add support for packed resource files 2020-05-13 16:05:46 +02:00
Daniel
f20ede2f06 Fix error handling 2020-05-08 11:02:35 +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