25 Commits

Author SHA1 Message Date
Muhammed Efe Cetin
4c04e98b62 fix property names 2025-12-21 18:13:38 +01:00
Muhammed Efe Cetin
fe5b11d0e4 fix edge-case for new json format 2025-12-20 19:56:31 +01:00
Muhammed Efe Cetin
902370f725 support refactored json format 2025-12-20 16:27:34 +01:00
Muhammed Efe Cetin
1c0d163b4a map: make special extensions configurable, remove legacy csv 2025-04-03 17:45:59 +03:00
Igor
d9a7a5f190 Adjust map.go to support QCOW2 images without .xz 2025-03-28 18:20:17 +03:00
Muhammed Efe Cetin
2193f83007 add support for uboot bin extensions 2025-01-17 20:14:03 +01:00
Igor
d8dc04c468 Remove not needed import
It causes error / not building binary
2025-01-11 15:25:53 +01:00
Muhammed Efe Cetin
1c66551421 add short form of qcow2 images 2025-01-11 14:56:55 +01:00
Igor
c897ff33c9 Keep server for normal CLI images 2024-08-12 08:51:29 +02:00
Igor
e3796d4ff9 oowow doesn't need to be in the url 2024-08-11 18:36:53 +02:00
Muhammed Efe Cetin
362c9399c7 add nightly/ prefix for OS images 2024-08-11 18:36:31 +02:00
Igor
a5a9b1d409 Add new / forgotten exceptions 2024-08-06 15:40:22 +02:00
Muhammed Efe Cetin
96aedbae7f add support for some special cases 2024-01-31 23:55:07 +01:00
Tyler
c8c81b3e34 [bugfix] Check for img.xz suffix, not extension
- Fixes khadas-vim4 and other images with a prefix before img.xz
2024-01-30 12:20:54 +01:00
Tyler
aae93755cd [bugfix] Fix JSON mapping using full urls
- Fixes JSON mapping to use only paths, preserving redirector functionality
2024-01-30 12:20:54 +01:00
M. Efe Çetin
44538f8212 Fix json (#6)
* fix json handling
* fix linter
2024-01-28 21:32:40 +01:00
Muhammed Efe Cetin
f509ed3f77 fix json handling 2024-01-28 20:59:37 +01:00
Tyler
85fc249b91 [bugfix] Correct format of JSON
- Corrects format of JSON by adding assets parent
- Fixes FileURL variable to map to the proper field
- Adds basic unit test for JSON loading
2024-01-25 21:34:37 -05:00
Tyler
7605e01312 [feature] Add JSON map support
- Adds JSON map file support
2024-01-22 21:28:13 -05:00
Tyler
e7236b13de Massive refactoring, struct cleanup, supporting more features
Features:
- Protocol lists (http, https), managed by http responses
- Working TLS Checks
- Root certificate parsing for TLS checks
- Moving configuration into a Config struct, no more direct viper access
2022-08-15 02:16:22 -04:00
Tyler
3f71aced93 Improve test coverage and documentation 2022-08-14 03:42:49 -04:00
Tyler
2f43f2d934 Strip leading slashes from requests to download map 2022-04-02 01:21:42 -04:00
Tyler
aa8a187bda Mimic existing mirrors endpoint, add geoip 2022-03-31 22:04:19 -04:00
Tyler
e4a14fb9fd Make adding servers async, checks after starting http service to avoid delays, add prom metrics 2022-01-11 01:05:20 -05:00
Tyler
9ecda3832f More cleanup and patches (specifically for servers), add support for download url mapping 2022-01-10 00:11:15 -05:00