Commit graph

130 commits

Author SHA1 Message Date
Paul Gauthier
f62ef34715 fix: Handle missing git module gracefully 2024-12-14 09:42:54 -08:00
Paul Gauthier (aider)
ccf460c1f7 refactor: update simple_send_with_retries to use model object and handle temperature 2024-12-07 13:37:14 -08:00
Paul Gauthier (aider)
94c3957d92 fix: Add error handling for git.ignored() method 2024-11-14 06:48:35 -08:00
Paul Gauthier
266350b8ce fix: Handle potential git errors in git_ignored_file method 2024-11-14 06:48:33 -08:00
Paul Gauthier
218623be28 feat: Add git_ignored_file method to check files against gitignore 2024-11-13 13:12:25 -08:00
Paul Gauthier
153021efcf fix: Handle OSError in get_rel_repo_dir method for edge cases 2024-11-13 12:51:27 -08:00
Paul Gauthier
810aeccf94 fix: Replace extra_headers and extra_body with extra_params in Coder, ChatSummary, and GitRepo 2024-09-27 13:09:43 -07:00
Paul Gauthier (aider)
ed1eb38c5f fix: Split long comment line in aider/repo.py 2024-09-23 11:41:34 -07:00
Paul Gauthier
8f583ca119 fix: Handle ValueError when getting relative path in ignored_file_raw 2024-09-23 11:41:28 -07:00
Paul Gauthier
12f1bf643a fix: Add ValueError to ANY_GIT_ERROR tuple 2024-09-21 19:02:35 -07:00
Paul Gauthier
7f156830fe Handle TypeError coming from git ops 2024-09-21 17:09:08 -07:00
Paul Gauthier
b3e5caf330 fix: Add BufferError to ANY_GIT_ERROR tuple 2024-09-20 12:39:33 -07:00
Paul Gauthier
2a4527a5af fix: Ensure path_in_repo function handles empty path 2024-09-20 12:29:50 -07:00
Paul Gauthier
eced076602 feat: add IndexError to ANY_GIT_ERROR tuple in repo.py 2024-09-09 13:46:03 -07:00
Paul Gauthier
bd21122e64 refactor: improve error handling for git version check 2024-09-09 13:44:02 -07:00
Paul Gauthier
00f42590c8 feat: add AssertionError to ANY_GIT_ERROR tuple 2024-09-09 13:41:28 -07:00
Paul Gauthier
4e63254704 refactor: Improve error handling in git repository checks 2024-09-09 13:40:56 -07:00
Paul Gauthier
3cd6790d9a fix: handle OSError in git repo operations 2024-09-09 13:37:24 -07:00
Paul Gauthier
abf6a9db2e fix: Handle additional Git-related errors in GitRepo.list_files 2024-09-09 13:26:07 -07:00
Paul Gauthier
73e7d7bd2a fix: handle git errors when listing files in the repository 2024-09-09 12:42:20 -07:00
Paul Gauthier
c8b2024f8b refactor: simplify error handling in get_tracked_files method 2024-09-02 16:03:54 -07:00
Paul Gauthier
bd012d63e9 catch git errors for commit and diff 2024-09-02 11:02:33 -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
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
2999c64435 refactor: simplify error handling for tracked files count 2024-08-30 07:47:50 -07:00
Paul Gauthier (aider)
303a314c5e refactor: wrap entire get_tracked_files method in try/except block 2024-08-30 07:45:56 -07:00
Paul Gauthier (aider)
c97f699492 refactor: move UnableToCountRepoFiles to repo.py and raise from get_tracked_files 2024-08-30 07:44:04 -07:00
Paul Gauthier (aider)
50c987e261 style: Simplify function call 2024-08-23 14:18:38 -07:00
Paul Gauthier (aider)
12551c9563 feat: add extra_headers to commit message generation 2024-08-23 14:18:35 -07:00
Paul Gauthier (aider)
e3ad45f34e feat: change attribute_commit_message to attribute_commit_message_author 2024-08-10 11:08:39 -07:00
Paul Gauthier (aider)
0666b5f971 feat: add attribute_commit_message_committer param to prepend "aider: " to every commit message 2024-08-10 11:06:21 -07:00
Paul Gauthier
8769f31640 fix: Handle empty commit history in cmd_diff 2024-08-10 09:11:16 -07:00
Paul Gauthier (aider)
ca9ef60ede feat: Add GitRepo.get_head() method 2024-08-09 19:41:19 -04:00
Paul Gauthier
9cf672b428 fix: Add bold formatting to announcement messages
feat: Add bold formatting to commit message output
refactor: Simplify tool_output method in io.py
2024-08-09 19:26:22 -04:00
Paul Gauthier
72572f06d9 fix: Improve commit message generation by handling large diffs 2024-08-07 07:45:22 -03:00
Paul Gauthier (aider)
b6994aacee fix: Normalize current working directory in ignored_file_raw method 2024-08-06 10:25:27 -03:00
Paul Gauthier
4d0934f0a8 fix subtree logic for windows 2024-08-06 10:01:23 -03:00
Paul Gauthier
768d7af32e fix normlize_path logic 2024-08-06 09:38:51 -03:00
Paul Gauthier
4e5e9b4a1a fix: move dict init into __init__ 2024-08-06 09:34:25 -03:00
Paul Gauthier
152188389c fix 2024-08-06 08:32:48 -03:00
Paul Gauthier
793035b2e0 improve perf of repomap and other file intensive actions 2024-08-05 16:05:19 -03:00
Paul Gauthier
da3e507ec4 Revert "rename simple_send_with_retries -> send_with_retries"
This reverts commit d619edf6e9.
2024-08-02 10:49:44 -03:00
Paul Gauthier
d619edf6e9 rename simple_send_with_retries -> send_with_retries 2024-08-02 10:35:10 -03:00
Paul Gauthier (aider)
ca0ee9e9ba style: Fix import order in aider/repo.py 2024-08-01 17:19:31 -03:00
Paul Gauthier (aider)
a36861a01a refactor: Implement once-per-second check for aider ignore file 2024-08-01 17:19:27 -03:00
Paul Gauthier
33ff801f82 feat: Add refresh_aider_ignore method to GitRepo class 2024-08-01 17:19:26 -03:00