Commit Graph

  • d0ac4cf637 fix: reorder variable declarations to fix scope issue with meta_plugin_types Andrew Phillips 2025-07-29 11:05:25 -03:00
  • 02ef256d7b build: add inventory dependency for plugin registration Andrew Phillips 2025-07-29 11:03:56 -03:00
  • 1a70bfee79 refactor: remove digest engine modules and related code Andrew Phillips 2025-07-29 10:16:31 -03:00
  • e51a902660 refactor: integrate digest functionality into meta plugins and remove digest_engine module Andrew Phillips 2025-07-28 17:31:23 -03:00
  • 4c8c6569a9 feat: add function to store item meta values Andrew Phillips 2025-07-28 17:31:12 -03:00
  • a549fd6271 feat: implement rule to always keep project rules first in DESIGN.md Andrew Phillips 2025-07-28 17:18:17 -03:00
  • 0f555f3316 docs: add project rules and module documentation to DESIGN.md Andrew Phillips 2025-07-28 17:17:33 -03:00
  • 4c83dd0e5b docs: add DESIGN.md documentation file Andrew Phillips 2025-07-28 17:17:32 -03:00
  • d666cfce00 refactor: reimplement digest engines as meta plugins Andrew Phillips 2025-07-28 17:12:13 -03:00
  • 0bf898c0e7 fix: correctly track and log item size during IO loop Andrew Phillips 2025-07-28 17:12:10 -03:00
  • 00572135ec fix: use MetaPluginProgram::new constructor for private fields Andrew Phillips 2025-07-28 16:58:18 -03:00
  • adf18ac871 fix: buffer data in meta plugin for finalize command Andrew Phillips 2025-07-28 16:57:35 -03:00
  • 1023724681 fix: implement proper finalize method to capture command output Andrew Phillips 2025-07-28 16:55:45 -03:00
  • 888f24640e chore: remove unused import and fix mutable borrow issue Andrew Phillips (aider) 2025-05-22 16:44:07 -03:00
  • 7e9b22ceb6 fix: add missing imports in save.rs Andrew Phillips (aider) 2025-05-22 16:41:39 -03:00
  • cbd7ec8fe0 fix: use iter_mut() for mutable meta_plugins Andrew Phillips (aider) 2025-05-22 16:39:27 -03:00
  • 6f5c3c3dd4 feat: add meta plugin support to save mode Andrew Phillips 2025-05-22 16:39:23 -03:00
  • 7a8814e926 feat: implement meta plugin initialization in save mode Andrew Phillips (aider) 2025-05-22 16:27:11 -03:00
  • 6935ea2dea refactor: extract digest and compression engine initialization Andrew Phillips 2025-05-22 16:27:09 -03:00
  • fee358c406 refactor: update debug logging for digest and compression types Andrew Phillips 2025-05-22 16:20:02 -03:00
  • cff08905a8 fix: replace unwrap_or_else with unwrap_or_default for Vec<String> Andrew Phillips (aider) 2025-05-22 15:56:53 -03:00
  • 335c0e8a6f fix: replace unwrap_or_default with unwrap_or_else for Vec<String> Andrew Phillips (aider) 2025-05-22 15:52:28 -03:00
  • af84c332ea fix: correct import statements and method usage Andrew Phillips (aider) 2025-05-22 15:49:34 -03:00
  • f0ef529da5 feat: add meta plugin types support Andrew Phillips 2025-05-22 15:49:32 -03:00
  • 4ef75a6917 chore: implement meta plugin type parsing in cmd_args_meta_plugin_types Andrew Phillips (aider) 2025-05-22 15:44:58 -03:00
  • d4d17b93e1 feat: add meta plugin type argument parsing Andrew Phillips 2025-05-22 15:44:56 -03:00
  • 970d69af70 chore: remove unused imports Andrew Phillips (aider) 2025-05-22 14:02:24 -03:00
  • a68d75351f refactor: remove magic function and related code Andrew Phillips (aider) 2025-05-22 13:57:00 -03:00
  • f2d210c4d1 fix: add missing is_default field to MetaPluginProgram Andrew Phillips (aider) 2025-05-22 13:46:42 -03:00
  • a0fb0dec8a feat: add is_default method to MetaPlugin and MetaPluginProgram Andrew Phillips (aider) 2025-05-22 13:42:41 -03:00
  • e2cb180a22 fix: add missing meta_name argument to MetaPluginProgram::new Andrew Phillips (aider) 2025-05-22 13:32:52 -03:00
  • 232807d2cc feat: add meta_name method to MetaPlugin trait Andrew Phillips 2025-05-22 13:32:49 -03:00
  • 815a818b39 feat: add meta_name column to meta plugin table Andrew Phillips (aider) 2025-05-22 13:28:59 -03:00
  • 7a1f1699ff feat: add meta_name support to MetaPluginProgram Andrew Phillips (aider) 2025-05-22 13:26:23 -03:00
  • 25e41c46a9 refactor: remove unused MetaPluginType::None and related code Andrew Phillips 2025-05-22 13:21:10 -03:00
  • 08001aa2d0 chore: add meta_plugin module import Andrew Phillips (aider) 2025-05-22 13:10:00 -03:00
  • 923ed65d42 feat: add meta plugins table to status mode Andrew Phillips (aider) 2025-05-22 13:04:46 -03:00
  • be82248129 refactor: rename MetaPluginType::File to FileMagic Andrew Phillips (aider) 2025-05-22 13:02:28 -03:00
  • 8686537e0b feat: add meta_plugins to ItemArgs Andrew Phillips (aider) 2025-05-22 12:51:39 -03:00
  • 3d94965c2e chore: remove unused common module Andrew Phillips 2025-05-22 10:02:41 -03:00
  • 9f2171ea45 fix: make stdin field in ProgramWriter public Andrew Phillips (aider) 2025-05-22 10:00:20 -03:00
  • d6a25e8b77 refactor: rename common.rs to plugins.rs and update imports Andrew Phillips (aider) 2025-05-22 09:57:19 -03:00
  • e1a5dbf0f1 refactor: move ProgramWriter to common.rs Andrew Phillips (aider) 2025-05-22 09:48:19 -03:00
  • beef2e773e feat: add meta plugin with file and none implementations Andrew Phillips (aider) 2025-05-22 09:38:43 -03:00
  • 1fd5ec1988 feat: add meta plugin program Andrew Phillips 2025-05-22 09:38:41 -03:00
  • 91cceff3e8 refactor: remove digest type and value handling Andrew Phillips 2025-05-22 09:06:51 -03:00
  • a8c363333c refactor: remove digest fields from db and item struct Andrew Phillips 2025-05-21 20:24:17 -03:00
  • 894a893536 docs: add comments to src/main.rs Andrew Phillips (aider) 2025-05-21 20:19:09 -03:00
  • 9af7af4687 docs: add README.org for Keep command-line utility Andrew Phillips (aider) 2025-05-16 14:32:24 -03:00
  • 5a6a8ee97b refactor: improve code formatting and readability in SQL and function calls Andrew Phillips 2025-05-14 22:50:35 -03:00
  • dd8f828ed3 refactor: update function parameters to use references where appropriate Andrew Phillips 2025-05-14 22:09:23 -03:00
  • d1edd20845 feat: extract digest and compression type handling into common command functions Andrew Phillips 2025-05-14 21:54:45 -03:00
  • 947ed55fb7 refactor: use params! macro for SQL query parameters Andrew Phillips (aider) 2025-05-14 21:22:28 -03:00
  • 4d2ff50992 refactor: use params! macro for consistent and safer query parameter passing Andrew Phillips 2025-05-14 21:20:09 -03:00
  • 2694000c9b feat: add get_item_meta_name function to retrieve specific meta by name Andrew Phillips (aider) 2025-05-14 17:32:55 -03:00
  • 075c571e53 fix: change return type to anyhow::Error to support ? operator Andrew Phillips (aider) 2025-05-14 17:22:22 -03:00
  • 0774e36184 fix: add missing imports and fix return type in store_item_digest_value Andrew Phillips (aider) 2025-05-14 17:20:28 -03:00
  • 4ac2943683 refactor: update store_item_digest_value calls to use new argument types Andrew Phillips (aider) 2025-05-14 17:18:11 -03:00
  • 3c4938857f feat: update store_item_digest_value to take owned Item and String Andrew Phillips (aider) 2025-05-14 17:16:31 -03:00
  • f049406858 feat: Update store_item_digest_value to use DigestType enum for digest type parameter Andrew Phillips (aider) 2025-05-14 17:14:19 -03:00
  • 72a8337f4e refactor: use store_item_digest_value in mode_update and mode_save Andrew Phillips (aider) 2025-05-14 17:12:18 -03:00
  • 75ac080591 feat: add store_item_digest_value function to common.rs Andrew Phillips (aider) 2025-05-14 17:09:18 -03:00
  • 5790aa6993 refactor: rename variable to clarify digest metadata purpose Andrew Phillips 2025-05-14 17:04:11 -03:00
  • ac4660684d fix: clone moved values to resolve ownership issues Andrew Phillips (aider) 2025-05-14 16:32:04 -03:00
  • 477a03fbb7 feat: store digest in meta entry with get_digest_type_meta as name Andrew Phillips (aider) 2025-05-14 16:29:27 -03:00
  • 7353fbd9b4 feat: add get_digest_type_meta function to format digest type as lowercase string Andrew Phillips (aider) 2025-05-14 16:15:08 -03:00
  • bbdfe19836 feat: add compression and digest support with database schema updates Andrew Phillips 2025-05-14 09:45:51 -03:00
  • 9b61a37036 refactor: Rename env variable to keep_cmd in tests Andrew Phillips (aider) 2025-05-14 09:45:04 -03:00
  • f089c8002d refactor: rename env variable to keep_cmd for clarity Andrew Phillips 2025-05-14 09:44:51 -03:00
  • 412f5d74d0 test: add command and status to assertion messages Andrew Phillips 2025-05-14 09:34:52 -03:00
  • 7af9147abd build: update Rust edition to 2024 and add package metadata Andrew Phillips 2025-05-14 09:20:59 -03:00
  • dc76b6af52 refactor: use compression_engine.open for file handling in update mode Andrew Phillips (aider) 2025-05-13 19:02:51 -03:00
  • 51acd0933f fix: Implement digest calculation loop and update item in DB Andrew Phillips (aider) 2025-05-13 19:01:52 -03:00
  • 932b32edef refactor: move compression engine init and reorganize digest recalculation logic Andrew Phillips 2025-05-13 19:01:44 -03:00
  • ce44134ab7 refactor: replace if let with match for digest type handling Andrew Phillips (aider) 2025-05-13 18:45:13 -03:00
  • 6d2640650c fix: remove unused imports and fix as_ref usage Andrew Phillips (aider) 2025-05-13 18:44:03 -03:00
  • 98d10e787c style: fix indentation in mode_update digest calculation Andrew Phillips (aider) 2025-05-13 18:43:17 -03:00
  • f419392c8f fix: close unclosed delimiter in update.rs Andrew Phillips (aider) 2025-05-13 18:42:36 -03:00
  • 10c3e2d5c8 fix: add ResultExt to anyhow imports Andrew Phillips (aider) 2025-05-13 18:41:53 -03:00
  • d58dea9c3f fix: add bail to anyhow import in update.rs Andrew Phillips (aider) 2025-05-13 18:41:30 -03:00
  • 64c4dce492 fix: add Context to anyhow import Andrew Phillips (aider) 2025-05-13 18:41:08 -03:00
  • 6d724c73b9 fix: Handle optional digest_type when checking for digest recalculation Andrew Phillips (aider) 2025-05-13 18:40:39 -03:00
  • e7496b8978 fix: Fix COMPRESSION typo, correct DIGEST log tag, and refactor mode_update cloning Andrew Phillips 2025-05-13 18:36:23 -03:00
  • eaeb83f12e fix: add rusqlite Connection import and fix item_path scope Andrew Phillips (aider) 2025-05-13 18:31:46 -03:00
  • d8e0cb9758 fix: add DigestType and get_digest_engine imports, fix item_path scope Andrew Phillips (aider) 2025-05-13 18:30:31 -03:00
  • 9a99bbd8bc feat: Recalculate digest if digest_type is set but digest_value is missing Andrew Phillips (aider) 2025-05-13 18:26:42 -03:00
  • 62aeb05e76 refactor: improve option handling and variable naming in show_item Andrew Phillips 2025-05-13 18:18:29 -03:00
  • c167f28d17 fix: resolve compilation errors in info.rs by adding imports and fixing type handling Andrew Phillips (aider) 2025-05-13 18:10:37 -03:00
  • 975acf2dc3 refactor: extract item display logic into show_item function Andrew Phillips (aider) 2025-05-13 18:08:19 -03:00
  • 9046d0b558 refactor: replace if let with match in mode_info handling Andrew Phillips (aider) 2025-05-13 18:04:58 -03:00
  • 5727c831dc fix: resolve type mismatches by cloning Options and handling Result correctly in info.rs Andrew Phillips (aider) 2025-05-13 18:02:41 -03:00
  • 36a0eb56c1 fix: resolve type mismatches in info mode handling Andrew Phillips (aider) 2025-05-13 17:58:20 -03:00
  • 485b36ce02 feat: add digest type and value to info output Andrew Phillips (aider) 2025-05-13 17:55:48 -03:00
  • cf279c42f1 style: add trailing commas in ColumnType match arms Andrew Phillips 2025-05-13 17:50:41 -03:00
  • 1aaf1e6221 feat: make digest_value optional and add digest display Andrew Phillips 2025-05-13 17:49:19 -03:00
  • 1d9ca1b9dd fix: clone digest_type to avoid move error Andrew Phillips (aider) 2025-05-13 17:25:38 -03:00
  • 2e6bc0cc77 fix: add missing digest_type and digest_value to db::Item Andrew Phillips (aider) 2025-05-13 17:22:08 -03:00
  • 3e79b653b5 feat: add support for Item.digest_type and digest_value in database operations Andrew Phillips (aider) 2025-05-13 17:18:09 -03:00
  • 6a2476825b feat: add digest fields and update compression default in items table Andrew Phillips 2025-05-13 17:17:59 -03:00
  • 0a33dcd90d fix: use md5sum instead of bzip2 for MD5 digest Andrew Phillips (aider) 2025-05-13 17:02:48 -03:00