sarbjitgrewal
2aaa722102
Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_improve_issue
2023-08-29 09:49:19 +05:30
mrT23
d3c7dcc407
AZURE_DEVOPS_AVAILABLE
2023-08-28 20:21:29 +03:00
mrT23
e5e10d5ec5
Merge pull request #241 from szecsip/feature_azure_devops
...
Add Azure DevOps provider with basic functionality
2023-08-28 17:03:05 +03:00
sarbjitgrewal
39522abc03
fix conflicts
2023-08-28 11:21:47 +05:30
sarbjitgrewal
0e42634da4
add publish_labels and get_labels functions
2023-08-25 10:15:30 +05:30
Péter Szécsi
b94ed61219
Merge branch 'main' into feature_azure_devops
2023-08-24 16:41:33 +00:00
szecsip
ceaff2a269
fix exception printing
2023-08-24 16:35:34 +00:00
szecsip
12167bc3a1
fix imports
2023-08-24 16:34:20 +00:00
Ori Kotek
355abfc39a
Bitbucket server, WIP
2023-08-24 18:35:41 +03:00
szecsip
c163d47a63
fix imports
2023-08-24 15:22:14 +00:00
szecsip
5d529a71ad
some minor changes in Azure DevOps git provider
2023-08-24 15:20:00 +00:00
Ori Kotek
5079daa4ad
Bitbucket server, WIP
2023-08-24 16:33:51 +03:00
sarbjitgrewal
f0dc485305
Merge branch 'main' of https://github.com/Codium-ai/pr-agent into fix_bitbucket_improve_issue
2023-08-24 16:14:29 +05:30
sarbjitgrewal
db6bf41051
update readme
2023-08-24 15:56:20 +05:30
sarbjitgrewal
67ff50583a
fix improve, update_changelog and review inline comment
2023-08-24 11:52:20 +05:30
szecsip
01d1cf98f4
init Azure DevOps git provider
2023-08-23 16:01:10 +00:00
szecsip
52ba2793cd
modify get_main_pr_language to handle azuredevops provided language format
2023-08-23 15:59:49 +00:00
Phill Zarfos
d31b66b656
initial implementation of CodeCommit
2023-08-22 17:15:11 -04:00
mrT23
635b243280
Merge pull request #223 from zmeir/zmeir-keep_original_pr_description
...
Enhancement: Retain Original User Description and Title in PRs
2023-08-22 16:47:16 +03:00
mrT23
cbe0a695d8
Merge pull request #229 from Codium-ai/tr/sequential_improve
...
Implementing Extended Improve Mode for More Thorough PR Reviews
2023-08-22 16:46:52 +03:00
mrT23
9157fa670e
-> bool
2023-08-22 16:32:22 +03:00
zmeir
09ef809080
Added comments explaining the logic behind get_user_description
2023-08-22 10:04:21 +03:00
zmeir
81c38f9646
Added type hints
2023-08-21 09:22:58 +03:00
Phill Zarfos
542bc9586a
Remove duplicate get_repo_settings() in bitbucket_provider
2023-08-20 12:58:44 -04:00
zmeir
31e91edebc
Allow keeping the original user description
2023-08-20 18:59:40 +03:00
mrT23
6693aa3cbc
semi stable
2023-08-20 15:01:06 +03:00
Ori Kotek
fda98643c2
Merge pull request #217 from sarbjitsinghgrewal/fix_bitbucket_improve_issue
...
fix bitbucket improve issue
2023-08-20 14:42:15 +03:00
idavidov
9770f4709a
few more changes suggested by AI implemented
2023-08-19 16:26:15 +03:00
idavidov
50125ae57f
various changes as outcomes from AI review
2023-08-19 16:12:48 +03:00
idavidov
6595c3e0c9
2 more /improve good suggestions
2023-08-19 15:47:45 +03:00
idavidov
fdd16f6c75
raize exception when no diffs in MR
2023-08-19 15:40:40 +03:00
idavidov
7b7e913195
to changes suggested by /improve with my small touch
2023-08-19 15:31:02 +03:00
idavidov
5477469a91
in order to have exact sha's we have to find correct diff for this change
...
otherwise gitlab web doesn't able show diff on page and return 500 or 400 errors based on different scenarios
2023-08-19 15:06:22 +03:00
sarbjitgrewal
dff4646920
fix bitbucket improve issue
2023-08-18 17:48:45 +05:30
Phill Zarfos
164b340c29
Merge branch 'main' into fix/bitbucket_get_repo_settings
2023-08-14 08:30:14 -04:00
sarbjitgrewal
cca951d787
fix bitbucket ask issue
2023-08-14 14:30:30 +05:30
Phill Zarfos
f82b9620af
Implement get_repo_settings for BitbucketProvider
2023-08-13 18:25:11 -04:00
Péter Szécsi
524faadffb
init AzureDevopsProvider
2023-08-13 23:00:45 +02:00
Péter Szécsi
82710c2d15
add AzureDevopsProvider to __init__.py
2023-08-13 22:56:50 +02:00
mrT23
d38c5236dd
Merge pull request #187 from Codium-ai/ok/limit_description
...
Limiting Description and Commit Messages Length
2023-08-09 14:14:47 +03:00
Ori Kotek
e0f295659d
A less hacky way
2023-08-09 12:17:54 +03:00
mrT23
fe75e3f2ec
yaml
...
yaml
2023-08-09 12:15:52 +03:00
Zohar Meir
164ed77d72
Attempt to fix bug in create_inline_comment
2023-08-07 17:09:50 +03:00
Ori Kotek
886139c6b5
Support adding / removing reaction from comments in GitHub different servers
2023-08-07 16:18:08 +03:00
mrT23
fed0ea349a
find_line_number_of_relevant_line_in_file
...
find_line_number_of_relevant_line_in_file
2023-08-06 08:13:07 +03:00
mrT23
0e3dbbd0f2
fix major bug in gitlab
2023-08-03 22:51:38 +03:00
mrT23
7a57db5d88
load_large_diff is done once
2023-08-03 22:14:05 +03:00
mrT23
c92648cbd5
caching
2023-08-03 21:38:18 +03:00
Ori Kotek
e12874b696
Support repo-specific configuration file
2023-08-01 17:44:08 +03:00
Ori Kotek
696e2bd6ff
Support repo-specific configuration file
2023-08-01 17:27:25 +03:00
Ori Kotek
450f410e3c
Support repo-specific configuration file
2023-08-01 17:22:03 +03:00
Ori Kotek
c5a79ceedd
Merge remote-tracking branch 'origin/main' into ok/settings_refactor
2023-08-01 16:01:04 +03:00
mrT23
dfb73c963a
get_commit_messages for gitlab
2023-08-01 15:30:14 +03:00
mrT23
8c0370a166
Commit messages in pr-description
2023-08-01 15:15:59 +03:00
Ori Kotek
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
mrT23
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
Ori Kotek
63a703c000
Handle marketplace hook
2023-07-28 11:30:51 +03:00
mrT23
4664d91844
bug fixes in gitlab code suggestion
2023-07-28 11:24:14 +03:00
Ori Kotek
1a8fce1505
Updated handling of installation id
2023-07-28 02:44:28 +03:00
Ori Kotek
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
Ori Kotek
0167003bbc
handle no diffs
2023-07-28 01:59:10 +03:00
idavidov
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
idavidov
eee6d51b40
issue #145
...
get all diffs in merge request and not only gitlab default 20
2023-07-27 14:41:36 +03:00
Ori Kotek
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
Patryk Kowalski
3b19827ae2
Add validation for repository path
2023-07-26 15:29:09 +02:00
Patryk Kowalski
ea6e1811c1
Fixed PR title - should be feature branch name, not target branch name
2023-07-26 14:15:50 +02:00
Ori Kotek
8ae5faca53
Fix cyclic dependency
2023-07-25 16:52:18 +03:00
idavidov
1229fba346
+ settings.github.ratelimit_retries setup in configuration.toml
2023-07-25 16:37:13 +03:00
Ori Kotek
36ab12c486
Merge pull request #136 from Codium-ai/ok/handle_sub_group
...
Handle subgroup in GitLab merge request URL parsing
2023-07-25 16:15:35 +03:00
Ori Kotek
0254e3d04a
Merge pull request #128 from patryk-kowalski-ds/deepsense.ai/local-git-provider
...
Add Local Git Provider Support
2023-07-25 16:15:02 +03:00
Ori Kotek
10a07e497d
Handle sub group in gitlab MR URLs
2023-07-25 15:15:51 +03:00
idavidov
b6f6c903a0
moved @retry to github_provider.py and fetch number of retries from settings
2023-07-25 15:12:02 +03:00
Patryk Kowalski
0815e2024c
- Replaced two dot diff with three dot diff. Cleaned up obsolete code linked to double dot diff.
...
- Moved target_branch_existence assertion to _prepare_repo method
- Renamed branch_name -> target_branch_name
- Simplified get_files method
2023-07-25 13:07:21 +02:00
Ori Kotek
d23daf880f
Change gitlab API to use oauth_token instead of PAT (PAT shuold work as well)
2023-07-25 13:58:48 +03:00
Patryk Kowalski
918549a4fc
Implementing 'is_supported' method
2023-07-25 12:35:39 +02:00
Patryk Kowalski
6170995665
replaced hardcoded main with actual target_branch name'
2023-07-24 16:59:07 +02:00
Patryk Kowalski (deepsense.ai)
ca42a54bc3
Update pr_agent/git_providers/local_git_provider.py
...
Co-authored-by: Ori Kotek <orikotek@gmail.com>
2023-07-24 16:47:05 +02:00
Patryk Kowalski (deepsense.ai)
c0610afe2a
Update pr_agent/git_providers/local_git_provider.py
...
Co-authored-by: Ori Kotek <orikotek@gmail.com>
2023-07-24 16:46:46 +02:00
Patryk Kowalski (deepsense.ai)
d4cbcc465c
Update pr_agent/git_providers/local_git_provider.py
...
Co-authored-by: Ori Kotek <orikotek@gmail.com>
2023-07-24 16:46:36 +02:00
Ori Kotek
2c03a67312
Add labels
2023-07-24 16:00:51 +03:00
Patryk Kowalski
8e6518f071
Added GitPython to requirements. Changed default review path (aesthetics)
2023-07-24 14:28:37 +02:00
Ori Kotek
c9c95d60d4
Implement gitlab webhook
2023-07-24 15:05:24 +03:00
Patryk Kowalski
02ecaa340f
Local Git Provider Implementation
2023-07-24 12:49:57 +02:00
Ori Kotek
b9c25e487a
On /describe, preserve the current labels
2023-07-24 10:17:26 +03:00
zmeir
32358678e6
Reduce the number of GitHub API calls when pushing code suggestions
2023-07-23 16:59:08 +03:00
sambone
05f29cc406
Fix TypeError for GitlabProvider
2023-07-20 11:49:42 -05:00
Ori Kotek
63c4c7e584
Merge pull request #90 from zmeir/zmeir-output_progress
...
Add Option to Control Comment Publishing Progress
2023-07-20 18:48:20 +03:00
mrT23
3d5d517f2a
code suggestions
2023-07-19 20:57:14 +03:00
mrT23
a2eb2e4dac
Update pr_agent/git_providers/github_provider.py
2023-07-19 20:31:10 +03:00
mrT23
d89792d379
PR Type label
2023-07-19 20:25:54 +03:00
Hussam.lawen
3326327572
More refactoring....
2023-07-19 17:01:56 +03:00
Hussam.lawen
36be79ea38
ignore merge from main
2023-07-19 16:14:59 +03:00
Hussam.lawen
8038b6ab99
refactor and clean
2023-07-19 14:22:34 +03:00
Hussam.lawen
5f36f0d753
Merge commit 'bdf7eff7cd0a8894c3e66e49bdf89f27da1bfcb4' into hl/incremental_review
2023-07-18 23:28:43 +03:00
Hussam.lawen
dc4bf13d39
Add Incremental Review
2023-07-18 23:14:47 +03:00
zmeir
6d91f44634
Added configuration option to control publishing review progress
...
This can be useful in a few situations:
1. To reduce the number of GitHub API calls (thus avoiding hitting the rate limit)
2. When the trigger for the agent is an external process (e.g. some external CI job), so there is no need to publish a message like "preparing review..." because it's not a part of a natual conversation with the user
2023-07-18 16:41:58 +03:00
Hussam Lawen
3efe08d619
Merge pull request #85 from Codium-ai/hl/always_filer_bad_extensions
...
Filter out bad files before getting their head and original source code and diff
2023-07-18 13:50:25 +03:00
Hussam Lawen
2e36fce4eb
Merge pull request #83 from Codium-ai/hl/gitlab_description
...
Support describe for Gitlab
2023-07-18 13:47:32 +03:00
Hussam.lawen
5d45632247
Performance improvement: Filter out bad files before getting their head and original source code and diff
2023-07-18 13:33:32 +03:00
Hussam.lawen
8fb9affef3
add try catch
2023-07-18 13:14:01 +03:00