From 9a57d00951d11680d2dc06f28be14a368769bfe4 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Mon, 8 Jul 2024 09:01:56 +0300 Subject: [PATCH 1/3] GitHub Enterprise Server --- docs/docs/installation/pr_agent_pro.md | 4 ++++ docs/docs/overview/pr_agent_pro.md | 3 ++- pr_agent/git_providers/github_provider.py | 3 --- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/docs/installation/pr_agent_pro.md b/docs/docs/installation/pr_agent_pro.md index bf3f32de..44c9c027 100644 --- a/docs/docs/installation/pr_agent_pro.md +++ b/docs/docs/installation/pr_agent_pro.md @@ -16,6 +16,10 @@ Once a user acquires a seat, they gain the flexibility to use PR-Agent Pro acros Users without a purchased seat who interact with a repository featuring PR-Agent Pro are entitled to receive up to five complimentary feedbacks. Beyond this limit, PR-Agent Pro will cease to respond to their inquiries unless a seat is purchased. +## Install PR-Agent Pro for GitHub Enterprise Server +You can install PR-Agent Pro application on your GitHub Enterprise Server, and enjoy two weeks of free trial. +After the trial period, to continue using PR-Agent Pro, you will need to contact us for an [Enterprise license](https://www.codium.ai/pricing/). + ## Install PR-Agent Pro for GitLab (Teams & Enterprise) diff --git a/docs/docs/overview/pr_agent_pro.md b/docs/docs/overview/pr_agent_pro.md index 19c49f0e..2b667eb4 100644 --- a/docs/docs/overview/pr_agent_pro.md +++ b/docs/docs/overview/pr_agent_pro.md @@ -15,4 +15,5 @@ - (Feature): [**SOC2 compliance check**](./tools/review.md/#soc2-ticket-compliance) - (Feature): [**Custom labels**](./tools/describe.md/#handle-custom-labels-from-the-repos-labels-page) - (Feature): [**Global and wiki configuration**](./usage-guide/configuration_options.md/#wiki-configuration-file) - - (Feature): [**Inline file summary**](https://pr-agent-docs.codium.ai/tools/describe/#inline-file-summary) \ No newline at end of file + - (Feature): [**Inline file summary**](https://pr-agent-docs.codium.ai/tools/describe/#inline-file-summary) +5. **Support self-hosted git servers** - PR-Agent Pro can be installed on GitHub Enterprise Server, GitLab, and BitBucket. For more information, see the [installation guide](./installation/pr_agent_pro.md/). \ No newline at end of file diff --git a/pr_agent/git_providers/github_provider.py b/pr_agent/git_providers/github_provider.py index c7fffded..638d79a1 100644 --- a/pr_agent/git_providers/github_provider.py +++ b/pr_agent/git_providers/github_provider.py @@ -524,9 +524,6 @@ class GithubProvider(GitProvider): def _parse_pr_url(pr_url: str) -> Tuple[str, int]: parsed_url = urlparse(pr_url) - if 'github.com' not in parsed_url.netloc: - raise ValueError("The provided URL is not a valid GitHub URL") - path_parts = parsed_url.path.strip('/').split('/') if 'api.github.com' in parsed_url.netloc: if len(path_parts) < 5 or path_parts[3] != 'pulls': From c3fac8606764cdb3352c39520ff7bbe05e5f6e15 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Mon, 8 Jul 2024 09:07:37 +0300 Subject: [PATCH 2/3] GitHub Enterprise Server --- docs/docs/overview/pr_agent_pro.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/overview/pr_agent_pro.md b/docs/docs/overview/pr_agent_pro.md index 2b667eb4..80ecf188 100644 --- a/docs/docs/overview/pr_agent_pro.md +++ b/docs/docs/overview/pr_agent_pro.md @@ -16,4 +16,6 @@ - (Feature): [**Custom labels**](./tools/describe.md/#handle-custom-labels-from-the-repos-labels-page) - (Feature): [**Global and wiki configuration**](./usage-guide/configuration_options.md/#wiki-configuration-file) - (Feature): [**Inline file summary**](https://pr-agent-docs.codium.ai/tools/describe/#inline-file-summary) + - (Feature): [**Apply suggestions**](https://pr-agent-docs.codium.ai/tools/improve/#example-usage)- + - (Feature): [**Advanced usage statistics**](https://www.codium.ai/contact/#/) 5. **Support self-hosted git servers** - PR-Agent Pro can be installed on GitHub Enterprise Server, GitLab, and BitBucket. For more information, see the [installation guide](./installation/pr_agent_pro.md/). \ No newline at end of file From 8f9879cf01f1cd5b55a89ff3773972c1942e9d40 Mon Sep 17 00:00:00 2001 From: Tal Date: Mon, 8 Jul 2024 09:19:05 +0300 Subject: [PATCH 3/3] Update docs/docs/overview/pr_agent_pro.md Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com> --- docs/docs/overview/pr_agent_pro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/overview/pr_agent_pro.md b/docs/docs/overview/pr_agent_pro.md index 80ecf188..fe9cd200 100644 --- a/docs/docs/overview/pr_agent_pro.md +++ b/docs/docs/overview/pr_agent_pro.md @@ -16,6 +16,6 @@ - (Feature): [**Custom labels**](./tools/describe.md/#handle-custom-labels-from-the-repos-labels-page) - (Feature): [**Global and wiki configuration**](./usage-guide/configuration_options.md/#wiki-configuration-file) - (Feature): [**Inline file summary**](https://pr-agent-docs.codium.ai/tools/describe/#inline-file-summary) - - (Feature): [**Apply suggestions**](https://pr-agent-docs.codium.ai/tools/improve/#example-usage)- + - (Feature): [**Apply suggestions**](https://pr-agent-docs.codium.ai/tools/improve/#example-usage) - (Feature): [**Advanced usage statistics**](https://www.codium.ai/contact/#/) 5. **Support self-hosted git servers** - PR-Agent Pro can be installed on GitHub Enterprise Server, GitLab, and BitBucket. For more information, see the [installation guide](./installation/pr_agent_pro.md/). \ No newline at end of file