Commit graph

7015 commits

Author SHA1 Message Date
Paul Gauthier
58120cb882 feat: add OSError handling for file reading operations 2024-08-31 07:58:19 -07:00
Paul Gauthier
ee925eac08 shell prompt, suggest 1-3 max 2024-08-31 07:51:29 -07:00
Paul Gauthier
1a5a618608 fix: handle GitCommandNotFound exception in make_new_repo function 2024-08-31 07:49:23 -07:00
Paul Gauthier (aider)
653f0c77ef fix: add missing cause argument to GitCommandNotFound exception 2024-08-31 07:47:19 -07:00
Paul Gauthier (aider)
6a2dd41275 style: format code with black 2024-08-31 07:46:37 -07:00
Paul Gauthier (aider)
81981e7e99 test: add test for graceful exit when git command not found 2024-08-31 07:46:33 -07:00
Paul Gauthier (aider)
7ab1cf5160 fix: Import gitdb module to resolve undefined name error 2024-08-31 07:44:11 -07:00
Paul Gauthier
9e196a3bdf fix: update exception handling for git repo initialization 2024-08-31 07:44:04 -07:00
Paul Gauthier
51bf7da8bd fix is_important .github/workflows for Windows 2024-08-31 07:41:46 -07:00
Paul Gauthier
b3d9d0098e cleanup 2024-08-31 07:37:32 -07:00
Paul Gauthier
3b9e000892 get_head* -> get_head_commit* 2024-08-31 07:35:55 -07:00
Paul Gauthier
d2acb9c3b0 use safe repo.get_head methods 2024-08-31 07:34:18 -07:00
Paul Gauthier
8678a6455f fixes #1264 2024-08-31 07:05:11 -07:00
Paul Gauthier
8f5b243c1b refactor: improve platform info and shell command suggestions 2024-08-30 18:28:45 -07:00
Paul Gauthier (aider)
511a2a26de style: Remove trailing whitespace in base_coder.py 2024-08-30 18:24:58 -07:00
Paul Gauthier (aider)
87593a2e37 refactor: improve formatting of lint commands in platform info 2024-08-30 18:24:52 -07:00
Paul Gauthier (aider)
ec9a6f9d66 style: Remove trailing whitespace in base_coder.py 2024-08-30 18:23:57 -07:00
Paul Gauthier (aider)
33793ca95d feat: add lint and test commands to platform info 2024-08-30 18:23:51 -07:00
Paul Gauthier
946e6759b0 feat: Add lint_cmds attribute to Coder class 2024-08-30 18:23:49 -07:00
Paul Gauthier (aider)
dd9f0494c1 refactor: extract platform info generation to separate method 2024-08-30 18:22:12 -07:00
Paul Gauthier (aider)
fbb5d34888 style: remove unused variable in exception handling 2024-08-30 18:20:00 -07:00
Paul Gauthier
ec18b190e9 refactor: comment out error logging for lexer failures 2024-08-30 18:19:54 -07:00
Paul Gauthier (aider)
cc1f5cd4c2 style: format long string in test_repomap.py 2024-08-30 18:19:24 -07:00
Paul Gauthier (aider)
de4bdae2de test: add TSX file support and corresponding test 2024-08-30 18:19:06 -07:00
Paul Gauthier
cf67a86280 fix: Update is_important function tests for README.md paths 2024-08-30 16:59:36 -07:00
Paul Gauthier (aider)
99ec8e5927 style: Format code with linter 2024-08-30 16:57:24 -07:00
Paul Gauthier (aider)
2af6b96daa test: add tests for is_important() and filter_important_files() 2024-08-30 16:57:21 -07:00
Paul Gauthier
ff0350f5ae test: add basic tests for special functionality 2024-08-30 16:57:19 -07:00
Paul Gauthier
01414c6dfa Merge branch 'main' into special-files 2024-08-30 15:08:00 -07:00
Paul Gauthier (aider)
0df97c3241 feat: handle KeyboardInterrupt with default exception handler 2024-08-30 15:07:48 -07:00
Paul Gauthier
b228ba3dc5 feat: add special file filtering to RepoMap ranking 2024-08-30 15:06:52 -07:00
Paul Gauthier
20e7e549f5 refactor: simplify important file detection logic 2024-08-30 14:54:01 -07:00
Paul Gauthier (aider)
f7ac81eb8a style: format code with black 2024-08-30 14:47:14 -07:00
Paul Gauthier (aider)
bcb88eb675 refactor: separate root-only and anywhere important files 2024-08-30 14:47:10 -07:00
Paul Gauthier (aider)
5532893ac9 fix: improve important file matching in is_important function 2024-08-30 14:45:02 -07:00
Paul Gauthier (aider)
648d46fdb3 style: Apply linter suggestions to aider/special.py 2024-08-30 14:43:45 -07:00
Paul Gauthier (aider)
3ff67d564c refactor: optimize important file checking and add variations 2024-08-30 14:43:42 -07:00
Paul Gauthier
92c378d459 refactor: Simplify important file checking and normalize paths 2024-08-30 14:43:39 -07:00
Paul Gauthier (aider)
5172281d7a refactor: improve portability of is_important function 2024-08-30 14:40:09 -07:00
Paul Gauthier (aider)
181375c89d style: format code in special.py for improved readability 2024-08-30 14:37:59 -07:00
Paul Gauthier (aider)
7801aa8cfd refactor: make is_important function portable for Windows compatibility 2024-08-30 14:37:56 -07:00
Paul Gauthier (aider)
d67872a326 feat: expand list of important files in special.py 2024-08-30 14:37:21 -07:00
Paul Gauthier (aider)
496525c6c2 refactor: move is_important function to top level 2024-08-30 14:35:38 -07:00
Paul Gauthier (aider)
3191e85857 style: Format IMPORTANT_FILES list for improved readability 2024-08-30 14:35:06 -07:00
Paul Gauthier (aider)
2cb13b5ebb refactor: update filter_important_files to use global IMPORTANT_FILES list 2024-08-30 14:35:02 -07:00
Paul Gauthier (aider)
e629971138 refactor: update important files list and make it global 2024-08-30 14:34:47 -07:00
Paul Gauthier (aider)
f9afa1c9f8 style: format important_files list for improved readability 2024-08-30 14:29:21 -07:00
Paul Gauthier (aider)
c758d2b9c4 refactor: reorganize important_files list into logical groupings 2024-08-30 14:29:18 -07:00
Paul Gauthier (aider)
e6b3f64823 style: format important_files list for improved readability 2024-08-30 14:27:51 -07:00
Paul Gauthier (aider)
d875e9fff4 feat: expand list of important files and improve detection 2024-08-30 14:27:47 -07:00