Commit graph

7140 commits

Author SHA1 Message Date
Paul Gauthier
59a9409caa refactor: improve verbose output in run_cmd functions 2024-08-31 12:06:09 -07:00
Paul Gauthier (aider)
fa1a5a5145 feat: pass verbose flag to run_cmd function 2024-08-31 12:03:47 -07:00
Paul Gauthier (aider)
95f66431bc feat: add verbose argument to run_cmd function 2024-08-31 12:01:30 -07:00
Paul Gauthier (aider)
ef38960b0c style: format long function calls and parameters 2024-08-31 12:00:48 -07:00
Paul Gauthier (aider)
b6dc6e105f feat: add verbose flag to Commands class and pass it from args 2024-08-31 12:00:40 -07:00
Paul Gauthier
b729ed3ab2 fix 2024-08-31 10:55:52 -07:00
Paul Gauthier
231a49ef91 cleanup 2024-08-31 10:53:23 -07:00
Paul Gauthier
494dec65b5 provide clear feedback when /undo fails midway through 2024-08-31 10:45:24 -07:00
Paul Gauthier (aider)
8e3d7e55d4 feat: display modified and unmodified files when aborting undo 2024-08-31 10:41:55 -07:00
Paul Gauthier
7ebeb33a4d feat: enhance undo command with error handling and merge commit checks 2024-08-31 10:41:53 -07:00
Paul Gauthier (aider)
827469463f style: remove unnecessary f-string prefixes 2024-08-31 10:28:00 -07:00
Paul Gauthier
029c017eb5 refactor: Update platform text generation for lint and test commands 2024-08-31 10:27:52 -07:00
Paul Gauthier (aider)
041b2317fb style: remove unused import of 'git' 2024-08-31 08:41:51 -07:00
Paul Gauthier
e48037b8b7 style: reorder imports in base_coder.py alphabetically 2024-08-31 08:41:45 -07:00
Paul Gauthier (aider)
f591265281 style: remove unused import of 'git' 2024-08-31 08:41:38 -07:00
Paul Gauthier
5781f91649 refactor: consolidate git error handling with ANY_GIT_ERROR constant 2024-08-31 08:41:32 -07:00
Paul Gauthier
5a6f7b3cd1 catch all git errors 2024-08-31 08:36:00 -07:00
Paul Gauthier
72c9ac460b catch all git.exc.ODBError 2024-08-31 08:24:53 -07:00
Paul Gauthier
c32a991b2c use git.exc not gitdb.exc 2024-08-31 08:21:07 -07:00
Paul Gauthier
01964ca294 refactor: improve file handling and error reporting in Coder class 2024-08-31 08:15:02 -07:00
Paul Gauthier (aider)
b6b4fc6fab refactor: replace .touch() calls with utils.touch_file() 2024-08-31 08:08:49 -07:00
Paul Gauthier (aider)
0f1b15942d feat: add touch_file function to handle file creation 2024-08-31 08:08:10 -07:00
Paul Gauthier (aider)
441c07586d feat: import patch from unittest.mock for mocking in tests 2024-08-31 08:05:00 -07:00
Paul Gauthier (aider)
e606eb33a5 style: format code with black 2024-08-31 08:04:19 -07:00
Paul Gauthier (aider)
4a3e8ba41d test: add test for Coder.create with OSError on new file 2024-08-31 08:04:14 -07:00
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