m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-17 09:33:38 -05:00
Commit Graph

60 Commits

Author SHA1 Message Date
Sergio
4f1075b2b2 Add error message to API response 2024-12-20 17:00:41 +02:00
Sergio
eadda5f776 Add servers option (no-op at the moment) 2024-12-07 17:18:36 +02:00
Sergio
622b156eed Add agent mode, fix config version bug 2024-12-07 17:08:34 +02:00
Sergio
dca19b5ae2 Whoops wrong server versioning 2024-12-07 17:02:21 +02:00
Sergio
f6ac43aac0 Change API versioning to match Cup version 2024-12-07 16:30:07 +02:00
Sergio
e5e60c4abc Add requirement for version key to new config 2024-12-07 16:28:06 +02:00
Sergio
33a72c8c0d Change config, add schema 2024-12-07 16:21:01 +02:00
Sergio
e544ef6ca5 Slightly optimize version regex 2024-12-06 17:47:31 +02:00
Sergio
ce08e00bb4 Replace reference regex with homemade logic. Can we go faster? 2024-12-05 21:07:13 +02:00
Sergio
6a77b85141 Remove used async keyword from 2 functions in Image 2024-12-05 20:23:07 +02:00
Sergio
215e88ae0f Switch to serde for config parsing 2024-12-05 20:22:26 +02:00
Sergio
178acfb2f6 Add debug option to CLI 2024-12-05 18:13:53 +02:00
Sergio
59894343de Add error message when user doesn't specify command 2024-12-04 20:00:42 +02:00
Sergio
61bc60493f This is the last time I promise 2024-12-04 19:52:51 +02:00
Sergio
be7d55d126 Remove some more clone usage 2024-12-04 19:45:12 +02:00
Sergio
36a3a13c04 Remove some clone usage 2024-12-04 19:44:04 +02:00
Sergio
d85fadfb39 Test split 2024-11-21 19:26:17 +02:00
Sergio
0f95be26dc Remove usage of panic 2024-11-17 19:54:07 +02:00
Sergio
0b7e064980 Update sort_update_vec function, fix lints and enable testing in CI 2024-11-16 14:58:16 +02:00
Sergio
9e9bb78db7 Fix broken tests 2024-11-16 13:14:52 +02:00
Sergio
88d346b480 Support checking for version updates for images that aren't available locally 2024-11-16 13:05:46 +02:00
Sergio
4519c534a1 Move usage of get_images_from_docker_daemon to get_updates 2024-11-16 12:38:00 +02:00
Sergio
6b83f51749 Improve a little code section in registry.rs 2024-11-16 12:25:10 +02:00
Sergio
0c3f293fa8 Clippy 2024-11-15 13:31:42 +02:00
Sergio
d94abecf35 Nearly complete versioning support. Fixed old bugs where not all tags were fetched. 2024-11-15 13:21:30 +02:00
Sergio
c11b5e6432 OMG WE CAN DO SEMVER FOR THE CLI AND THE RESULTS LOOK CORRECT 2024-11-01 21:39:15 +02:00
Sergio
3ed79e69bd Add semver regex and function to match tags (preparing to implement semver checking) 2024-10-27 18:09:26 +02:00
Sergio
bcfb9ef27a Update frontend 2024-10-25 16:26:28 +03:00
Sergio
5c4de36052 Add Content-Type header to API responses 2024-10-25 12:17:52 +03:00
Sergio
eda30229e2 Clippy 2024-10-25 12:13:25 +03:00
Sergio
8fd012efbe Added new full json API route and changed API routes 2024-10-25 12:12:59 +03:00
Sergio
8ab073d562 Changed how updates are managed after checking (preparing for the new API) 2024-10-25 11:32:59 +03:00
Sergio
88885aa1dd Refactor (#32) 2024-10-11 21:22:39 +03:00
Sergio
65b2bece03 fix issue #30 with raw returning invalid json 2024-09-24 17:19:59 +03:00
Sergio
5bf7269aca Better logging on server
Some checks are pending
CI / build-binary (push) Waiting to run
CI / build-image (push) Waiting to run
2024-09-16 17:42:02 +03:00
Sergio
bc86364e68 Fixed OpenSSL build errors on Alpine and changed the logging a bit 2024-09-15 20:21:13 +03:00
Sergio
330b70752e Improve logging 2024-09-15 19:14:20 +03:00
Sergio
0c9ad61a4d Removed all threading and switched everything to async. >2x speedup 🚀 2024-09-15 18:47:00 +03:00
Sergio
b5ebb33627 Optimize workflows (#25)
feat: optimize workflows

---------

Co-authored-by: Stavros <steveiliop56@gmail.com>
2024-09-06 21:46:43 +03:00
Sergio
d67ffbf387 Add liquid again for static rendering, fix #21 and make some small frontend changes 2024-09-06 21:13:38 +03:00
Sergio
1ba67c8af0 Rustfmt 2024-09-01 19:57:15 +03:00
Sergio
2f195f611c Changed frontend from Liquid to React, fixed bug where server would check for updates twice 2024-09-01 19:52:20 +03:00
Sergio
e7673c04db Move icons in statistics to bottom right
Some checks failed
Deploy github pages / build (push) Has been cancelled
Nightly Release / build-binary (map[bin:cup command:build name:cup-linux-aarch64 os:ubuntu-latest release_for:linux-aarch64 target:aarch64-unknown-linux-musl]) (push) Has been cancelled
Nightly Release / build-binary (map[bin:cup command:build name:cup-linux-x86_64 os:ubuntu-latest release_for:linux-x86_64 target:x86_64-unknown-linux-musl]) (push) Has been cancelled
Nightly Release / build-image (push) Has been cancelled
Deploy github pages / deploy (push) Has been cancelled
2024-08-31 22:07:38 +03:00
Sergio
7292ed3d1b Forgot to handle another potential error 2024-08-31 21:44:31 +03:00
Sergio
def2efa0d1 Add better error handling
(mostly because I have bad internet)
2024-08-31 21:24:56 +03:00
Sergio
2549ed7801 Add support for private registries/images 2024-08-31 18:43:30 +03:00
Sergio
8d2740dc7d Set correct headers when requesting a manifest to prevent getting a v1 manifest 2024-08-30 19:17:43 +03:00
Sergio
1cf4cf2394 Switch back to json 2024-07-17 15:28:32 +03:00
Sergio
0fac554fae Added metrics to JSON, switched from json to serde_json, extracted all JSON related functionality into a function in utils.rs
Some checks are pending
Nightly Release / build-binary (map[bin:cup command:build name:cup-linux-aarch64 os:ubuntu-latest release_for:linux-aarch64 target:aarch64-unknown-linux-musl]) (push) Waiting to run
Nightly Release / build-binary (map[bin:cup command:build name:cup-linux-x86_64 os:ubuntu-latest release_for:linux-x86_64 target:x86_64-unknown-linux-musl]) (push) Waiting to run
Nightly Release / build-image (push) Waiting to run
2024-07-16 19:40:34 +03:00
Sergio
f09f8762c2 Switch stats to 2 columns on smaller screens (see #5)
Some checks failed
Nightly Release / build-binary (map[bin:cup command:build name:cup-linux-aarch64 os:ubuntu-latest release_for:linux-aarch64 target:aarch64-unknown-linux-musl]) (push) Has been cancelled
Nightly Release / build-binary (map[bin:cup command:build name:cup-linux-x86_64 os:ubuntu-latest release_for:linux-x86_64 target:x86_64-unknown-linux-musl]) (push) Has been cancelled
Nightly Release / build-image (push) Has been cancelled
2024-07-15 14:25:12 +03:00