Commit Graph

142 Commits

Author SHA1 Message Date
ewpt3ch f368d0c5c8 feat: sync cached packages on refresh, prefetch updates, evict by age and size
ci / Tests (push) Has been cancelled
ci / Style (push) Has been cancelled
2026-05-29 10:26:35 -06:00
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 e22124dcf1 ignore G104 unhandled errors in gosec, covered by golangci-lint:errcheck 2026-05-26 09:12:43 -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 d71a8eb946 config golangci to exclude errcheck on test files 2026-05-24 02:24:14 -06:00
ewpt3ch 7f6a86fa86 update 2026-05-20 22:18:32 -06:00
ewpt3ch 6dbc475e94 update
ci / Tests (push) Has been cancelled
ci / Style (push) Has been cancelled
2026-05-20 15:14:49 -06:00
ewpt3ch effd55f03c chore: bump PKGBUILD version 2026-05-20 14:15:09 -06:00
ewpt3ch ea2b4697f5 fix: toml.example contained wrong defaults 2026-05-20 14:11:02 -06:00
ewpt3ch 0afbd35920 chore: bump PKGBUILD to v0.2.0
ci / Tests (push) Has been cancelled
ci / Style (push) Has been cancelled
2026-05-20 13:54:53 -06:00
ewpt3ch dac692f19a fixed lint errors 2026-05-20 13:45:48 -06:00
ewpt3ch 5fe9d1275e updated todo 2026-05-20 13:38:43 -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 98a61e0137 changed default timeout 2026-05-20 13:27:23 -06:00
ewpt3ch b79f77ea42 fix: used int when needed octal for permission check 2026-05-20 13:27:08 -06:00
ewpt3ch 41fdffb95c updated todo 2026-05-13 15:36:26 -06:00
ewpt3ch 6979d90c7f added bottdev requirements 2026-05-08 22:14:31 -06:00
ewpt3ch b6b677caea updated README
ci / Tests (push) Has been cancelled
ci / Style (push) Has been cancelled
2026-05-08 20:33:34 -06:00
ewpt3ch 25ecbd5404 actually fixes issue 2 2026-05-08 19:22:43 -06:00
ewpt3ch afb6191a86 .install lives with pkgbuild 2026-05-08 19:15:52 -06:00
ewpt3ch cd7edf48fd .install lives with pkgbuild 2026-05-08 19:12:36 -06:00
ewpt3ch 2b76b0216a added install script, fixes issue 2 2026-05-08 19:09:00 -06:00
ewpt3ch 7a3d7af3f6 added install script, fixes https://github.com/ewpt3ch/pkgstash/issues/2#issue-4409118905 2026-05-08 17:19:51 -06:00