You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2024/03/12 06:49:21 UTC
(incubator-devlake) branch feat-bitbucket created (now c4ba187ab)
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a change to branch feat-bitbucket
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
at c4ba187ab feat: adjust the bitbucket cloud and server
This branch includes the following new commits:
new c4ba187ab feat: adjust the bitbucket cloud and server
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-devlake) 01/01: feat: adjust the bitbucket cloud and server
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch feat-bitbucket
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit c4ba187ab3837b76e40429865639f38c05b5b352
Author: mintsweet <0x...@gmail.com>
AuthorDate: Tue Mar 12 19:49:08 2024 +1300
feat: adjust the bitbucket cloud and server
---
config-ui/src/plugins/register/bitbucket-server/config.tsx | 6 +++---
config-ui/src/plugins/register/bitbucket/config.tsx | 12 +++++-------
config-ui/src/plugins/register/bitbucket/transformation.tsx | 6 +++---
3 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/config-ui/src/plugins/register/bitbucket-server/config.tsx b/config-ui/src/plugins/register/bitbucket-server/config.tsx
index d55328377..712334c8c 100644
--- a/config-ui/src/plugins/register/bitbucket-server/config.tsx
+++ b/config-ui/src/plugins/register/bitbucket-server/config.tsx
@@ -23,7 +23,7 @@ import Icon from './assets/icon.svg?react';
export const BitBucketServerConfig: IPluginConfig = {
plugin: 'bitbucket_server',
- name: 'BitBucket Data Center',
+ name: 'Bitbucket Server',
icon: ({ color }) => <Icon fill={color} />,
sort: 5,
connection: {
@@ -42,10 +42,10 @@ export const BitBucketServerConfig: IPluginConfig = {
{
key: 'rateLimitPerHour',
subLabel:
- 'By default, DevLake uses dynamic rate limit for optimized data collection for BitBucket Server. But you can adjust the collection speed by entering a fixed value.',
+ 'By default, DevLake uses dynamic rate limit for optimized data collection for Bitbucket Server. But you can adjust the collection speed by entering a fixed value.',
learnMore: DOC_URL.PLUGIN.BITBUCKET_SERVER.RATE_LIMIT,
externalInfo:
- 'The maximum rate limit for different entities in BitBucket Server is 60,000 or 1,000 requests/hour.',
+ 'The maximum rate limit for different entities in Bitbucket Server is 60,000 or 1,000 requests/hour.',
defaultValue: 1000,
},
],
diff --git a/config-ui/src/plugins/register/bitbucket/config.tsx b/config-ui/src/plugins/register/bitbucket/config.tsx
index dde2e1c76..d0efe6f09 100644
--- a/config-ui/src/plugins/register/bitbucket/config.tsx
+++ b/config-ui/src/plugins/register/bitbucket/config.tsx
@@ -23,7 +23,7 @@ import Icon from './assets/icon.svg?react';
export const BitBucketConfig: IPluginConfig = {
plugin: 'bitbucket',
- name: 'BitBucket',
+ name: 'Bitbucket Cloud',
icon: ({ color }) => <Icon fill={color} />,
sort: 5,
connection: {
@@ -35,10 +35,8 @@ export const BitBucketConfig: IPluginConfig = {
'name',
{
key: 'endpoint',
- multipleVersions: {
- cloud: 'https://api.bitbucket.org/2.0/',
- server: '',
- },
+ subLabel: 'You do not need to enter the endpoint URL, because all versions use the same URL.',
+ disabled: true,
},
'username',
{
@@ -49,10 +47,10 @@ export const BitBucketConfig: IPluginConfig = {
{
key: 'rateLimitPerHour',
subLabel:
- 'By default, DevLake uses dynamic rate limit for optimized data collection for BitBucket. But you can adjust the collection speed by entering a fixed value.',
+ 'By default, DevLake uses dynamic rate limit for optimized data collection for Bitbucket. But you can adjust the collection speed by entering a fixed value.',
learnMore: DOC_URL.PLUGIN.BITBUCKET.RATE_LIMIT,
externalInfo:
- 'The maximum rate limit for different entities in BitBucket Cloud is 60,000 or 1,000 requests/hour.',
+ 'The maximum rate limit for different entities in Bitbucket Cloud is 60,000 or 1,000 requests/hour.',
defaultValue: 1000,
},
],
diff --git a/config-ui/src/plugins/register/bitbucket/transformation.tsx b/config-ui/src/plugins/register/bitbucket/transformation.tsx
index 9e0bc4a79..40b2c5e38 100644
--- a/config-ui/src/plugins/register/bitbucket/transformation.tsx
+++ b/config-ui/src/plugins/register/bitbucket/transformation.tsx
@@ -198,11 +198,11 @@ const renderCollapseItems = ({
<ExternalLink link={DOC_URL.PLUGIN.BITBUCKET.TRANSFORMATION}>Learn more</ExternalLink>
</p>
<Checkbox disabled checked>
- <span>Convert a BitBucket Deployment to a DevLake Deployment</span>
+ <span>Convert a Bitbucket Deployment to a DevLake Deployment</span>
<HelpTooltip content={<img src={ExampleJpg} alt="" width={400} />} />
</Checkbox>
<Checkbox checked={useCustom} onChange={onChangeUseCustom}>
- Convert a BitBucket Pipeline to a DevLake Deployment when its branch/tag name
+ Convert a Bitbucket Pipeline to a DevLake Deployment when its branch/tag name
</Checkbox>
<div style={{ margin: '8px 0', paddingLeft: 28 }}>
<span>matches</span>
@@ -219,7 +219,7 @@ const renderCollapseItems = ({
}
/>
<span>.</span>
- <HelpTooltip content="View your BitBucket Pipelines: https://support.atlassian.com/bitbucket-cloud/docs/view-your-pipeline/" />
+ <HelpTooltip content="View your Bitbucket Pipelines: https://support.atlassian.com/bitbucket-cloud/docs/view-your-pipeline/" />
</div>
<div style={{ margin: '8px 0', paddingLeft: 28 }}>
<span>If the name also matches</span>