0e3dbbd0f2
fix major bug in gitlab
2023-08-03 22:51:38 +03:00
7a57db5d88
load_large_diff is done once
2023-08-03 22:14:05 +03:00
c92648cbd5
caching
2023-08-03 21:38:18 +03:00
26b008565b
Merge pull request #170 from Codium-ai/tr/edge_case_for_hunks
...
Handling edge case for hunks in git patch processing
2023-08-03 12:11:27 +03:00
0dec24aa37
edge case for hunks
2023-08-03 10:50:22 +03:00
68a2f2a27d
fix requirement.txt
2023-08-03 10:19:51 +03:00
cfa14178f8
Merge pull request #168 from Codium-ai/tr/further_use_commit_messages
...
Use commit messages in PR tools
2023-08-03 07:58:25 +03:00
b97c4b6114
Update CHANGELOG.md
2023-08-02 18:36:34 +03:00
3d43cecbea
Merge pull request #167 from zmeir/zmeir-list_configurations_as_comment
...
Add /config command to list the possible configuration settings
2023-08-02 18:35:20 +03:00
eb143ec851
Update CHANGELOG.md
2023-08-02 15:32:15 +00:00
3e94a71dcd
commit_messages_str is used in all tools
2023-08-02 18:26:39 +03:00
dd14423b07
Add /config command to list the possible configuration settings
2023-08-02 16:42:54 +03:00
8e47fdc284
Merge pull request #164 from Codium-ai/ok/repo_config
...
Support for Repo-Specific Configuration File
2023-08-01 19:09:23 +03:00
ab607d74be
Support repo-specific configuration file
2023-08-01 18:36:20 +03:00
bfe7304449
Support repo-specific configuration file
2023-08-01 18:04:52 +03:00
e12874b696
Support repo-specific configuration file
2023-08-01 17:44:08 +03:00
696e2bd6ff
Support repo-specific configuration file
2023-08-01 17:27:25 +03:00
450f410e3c
Support repo-specific configuration file
2023-08-01 17:22:03 +03:00
08a3f033cb
Merge pull request #162 from Codium-ai/ok/settings_refactor
...
Refactor settings usage and CLI
2023-08-01 16:05:20 +03:00
c5a79ceedd
Merge remote-tracking branch 'origin/main' into ok/settings_refactor
2023-08-01 16:01:04 +03:00
13547afc58
Merge pull request #163 from Codium-ai/tr/commit_messages
...
Adding Commit Messages Retrieval Functionality
2023-08-01 15:59:26 +03:00
8ae936e504
Bug fixes
2023-08-01 15:58:23 +03:00
e577d27f9b
Update CHANGELOG.md
2023-08-01 12:38:31 +00:00
dfb73c963a
get_commit_messages for gitlab
2023-08-01 15:30:14 +03:00
8c0370a166
Commit messages in pr-description
2023-08-01 15:15:59 +03:00
d7b77764c3
Support context aware settings (for each incoming request), support override of settings, refactor CLI to use pr_agent.py
2023-08-01 14:43:26 +03:00
6605f9c444
typos in 'commands_text'
2023-07-31 11:02:30 +03:00
2a8adcbbd6
update README.md
2023-07-30 22:16:56 +03:00
0b22c8d427
update README.md
2023-07-30 22:04:59 +03:00
dfa0d9fd43
update README.md
2023-07-30 22:01:14 +03:00
c8470645e2
add tests and update README.md
2023-07-30 21:54:07 +03:00
5a181e52d5
Merge pull request #159 from Codium-ai/tr/edit_any_config_setting
...
The Configurator Strikes Back
2023-07-30 15:19:07 +03:00
0ad8dcd2aa
Merge remote-tracking branch 'origin/tr/edit_any_config_setting' into tr/edit_any_config_setting
2023-07-30 12:27:40 +03:00
e2d015a20c
final
2023-07-30 12:27:32 +03:00
a0cfe4b48a
Update CHANGELOG.md
2023-07-30 12:26:53 +03:00
a6ba8b614a
Example args
2023-07-30 12:16:43 +03:00
4f0fabd2ca
update_settings_from_args refactor
2023-07-30 12:14:26 +03:00
42b047a14e
update_settings_from_args
2023-07-30 12:04:57 +03:00
3daf94954a
update_settings_from_args
2023-07-30 11:43:44 +03:00
b564d8ac32
Merge pull request #147 from zmeir/zmeir-align_describe_styling
...
Minor improvements to describe command
2023-07-28 20:55:15 +03:00
d8e6da74db
Update .dockerignore
2023-07-28 12:15:17 +03:00
278f1883fd
Merge pull request #153 from marshally/fix_iteration_error_in_reflect_tmp
...
fix TypeError when iterating discussion_messages
2023-07-28 12:12:12 +03:00
ef71a7049e
fix TypeError when iterating discussion_messages
...
When `pr-agent` is reviewing a long list of messages, a TypeError is thrown on the line
```python
for message in reversed(discussion_messages):
```
When reviewing the PyGithub library, the recommend an alternate syntax for iterating a paginated list in reverse.
https://github.com/PyGithub/PyGithub/blob/v1.59.0/github/PaginatedList.py#L122-L125
```
If you want to iterate in reversed order, just do::
for repo in user.get_repos().reversed:
print(repo.name)
```
And here's a copy of the actual traceback
```
Traceback (most recent call last):
File "/app/pr_agent/servers/github_action_runner.py", line 68, in <module>
asyncio.run(run_action())
File "/usr/local/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/app/pr_agent/servers/github_action_runner.py", line 64, in run_action
await PRAgent().handle_request(pr_url, body)
File "/app/pr_agent/agent/pr_agent.py", line 19, in handle_request
await PRReviewer(pr_url, is_answer=True).review()
File "/app/pr_agent/tools/pr_reviewer.py", line 49, in __init__
answer_str, question_str = self._get_user_answers()
File "/app/pr_agent/tools/pr_reviewer.py", line 253, in _get_user_answers
for message in reversed(discussion_messages):
TypeError: object of type 'PaginatedList' has no len()
```
2023-07-28 11:04:46 +02:00
6fde87b3bd
Merge pull request #152 from Codium-ai/tr/gitlab_fixes
...
Improvements and Error Handling for GitLab Provider
2023-07-28 11:40:53 +03:00
07fe91e57b
Update CHANGELOG.md
2023-07-28 08:39:42 +00:00
01e2f3f0cd
Merge pull request #150 from Codium-ai/ok/handle_installation_id_properly
...
Github App: handle concurrent requests from multiple installations of app
2023-07-28 11:38:14 +03:00
63a703c000
Handle marketplace hook
2023-07-28 11:30:51 +03:00
4664d91844
bug fixes in gitlab code suggestion
2023-07-28 11:24:14 +03:00
8f16c46012
try-except
2023-07-28 10:52:49 +03:00
a8780f722d
Handle marketplace hook
2023-07-28 03:22:25 +03:00