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
1a8fce1505
Updated handling of installation id
2023-07-28 02:44:28 +03:00
8519b106f9
Updated .gitignore
2023-07-28 02:28:50 +03:00
d375dd62fe
Merge pull request #141 from patryk-kowalski-ds/pg/pip_package
...
Transition to pip package with pyproject.toml
2023-07-28 02:23:06 +03:00
3770bf8031
Update setup.py
2023-07-28 02:22:38 +03:00
5c527eca66
Merge remote-tracking branch 'origin/main' into pg/pip_package
2023-07-28 02:19:04 +03:00
b4ca52c7d8
updated Dockerfile.github_action
2023-07-28 02:18:12 +03:00
a78d741292
updated pyproject.toml
2023-07-28 02:09:01 +03:00
42388b1f8d
Merge pull request #146 from idavidov/idsvidov/gitlabpaginator_fix
...
Fix for GitLab Paginator in GitLab Provider
2023-07-28 02:01:04 +03:00
0167003bbc
handle no diffs
2023-07-28 01:59:10 +03:00
2ce91fbdf5
Merge pull request #148 from eltociear/patch-1
...
Fix typo in PR_COMPRESSION.md
2023-07-28 01:50:30 +03:00
aa7659d6bf
Fix typo in PR_COMPRESSION.md
...
Withing -> Within
2023-07-28 00:18:58 +09:00
4aa54b9bd4
Add /describe -c option
2023-07-27 17:42:50 +03:00
c6d0bacc08
Match styling of both /describe modes
2023-07-27 17:31:31 +03:00
99ed9b22a1
latest documentation suggest get_all not all
...
https://python-gitlab.readthedocs.io/en/stable/api-usage.html#pagination
2023-07-27 15:39:19 +03:00
eee6d51b40
issue #145
...
get all diffs in merge request and not only gitlab default 20
2023-07-27 14:41:36 +03:00
a50e137bba
Merge pull request #133 from idavidov/idavidov/github-ratelimit-message
...
Handling GitHub API Rate Limit Exceeded Exception
2023-07-27 14:22:11 +03:00
92c0522f4d
Merge pull request #144 from Codium-ai/tr/readme_update
...
Update README with 'Why use PR-Agent?' section
2023-07-27 10:43:56 +03:00
6a72df2981
Merge pull request #139 from Codium-ai/tr/changelog
...
Add feature to update CHANGELOG.md based on PR content
2023-07-27 09:04:48 +03:00
808ca48605
if not self.commit_changelog:
2023-07-27 08:48:39 +03:00
c827cbc0ae
final touches
2023-07-27 08:47:26 +03:00
48fcb46d4f
Delete CHANGELOG.md
2023-07-27 08:46:14 +03:00
66b94599ec
Update CHANGELOG.md
2023-07-27 08:45:33 +03:00
231efb33c1
add CHANGELOG.md
2023-07-27 08:43:29 +03:00
eb798dae6f
Why use PR-Agent
...
Why use PR-Agent
2023-07-27 08:25:05 +03:00
52576c79b3
Update CHANGELOG.md
2023-07-26 20:40:28 +03:00
cce2a79a1f
add CHANGELOG.md
2023-07-26 20:40:15 +03:00
413e5f6d77
general
2023-07-26 20:37:38 +03:00
09ca848d4c
Merge remote-tracking branch 'origin/tr/changelog' into tr/changelog
2023-07-26 20:33:32 +03:00
801923789b
final
2023-07-26 20:33:21 +03:00
cfb696dfd5
Delete CHANGELOG.md
2023-07-26 20:09:18 +03:00
2e7a0a88fa
Update CHANGELOG.md
2023-07-26 20:08:29 +03:00
1dbbafc30a
add CHANGELOG.md
2023-07-26 20:08:06 +03:00
d8eae7faab
Delete CHANGELOG.md
2023-07-26 20:06:23 +03:00
14eceb6e61
PRUpdateChangelog
2023-07-26 20:05:18 +03:00
884317c4f7
stable
2023-07-26 20:03:22 +03:00
c5f4b229b8
Merge pull request #142 from patryk-kowalski-ds/pk/local-git-provider-impvs
...
Improvements to Local Git Provider
2023-07-26 19:18:35 +03:00
5a2a17ec25
Merge pull request #140 from Codium-ai/tr/enhance_review
...
Enhancement of PRReviewer class in pr_reviewer.py
2023-07-26 17:32:15 +03:00
1bd47b0d53
enhance pr_reviewer.py code
2023-07-26 17:24:03 +03:00
7531ccd31f
stable
2023-07-26 16:29:42 +03:00