Commit Graph

57 Commits

Author SHA1 Message Date
6d18a0c843 feat: Improve user description extraction in git_provider.py 2024-01-04 18:34:00 +02:00
7762bf59bf feat: Update user description extraction and placement in PR description 2024-01-04 18:01:55 +02:00
8d2da74380 Find user description in a case-insensitive way 2024-01-04 09:41:55 +02:00
560d30dbb1 Fix get_user_description
The headers changed from "PR Type"/"PR Description"/etc to "Type"/"Description"/etc
2024-01-03 12:20:51 +02:00
5c49ff216a feat: Update inline comment creation in git providers and improve code suggestion handling
- Update `create_inline_comment` method in various git providers to include `absolute_position` parameter
- Remove `create_inline_comment` method from providers that do not support inline comments
- Enhance `find_line_number_of_relevant_line_in_file` function to handle absolute position
- Modify `pr_code_suggestions.py` to handle improved code inclusion in suggestions
- Add `include_improved_code` configuration option in `configuration.toml` and update documentation accordingly
2023-12-24 09:44:08 +02:00
fdc776887d Refactor labels 2023-12-11 16:47:38 +02:00
eeb20b055a feat: Add line count to file patch info and enhance PR description formatting 2023-12-06 15:29:45 +02:00
f96d4924e7 feat: Add line link generation in git providers and refactor code suggestions generation 2023-11-26 11:57:45 +02:00
d8ae32fc55 language_extension_map 2023-11-26 08:52:55 +02:00
9465b7b577 refactor: Move clip_tokens function from pr_processing to utils module, and add tests 2023-11-26 08:29:47 +02:00
b3238e90f2 s 2023-11-26 08:10:01 +02:00
2567a6cf27 gitlab 2023-11-15 09:40:45 +02:00
94cb6b9795 more feedback 2023-11-15 09:06:26 +02:00
7d89b82967 Fix get_user_description in case pr_description.enable_pr_type=false
Fixes an issue when getting the user description after a PR-Agent description was already generated, in case the configuration setting `pr_description.enable_pr_type` was `false`.
2023-11-13 14:41:14 +02:00
737792d83c publish_persistent_comment 2023-11-09 15:24:55 +02:00
7e5889061c publish_persistent_comment 2023-11-09 15:20:31 +02:00
14610d5375 persistent
s
2023-11-08 20:16:08 +02:00
0293412a42 s 2023-11-08 14:31:08 +02:00
69b68b78f5 s 2023-11-08 14:17:59 +02:00
39e5102a2e fix added files 2023-11-08 12:47:18 +02:00
c623c3baf4 Added new configurations to prevent too frequent incremental commits on push trigger 2023-11-02 12:24:54 +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
02570ea797 Remove previous review comment on push event 2023-10-26 16:46:54 +03:00
c324d88be3 Refactor logging system to use custom logger across the codebase 2023-10-16 14:56:00 +03:00
be54fb5bf8 pr_id 2023-09-21 21:29:41 +03:00
4fbe7d14b5 protection for no language 2023-09-17 16:41:53 +03:00
0203086aac removed duplicate swift statement 2023-09-02 15:39:57 -04:00
92e23ff260 Fix #254 2023-08-30 23:05:41 +03:00
b94ed61219 Merge branch 'main' into feature_azure_devops 2023-08-24 16:41:33 +00:00
ceaff2a269 fix exception printing 2023-08-24 16:35:34 +00:00
52ba2793cd modify get_main_pr_language to handle azuredevops provided language format 2023-08-23 15:59:49 +00:00
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
9157fa670e -> bool 2023-08-22 16:32:22 +03:00
09ef809080 Added comments explaining the logic behind get_user_description 2023-08-22 10:04:21 +03:00
81c38f9646 Added type hints 2023-08-21 09:22:58 +03:00
31e91edebc Allow keeping the original user description 2023-08-20 18:59:40 +03:00
f82b9620af Implement get_repo_settings for BitbucketProvider 2023-08-13 18:25:11 -04:00
e0f295659d A less hacky way 2023-08-09 12:17:54 +03:00
886139c6b5 Support adding / removing reaction from comments in GitHub different servers 2023-08-07 16:18:08 +03:00
8ae5faca53 Fix cyclic dependency 2023-07-25 16:52:18 +03:00
1229fba346 + settings.github.ratelimit_retries setup in configuration.toml 2023-07-25 16:37:13 +03:00
b9c25e487a On /describe, preserve the current labels 2023-07-24 10:17:26 +03:00
3d5d517f2a code suggestions 2023-07-19 20:57:14 +03:00
d89792d379 PR Type label 2023-07-19 20:25:54 +03:00
8038b6ab99 refactor and clean 2023-07-19 14:22:34 +03:00
6c42a471e1 Merge pull request #76 from zmeir/zmeir-publish_inline_comments_single_api_call
Optimization of Inline Comments Publishing
2023-07-18 13:05:11 +03:00
13092118dc Move the new git provider function to the abstract interface 2023-07-18 12:26:49 +03:00
90f97b0226 Lint fixes 2023-07-18 11:34:57 +03:00
e5259e2f5c Small refactor 2023-07-18 10:17:09 +03:00
4f4989af8c full code suggestions
full code suggestions
2023-07-16 09:01:57 +03:00