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 2023/10/10 01:40:29 UTC
[incubator-devlake] 01/01: feat(config-ui): add docs for v0.20
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch feat-v0.20-docs
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 576e69ed71e11de8ed9aa01b05aeed72941283fb
Author: mintsweet <0x...@gmail.com>
AuthorDate: Tue Oct 10 14:40:11 2023 +1300
feat(config-ui): add docs for v0.20
---
config-ui/src/release/index.ts | 2 +-
config-ui/src/release/v0.20.ts | 114 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 115 insertions(+), 1 deletion(-)
diff --git a/config-ui/src/release/index.ts b/config-ui/src/release/index.ts
index 613442d56..96899bd04 100644
--- a/config-ui/src/release/index.ts
+++ b/config-ui/src/release/index.ts
@@ -16,4 +16,4 @@
*
*/
-export { default as DOC_URL } from './v0.19';
+export { default as DOC_URL } from './v0.20';
diff --git a/config-ui/src/release/v0.20.ts b/config-ui/src/release/v0.20.ts
new file mode 100644
index 000000000..54a450a66
--- /dev/null
+++ b/config-ui/src/release/v0.20.ts
@@ -0,0 +1,114 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ */
+
+const URLS = {
+ TUTORIAL: 'https://devlake.apache.org/docs/v0.20/Configuration/Tutorial',
+ ADVANCED_MODE: {
+ EXAMPLES: 'https://devlake.apache.org/docs/v0.20/Configuration/AdvancedMode/#examples',
+ },
+ DORA: 'https://devlake.apache.org/docs/v0.20/DORA/',
+ PLUGIN: {
+ AZUREDEVOPS: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/AzureDevOps',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/AzureDevOps/#custom-rate-limit-optional',
+ AUTH_TOKEN: 'https://devlake.apache.org/docs/v0.20/Configuration/AzureDevOps#auth-tokens',
+ TRANSFORMATION:
+ 'https://devlake.apache.org/docs/v0.20/Configuration/AzureDevOps#step-3---adding-transformation-rules-optional',
+ },
+ BAMBOO: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/Bamboo',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/Bamboo/#custom-rate-limit-optional',
+ TRANSFORMATION:
+ 'https://devlake.apache.org/docs/v0.20/Configuration/Bamboo#step-3---adding-transformation-rules-optional',
+ },
+ BITBUCKET: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/BitBucket',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/BitBucket#fixed-rate-limit-optional',
+ TRANSFORMATION:
+ 'https://devlake.apache.org/docs/v0.20/Configuration/BitBucket#step-3---adding-transformation-rules-optional',
+ },
+ GITHUB: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/GitHub',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/GitHub#fixed-rate-limit-optional',
+ AUTH_TOKEN: 'https://devlake.apache.org/docs/v0.20/Configuration/GitHub#auth-tokens',
+ TRANSFORMATION:
+ 'https://devlake.apache.org/docs/v0.20/Configuration/GitHub#step-3---adding-transformation-rules-optional',
+ },
+ GITLAB: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/GitLab',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/GitLab#fixed-rate-limit-optional',
+ AUTH_TOKEN: 'https://devlake.apache.org/docs/v0.20/Configuration/GitLab#auth-tokens',
+ TRANSFORMATION:
+ 'https://devlake.apache.org/docs/v0.20/Configuration/GitLab#step-3---adding-transformation-rules-optional',
+ },
+ JENKINS: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/Jenkins',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/Jenkins#fixed-rate-limit-optional',
+ TRANSFORMATION:
+ 'https://devlake.apache.org/docs/v0.20/Configuration/Jenkins#step-3---adding-transformation-rules-optional',
+ },
+ JIRA: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/Jira',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/Jira#fixed-rate-limit-optional',
+ API_TOKEN: 'https://devlake.apache.org/docs/v0.20/Configuration/Jira#api-token',
+ PERSONAL_ACCESS_TOKEN: 'https://devlake.apache.org/docs/v0.20/Configuration/Jira#personal-access-token',
+ TRANSFORMATION:
+ 'https://devlake.apache.org/docs/v0.20/Configuration/Jira#step-3---adding-transformation-rules-optional',
+ },
+ PAGERDUTY: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/PagerDuty',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/PagerDuty/#custom-rate-limit-optional',
+ },
+ SONARQUBE: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/SonarQube',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/SonarQube/#custom-rate-limit-optional',
+ },
+ TAPD: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/Tapd',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/Tapd#fixed-rate-limit-optional',
+ USERNAMEPASSWORD: 'https://devlake.apache.org/docs/v0.20/Configuration/Tapd/#usernamepassword',
+ TRANSFORMATION:
+ 'https://devlake.apache.org/docs/v0.20/Configuration/Tapd#step-3---adding-transformation-rules-optional',
+ },
+ TEAMBITION: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/Teambition',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/Teambition#ralte-limit-optional',
+ },
+ WEBHOOK: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/webhook',
+ },
+ ZENTAO: {
+ BASIS: 'https://devlake.apache.org/docs/v0.20/Configuration/Teambition',
+ RATE_LIMIT: 'https://devlake.apache.org/docs/v0.20/Configuration/Teambition#ralte-limit-optional',
+ },
+ REFDIFF: 'https://devlake.apache.org/docs/v0.20/Plugins/refdiff',
+ },
+ METRICS: {
+ BUG_AGE: 'https://devlake.apache.org/docs/v0.20/Metrics/BugAge',
+ MTTR: 'https://devlake.apache.org/docs/v0.20/Metrics/MTTR',
+ BUG_COUNT_PER_1K_LINES_OF_CODE: 'https://devlake.apache.org/docs/v0.20/Metrics/BugCountPer1kLinesOfCode',
+ REQUIREMENT_LEAD_TIME: 'https://devlake.apache.org/docs/v0.20/Metrics/RequirementLeadTime',
+ },
+ DATA_MODELS: {
+ DEVLAKE_DOMAIN_LAYER_SCHEMA: {
+ PULL_REQUEST: 'https://devlake.apache.org/docs/v0.20/DataModels/DevLakeDomainLayerSchema/#pull-request',
+ },
+ },
+};
+
+export default URLS;