94a2a5e527
generate labels keep user labels only
2023-11-06 15:07:06 +02:00
1eefd3365b
Merge commit 'e352c98ce83bfbd99078f62d8705eb938a6ba5b5' into hl/type_vs_labels
2023-11-06 14:24:33 +02:00
db37ee819a
support git providers with no label support
2023-11-06 14:11:49 +02:00
e352c98ce8
Merge pull request #431 from Codium-ai/hl/type_vs_labels
...
Refactoring PR Labels Handling and Display
2023-11-06 02:10:38 -08:00
e96b03da57
add configuration enable_pr_type
2023-11-06 11:58:26 +02:00
1d2aedf169
Don't Display pr labels in the text
2023-11-06 11:35:22 +02:00
4c484f8e86
Merge pull request #423 from zmeir/zmeir-external-incremental_review_thresholds
...
Implementing Thresholds for Incremental PR Reviews
2023-11-06 01:07:01 -08:00
8a79114ed9
Merge pull request #430 from Codium-ai/tr/fix_prompt
...
Fix PR Description Prompt and Data Preparation
2023-11-06 01:06:26 -08:00
6d6d864417
fix prompt
2023-11-06 09:44:59 +02:00
7238c81f0c
fix prompt
2023-11-06 09:41:26 +02:00
62412f8cd4
fix prompt
2023-11-06 09:38:39 +02:00
5d2bdadb45
fix prompt
2023-11-06 09:33:10 +02:00
06d030637c
fix prompt
2023-11-06 09:32:46 +02:00
8e3fa3926a
Extract incremental review checks to separate method
2023-11-06 09:21:22 +02:00
92071fcf1c
Stack all incremental parameters
2023-11-06 09:13:04 +02:00
fed1c160eb
files walkthrough bullets
2023-11-06 08:43:15 +02:00
e37daf6987
link to change
2023-11-06 08:27:34 +02:00
8fc663911f
fixe bitbucket get_repo_settings bug
2023-11-06 08:15:43 +02:00
3548b88463
type and labels
2023-11-05 15:48:39 +02:00
e6ef123ce5
add middleware when initializing fastapi
2023-11-05 15:38:19 +09:00
fe3527de3c
Add exception handling for applying repo settings failure
2023-11-03 12:23:49 +02:00
b99c769b53
Merge pull request #415 from zmeir/zmeir-patch-2
...
Refactor Command Handling for Different Triggers
2023-11-02 18:32:42 +02:00
c0b3c76884
Merge remote-tracking branch 'origin/main' into ok/bitbucket_fix
2023-11-02 15:27:11 +02:00
e1370a8385
Update publish_inline_comments in bitbucket_provider.py to use 'position' instead of 'start_line'
2023-11-02 15:24:47 +02:00
c623c3baf4
Added new configurations to prevent too frequent incremental commits on push trigger
2023-11-02 12:24:54 +02:00
3ddc7e79d1
Update pr_reviewer_prompts.toml
2023-11-02 11:45:34 +02:00
15573e2286
Fix error in get_main_pr_languages
when the diff is empty
...
This can happen for example when you have one commit add a line to a file and the next commit deletes that line. Then if those are the only 2 commits in the PR the diff will be empty.
2023-11-02 10:10:54 +02:00
9fbf89670d
Improve expression portion of f-strings
2023-11-01 19:11:52 +07:00
ad1c51c536
Fix SyntaxError: f-string expression part cannot include a backslash
2023-11-01 19:06:29 +07:00
9ab7ccd20d
Merge pull request #416 from zmeir/patch-1
...
Fix formatting when last commit message contains _
2023-11-01 13:13:31 +02:00
29a8cf8357
fix typo for ollama
2023-10-31 20:38:27 +07:00
7b6a6c7164
Fix formatting when last commit message contains _
2023-10-31 10:05:13 +02:00
cf4d007737
Fix commands list for push trigger
2023-10-31 00:00:48 +02:00
775ccb3f25
Refactor _perform_commands function in github_app.py to improve command handling
2023-10-30 20:14:25 +02:00
73bb70fef4
Update get_repo_settings in bitbucket_provider.py to fetch file via API request
2023-10-30 18:36:46 +02:00
4bda9dfe04
Update get_repo_settings to decode file from target branch in gitlab_provider.py
2023-10-30 17:01:49 +02:00
e74bb80668
Refactor get_repo_settings method in gitlab_provider.py to decode file contents
2023-10-30 16:45:47 +02:00
e06fb534d3
Merge remote-tracking branch 'origin/main' into ok/fix_gitlab_bug
2023-10-30 16:34:03 +02:00
71a341855e
Add log_context to handle_request calls in gitlab_webhook.py
2023-10-30 16:00:09 +02:00
816ddeeb9e
Fix call to _get_previous_review_comment
...
Hey @mrT23, I thinks there's a problem with moving this line to after `self.git_provider.publish_comment(pr_comment)`.
The reason I originally placed it here is because otherwise, if you run `/review --pr_reviewer.remove_previous_review_comment=true` it will publish your review and then immediately after delete it, because it will look for the previous review comment only after you published your new review - so it will take your new review as the previous one. In order to get the real "previous" review you must collect the comments list before publishing a review, so placing this method call first ensures that.
The method `self._get_previous_review_comment()` is a no-op if `pr_reviewer.remove_previous_review_comment=false` so I see no downside in keeping it before `self.git_provider.publish_comment(pr_comment)`
Additionally, the check for `if previous_review_comment:` is redundant because it's done internally in `self._remove_previous_review_comment`. I thought it looked cleaner without this extra nesting here, but if you think more verbosity is better I'll keep it.
2023-10-30 09:06:51 +02:00
c895657310
fixed review
2023-10-29 17:59:46 +02:00
e3845283f8
release notes
2023-10-29 14:58:36 +02:00
e97a03f522
Merge remote-tracking branch 'origin/main' into tr/final_fixes
2023-10-29 14:38:33 +02:00
61d3e1ebf4
Merge pull request #394 from zmeir/zmeir-external-push_trigger
...
Added support for automatic review on push event
2023-10-29 13:04:33 +02:00
ae375c2ff0
final fixes
2023-10-29 13:01:55 +02:00
c27dc436c4
final fixes
2023-10-29 12:29:14 +02:00
7374243d0b
enable_custom_labels
2023-10-29 11:40:36 +02:00
22c196cb3b
Merge remote-tracking branch 'origin/main' into tr/fix_custom_labels
...
# Conflicts:
# pr_agent/git_providers/github_provider.py
2023-10-29 10:58:42 +02:00
d772213cfc
fix labels
2023-10-29 08:58:12 +02:00
638db96311
github action now also uses .pr_agent.toml
2023-10-28 13:34:32 +03:00