Commit graph

531 commits

Author SHA1 Message Date
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
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
1a5a618608 fix: handle GitCommandNotFound exception in make_new_repo function 2024-08-31 07:49:23 -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
013dac288c feat: add user confirmation for model warnings 2024-08-30 08:28:21 -07:00
Paul Gauthier (aider)
29108d9962 style: format long line in sanity_check_repo function 2024-08-30 07:56:15 -07:00
Paul Gauthier (aider)
ae1508582c fix: resolve flake8 errors in sanity_check_repo function 2024-08-30 07:55:49 -07:00
Paul Gauthier
4c32e45b74 feat: add sanity check for git repository compatibility 2024-08-30 07:55:23 -07:00
Paul Gauthier (aider)
6b2933e2bd style: fix import order and remove unused import 2024-08-30 07:44:09 -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
b1c268f355 refactor: Improve error handling for repository file counting failure 2024-08-30 07:01:39 -07:00
Paul Gauthier (aider)
b6944bd670 feat: handle UnableToCountRepoFiles exception in main function 2024-08-30 07:01:00 -07:00
Paul Gauthier
c67699a154 fixes #1233 2024-08-30 06:56:21 -07:00
Paul Gauthier (aider)
bc67123b48 refactor: move import statement to top of file 2024-08-29 09:51:31 -07:00
Paul Gauthier (aider)
9d8048d02c style: add newline before function call in main.py 2024-08-29 09:51:18 -07:00
Paul Gauthier (aider)
d0ef9945ee feat: add exception hook at start of main function 2024-08-29 09:51:14 -07:00
Paul Gauthier (aider)
0b7142d2de feat: pass parser to Commands class for extended functionality 2024-08-29 06:32:27 -07:00
Paul Gauthier (aider)
2b2ab3994d refactor: move scrub_sensitive_info to format_settings.py 2024-08-29 06:31:35 -07:00
Paul Gauthier (aider)
93c089c5ec style: format imports and whitespace 2024-08-29 06:30:43 -07:00
Paul Gauthier (aider)
43d3cf2c71 refactor: move format_settings function to separate file 2024-08-29 06:30:37 -07:00
Paul Gauthier
25de4f318c feat: Add args parameter to Commands constructor 2024-08-29 06:27:41 -07:00
Paul Gauthier
a9b3fccce8 Do not make .git in $HOME 2024-08-28 16:15:51 -07:00
Paul Gauthier
0541513c7a refactor: simplify git repository setup process 2024-08-28 15:54:28 -07:00
Paul Gauthier
12d2ba6f3e refactor: Modify git repository setup process for improved user experience 2024-08-28 15:48:09 -07:00
Paul Gauthier
380f019c0d feat: add model switching tip and sort git repos 2024-08-28 15:33:41 -07:00
Paul Gauthier
6f09f651a1 fix: Set git_root to None if no git repositories are found in the home directory 2024-08-28 15:28:05 -07:00
Paul Gauthier
d05cd4b459 feat: Implement setup_git_home function 2024-08-28 15:14:13 -07:00
Paul Gauthier (aider)
a57d9e55d6 fix: handle directory creation errors in setup_git_home 2024-08-28 11:21:28 -07:00
Paul Gauthier (aider)
2192a5efb2 chore: fix failing tests in setup_git_home function 2024-08-28 11:19:30 -07:00
Paul Gauthier (aider)
2da8b57104 refactor: simplify repository selection prompt 2024-08-28 11:14:42 -07:00
Paul Gauthier (aider)
65cce58b0a feat: add option to create new project in setup_git_home 2024-08-28 11:14:07 -07:00
Paul Gauthier
0d33fcb2be refactor: Improve git repository selection prompt wording 2024-08-28 11:13:14 -07:00
Paul Gauthier (aider)
f5bc657027 refactor: change working directory before returning in setup_git_home 2024-08-28 10:43:22 -07:00
Paul Gauthier (aider)
abb94fc582 refactor: remove home_git logic from setup_git_home function 2024-08-28 10:42:37 -07:00
Paul Gauthier (aider)
cdbaa58f08 feat: enhance git repository selection in setup_git_home 2024-08-28 10:39:59 -07:00
Paul Gauthier
36aae9cef3 refactor: Simplify Git repository discovery and improve user prompts 2024-08-28 10:39:40 -07:00
Paul Gauthier (aider)
32377a93ae style: Format long line in setup_git_home function 2024-08-28 10:37:21 -07:00
Paul Gauthier (aider)
048c468f27 feat: include home directory as git repo option 2024-08-28 10:37:17 -07:00
Paul Gauthier
c9458e461f refactor: improve user prompts and handle new project creation 2024-08-28 10:37:15 -07:00
Paul Gauthier (aider)
9e0db1fad0 style: use double quotes for string literal in main.py 2024-08-28 10:34:53 -07:00
Paul Gauthier (aider)
ec56aafd02 refactor: improve git repo selection handling in setup_git_home 2024-08-28 10:34:49 -07:00
Paul Gauthier
7dcdc2f17e refactor: improve Git repository selection prompt and messaging 2024-08-28 10:34:47 -07:00
Paul Gauthier (aider)
1eed9dc4e0 style: format code with linter 2024-08-28 10:33:13 -07:00
Paul Gauthier (aider)
2266f240b1 feat: add home directory Git repo selection and creation 2024-08-28 10:33:09 -07:00
Paul Gauthier
4607d9a689 refactor: Update message formatting in main function 2024-08-27 14:25:56 -07:00
Paul Gauthier (aider)
b178fe85d8 feat: add suggest_shell_commands option to control shell command suggestions 2024-08-27 13:31:43 -07:00