Commit Graph

59 Commits

Author SHA1 Message Date
ewpt3ch 9e073f9a5c updated README and TODO 2026-05-29 10:05:54 -06:00
ewpt3ch 0aa5fbb6c5 change match method for cached pkgs 2026-05-29 09:42:26 -06:00
ewpt3ch 9aa79753ff fix log messages 2026-05-29 08:51:51 -06:00
ewpt3ch 9e71c4e828 reformat debug print statements 2026-05-29 04:10:27 -06:00
ewpt3ch fb01c49045 fixed test mock to fit new interface 2026-05-29 04:07:19 -06:00
ewpt3ch 71d83df5f7 added clean function to cacheClient and sync() 2026-05-29 04:02:02 -06:00
ewpt3ch 34f49cf6ca fixed lint errors 2026-05-29 03:50:05 -06:00
ewpt3ch cca084d696 cache clean implemented 2026-05-29 03:47:10 -06:00
ewpt3ch 248c1370d7 cache clean implemented 2026-05-29 03:46:47 -06:00
ewpt3ch a9de607743 log sync in progress 2026-05-26 09:28:37 -06:00
ewpt3ch f13f8bd8b8 added mutex to sync 2026-05-26 09:23:43 -06:00
ewpt3ch 8e54235cfe removed mutex for refresh from cache 2026-05-26 09:16:10 -06:00
ewpt3ch 08d6833c1f fixed unhandled errors 2026-05-26 09:12:55 -06:00
ewpt3ch 76ca7567e5 db update requires own download logic for prefetch, previous logic caused check for updates to use old database and all databases were being updated before all repos were checked for cached pkgs 2026-05-26 00:39:18 -06:00
ewpt3ch ca5addd913 added log and print statements for debugging 2026-05-25 23:37:36 -06:00
ewpt3ch 7ee5736704 testing correct sync bahavior 2026-05-24 04:16:15 -06:00
ewpt3ch b02747493a fix linting errors 2026-05-24 02:39:49 -06:00
ewpt3ch 5ca42e11cd prefetch complete 2026-05-24 02:29:49 -06:00
ewpt3ch 49b9307853 moved build_map to db file as it contains matching functions and db logic 2026-05-24 02:29:47 -06:00
ewpt3ch 959e21f1fa build map tests passing 2026-05-24 02:29:45 -06:00
ewpt3ch f8c77e7fdd added test db for repomaint 2026-05-24 02:29:43 -06:00
ewpt3ch d03908eb8e create_map test ready 2026-05-24 02:29:40 -06:00
ewpt3ch 80fa7f8392 refactor for using repomaint 2026-05-24 02:29:33 -06:00
ewpt3ch dac692f19a fixed lint errors 2026-05-20 13:45:48 -06:00
ewpt3ch c8094058b9 streaming finished 2026-05-20 13:27:48 -06:00
ewpt3ch 0461eb1a10 2 more tailer tests 2026-05-20 13:27:45 -06:00
ewpt3ch d731b42ad6 refactor cache tests to use testify 2026-05-20 13:27:43 -06:00
ewpt3ch 9b0610b879 tailer struct was incorrect and used incorrect channel 2026-05-20 13:27:42 -06:00
ewpt3ch 66c6ed7793 streaming with custom reader and multiple client functionality 2026-05-20 13:27:39 -06:00
ewpt3ch ff596276cb refactored for streaming 2026-05-20 13:27:30 -06:00
ewpt3ch f25d36a17e new test for streaming and struct changes and additions 2026-05-20 13:27:26 -06:00
ewpt3ch 2d42e8c403 fixed links being incorrect 2026-05-08 11:54:41 -06:00
ewpt3ch 5aca006249 create db links if not exist for all configured repos 2026-05-08 11:46:25 -06:00
ewpt3ch 346718b65f Merge branch 'deploy' 2026-05-07 10:20:58 -06:00
ewpt3ch 0a41b9186f graceful shutdown 2026-05-07 10:20:45 -06:00
ewpt3ch 0eedf23667 handle errors in defer close 2026-05-07 08:56:38 -06:00
ewpt3ch c565a2d97a ignore err checks in test 2026-05-07 08:35:05 -06:00
ewpt3ch 2ae5ee8285 use os.*Root instead of os to prevent filesystem traversal bugs and security leaks 2026-05-06 22:22:41 -06:00
ewpt3ch 3505f0e059 switch to uint64 cause native word length 2026-05-06 20:08:04 -06:00
ewpt3ch 8a2e6756cc fixed errors identified by gosec 2026-05-06 19:18:38 -06:00
ewpt3ch b4486ada26 create dirs if they do not exist 2026-05-05 15:02:07 -06:00
ewpt3ch 275ae89423 changed info to debug 2026-05-04 18:12:45 -06:00
ewpt3ch 071eef95fb replaced log with slog in internal/cache 2026-05-04 18:04:03 -06:00
ewpt3ch 2edab08448 added potential log levels to #log comments 2026-05-03 21:08:03 -06:00
ewpt3ch 46c2b9a2ff added #log at all points wherer log pkg is used 2026-05-03 09:51:20 -06:00
ewpt3ch 58b5ab55ba refactor all file serve logic into internal/cache 2026-05-01 23:44:37 -06:00
ewpt3ch ff2ffb1590 use pacman ua for fetches prevent 403 responses 2026-04-30 09:51:32 -06:00
ewpt3ch 7faa885b5d added retry feature on failed fetches from mirror 2026-04-29 23:46:02 -06:00
ewpt3ch 104d10e78e added documentation 2026-04-29 17:40:39 -06:00
ewpt3ch b52df05565 added config struct for cache so we can change timeouts in testing 2026-04-21 09:51:09 -06:00